Class io.micronaut.http.uri.UriMatchTemplateSpec

57

tests

0

failures

0

ignored

0.067s

duration

100%

successful

Tests

Test Duration Result
Test URI template matches 0.008s passed
Test URI template matches /authors/2 when nested with /authors{/authorId} 0s passed
Test URI template / matches 0.001s passed
Test URI template / matches / 0s passed
Test URI template / matches /authors/2 when nested with /authors{/authorId} 0.014s passed
Test URI template /book/show{/id} matches /book/1 0s passed
Test URI template /book/show{/id} matches /book/show/1 0s passed
Test URI template /books/{id:2} matches /books/1 0s passed
Test URI template /books/{id:2} matches /books/100 0.001s passed
Test URI template /books/{id:\d+} matches /books 0s passed
Test URI template /books/{id:\d+} matches /books/101 0s passed
Test URI template /books/{id:\d+} matches /books/test 0.001s passed
Test URI template /books/{id} matches /books 0s passed
Test URI template /books/{id} matches /books/1 0s passed
Test URI template /books/{id} matches /books/test 0s passed
Test URI template /books{#hashtag} matches /books 0s passed
Test URI template /books{/action}{/id:2} matches /books/show/1 0s passed
Test URI template /books{/action}{/id:2} matches /books/show/100 0s passed
Test URI template /books{/action}{/id:?} matches /books/show 0s passed
Test URI template /books{/action}{/id:?} matches /books/show/1 0s passed
Test URI template /books{/id:?} matches /books 0s passed
Test URI template /books{/id:?} matches /books/ 0.001s passed
Test URI template /books{/id:?}{.ext:?} matches /books 0s passed
Test URI template /books{/id} matches /books/1/authors/2 when nested with /authors{/authorId} 0.001s passed
Test URI template /books{/id}/authors{/authorId} matches /books/1/authors/2 0s passed
Test URI template /books{/id}{.ext:?} matches /books/1 0s passed
Test URI template /books{/id}{.ext:?} matches /books/1 0s passed
Test URI template /books{/id}{.ext:?} matches /books/1.xml 0s passed
Test URI template /books{/id}{.ext} matches /books/1 0.001s passed
Test URI template /books{/id}{.ext} matches /books/1.xml 0s passed
Test URI template /books{/path:.*?}{.ext:?} matches /books/foo/bar.xml 0.004s passed
Test URI template /books{/path:.*} matches /books 0.001s passed
Test URI template /books{/path:.*} matches /books/foo/bar 0.001s passed
Test URI template /books{/path:.*}{.ext:?} matches /books/foo/bar 0.004s passed
Test URI template /books{/path:.*}{.ext:xml} matches /books/foo/bar.json 0.001s passed
Test URI template /books{/path:.*}{.ext:xml} matches /books/foo/bar.xml 0.001s passed
Test URI template /books{/path:.*}{.ext} matches /books/foo/bar.xml 0s passed
Test URI template /books{?max,offset} matches /books 0s passed
Test URI template /books{?max,offset} matches /books?foo=bar 0s passed
Test URI template /books{?max,offset} matches /books?max=10 0s passed
Test URI template /books{?max,offset} matches /books?max=10&offset=100 0.001s passed
Test URI template /books{?max,offset} matches /books?offset=100 0s passed
Test URI template /book{/action:[a-zA-Z]+}{/id} matches /book 0.009s passed
Test URI template /book{/action:[a-zA-Z]+}{/id} matches /book/1 0.001s passed
Test URI template /book{/action:[a-zA-Z]+}{/id} matches /book/show 0s passed
Test URI template /book{/action:[a-zA-Z]+}{/id} matches /book/show/1 0s passed
Test URI template /book{/action}{/id} matches /book/1 0s passed
Test URI template /book{/action}{/id} matches /book/show/1 0.001s passed
Test URI template /book{/id} matches /book 0s passed
Test URI template /book{/id} matches /book/1 0s passed
test compareTo for / and / 0.001s passed
test compareTo for / and /book 0s passed
test compareTo for /book and /{name} 0.005s passed
test compareTo for /book/foo and /book 0.001s passed
test compareTo for /book/{name} and /book 0.001s passed
test compareTo for /book/{name} and /book/test 0s passed
test compareTo for /book/{name} and /book/{test} 0.007s passed