hexagon_http / com.hexagonkt.http / PathTest

PathTest

class PathTest

TODO Check that URLs with blank parameters are not matched. Ie: /alpha/{param}/bravo is not matched by /alpha//bravo

Constructors

<init>

TODO Check that URLs with blank parameters are not matched. Ie: /alpha/{param}/bravo is not matched by /alpha//bravo

PathTest()

Functions

A path with parameters have regex and params table

fun A path with parameters have regex and params table(): Unit

A path without parameters do not have regex neither params table

fun A path without parameters do not have regex neither params table(): Unit

Create an url with path

fun Create an url with path(): Unit

Extract parameter from a non matching url fails

fun Extract parameter from a non matching url fails(): Unit

Invalid path parameters

fun Invalid path parameters(): Unit

Path with a wildcard resolve parameters properly

fun Path with a wildcard resolve parameters properly(): Unit

Path with many wildcards resolve parameters properly

fun Path with many wildcards resolve parameters properly(): Unit

Path with wildcards can not create url

fun Path with wildcards can not create url(): Unit

Segments of a path are split correctly

fun Segments of a path are split correctly(): Unit