You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
104 lines
1.6 KiB
104 lines
1.6 KiB
1 year ago
|
---
|
||
|
test case: Success '/host/key?[filter]'
|
||
|
in:
|
||
|
query: '/host/key?[filter]'
|
||
|
out:
|
||
|
host: 'host'
|
||
|
key: 'key'
|
||
|
filter: 'filter'
|
||
|
---
|
||
|
test case: Success '/*/*'
|
||
|
in:
|
||
|
query: '/*/*'
|
||
|
out:
|
||
|
host: '*'
|
||
|
key: '*'
|
||
|
filter: ''
|
||
|
---
|
||
|
test case: Success '//*?[group="a"]'
|
||
|
in:
|
||
|
query: '//*?[group="a"]'
|
||
|
out:
|
||
|
host: ''
|
||
|
key: '*'
|
||
|
filter: 'group="a"'
|
||
|
---
|
||
|
test case: Success '/host/key[]?[group="a"]'
|
||
|
in:
|
||
|
query: '/host/key[]?[group="a"]'
|
||
|
out:
|
||
|
host: 'host'
|
||
|
key: 'key[]'
|
||
|
filter: 'group="a"'
|
||
|
---
|
||
|
test case: Success '/h o s t/key[?, "[]"]?[group="\"a\""]'
|
||
|
in:
|
||
|
query: '/h o s t/key[?, "[]"]?[group="\"a\""]'
|
||
|
out:
|
||
|
host: 'h o s t'
|
||
|
key: 'key[?, "[]"]'
|
||
|
filter: 'group="\"a\""'
|
||
|
---
|
||
|
test case: Success '/{HOST.HOST}/key'
|
||
|
in:
|
||
|
query: '/{HOST.HOST}/key'
|
||
|
out:
|
||
|
host: '{HOST.HOST}'
|
||
|
key: 'key'
|
||
|
filter: ''
|
||
|
---
|
||
|
test case: Success '/{HOST.HOST}/{ITEM.KEY}'
|
||
|
in:
|
||
|
query: '/{HOST.HOST}/{ITEM.KEY}'
|
||
|
out:
|
||
|
host: '{HOST.HOST}'
|
||
|
key: '{ITEM.KEY}'
|
||
|
filter: ''
|
||
|
---
|
||
|
test case: Success '/host/{ITEM.KEY}'
|
||
|
in:
|
||
|
query: '/host/{ITEM.KEY}'
|
||
|
out:
|
||
|
host: 'host'
|
||
|
key: '{ITEM.KEY}'
|
||
|
filter: ''
|
||
|
---
|
||
|
test case: Success '/{HOST.HOST1}/{ITEM.KEY1}'
|
||
|
in:
|
||
|
query: '/{HOST.HOST1}/{ITEM.KEY1}'
|
||
|
out:
|
||
|
host: '{HOST.HOST1}'
|
||
|
key: '{ITEM.KEY1}'
|
||
|
filter: ''
|
||
|
---
|
||
|
test case: Failure '/*/*?'
|
||
|
in:
|
||
|
query: '/*/*?'
|
||
|
out:
|
||
|
key: ''
|
||
|
---
|
||
|
test case: Failure '/*/*?['
|
||
|
in:
|
||
|
query: '/*/*?['
|
||
|
out:
|
||
|
key: ''
|
||
|
---
|
||
|
test case: Failure '/*/*['
|
||
|
in:
|
||
|
query: '/*/*['
|
||
|
out:
|
||
|
key: ''
|
||
|
---
|
||
|
test case: Failure '/{HOST.HOST/key'
|
||
|
in:
|
||
|
query: '/{HOST.HOST/key'
|
||
|
out:
|
||
|
key: ''
|
||
|
---
|
||
|
test case: Failure '/{HOST.HOST}/{ITEM.KEY'
|
||
|
in:
|
||
|
query: '/{HOST.HOST}/{ITEM.KEY'
|
||
|
out:
|
||
|
key: ''
|
||
|
...
|