-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathown-testcases.json
73 lines (72 loc) · 1.98 KB
/
own-testcases.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
{
"Jira bug #1" : {
"comment": "tests, whether the '://' can be passed",
"level": 1,
"variables": {
"q": "val"
},
"testcases" : [
["http://localhost:8080/api/search{?q}", "http://localhost:8080/api/search?q=val"]
]
},
"Allowed characters": {
"level": 3,
"variables": {
"dot": "dot"
},
"testcases": [
["{?.dot}", false],
["{a,.b}", false]
]
},
"Prefix modifiers and exploded": {
"level": 4,
"variables": {
"text": "I like octal numbers",
"emptyObject": {},
"filledObject": {"composite": "true"},
"emptyArr": [],
"filledArr": [1]
},
"testcases": [
["{text:0}", false],
["{text:08}", false],
["{text:8}", "I%20like%20o"],
["{text:9999}", "I%20like%20octal%20numbers"],
["{text:10000}", false],
["{text:1.0}", false],
["{text:1e+2}", false],
["{text:9876543210987654321098765432109876543210}", false],
["{emptyObject:1}", ""],
["{filledObject:1}", false],
["{emptyArr:1}", ""],
["{filledArr:1}", false],
["{text:1:1}", false],
["{?*}", false],
["{?:1}", false],
["{?a,:1}", false],
["{*}", false],
["{text**}", false],
["{text:1*}", false],
["{text*:1}", false]
]
},
"Prefix modifiers, next generation": {
"level": 4,
"variables": {
"bool": false,
"int": 123,
"float": 123.4,
"exp": 1.2e+3,
"null": null
},
"testcases": [
["{bool:1}", "f"],
["{int:1}", "1"],
["{float:1}", "1"],
["{exp:1}", "1"],
["{null:1}", ""],
["{null:1}", ""]
]
}
}