Skip to content

Commit 2187258

Browse files
committed
[#300] Add example for missing path segments
Updated the examples in the UUri serialization feature with some additional erroneous URIs to extend coverage.
1 parent d6a3c36 commit 2187258

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

basics/uuri_uri_serialization.feature

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,10 @@ Feature: String representation of endpoint identfiers (UUri)
7070
| "//" | not a URI |
7171
| "//vcu.my_vin" | just an authority |
7272
| "//VCU" | authority with uppercase characters |
73-
| "////1/A1FB" | missing authority and entity |
74-
| "/////A1FB" | missing authority, entity and version |
73+
| "//vcu.my_vin//1/A1FB" | missing entity ID |
74+
| "//vcu.my_vin/101//A1FB" | missing version |
75+
| "//vcu.my_vin/101/1/" | missing resource ID |
76+
| "up://vcu.my_vin/101/1/A/unexpected" | too many path segments |
7577
| "xy://vcu.my_vin/101/1/A" | unsupported schema |
7678
| "//vcu.my_vin/101/1/A?foo=bar" | URI with query |
7779
| "//vcu.my_vin/101/1/A#foo" | URI with fragment |

0 commit comments

Comments
 (0)