Skip to content

Commit 506f1c9

Browse files
committed
add nan cases
1 parent bb16d1e commit 506f1c9

File tree

1 file changed

+73
-70
lines changed

1 file changed

+73
-70
lines changed

provider/testdata/parameter_table.md

+73-70
Original file line numberDiff line numberDiff line change
@@ -1,70 +1,73 @@
1-
| Name | Type | Input | Default | Options | Validation | -> | Output | Optional | Error |
2-
|----------------------|---------------|-----------|---------|-------------------|------------|----|--------|----------|--------------|
3-
| | Empty Vals | | | | | | | | |
4-
| Empty | string,number | | | | | | "" | false | |
5-
| EmptyList | list(string) | | | | | | "" | false | |
6-
| EmptyMulti | tag-select | | | | | | "" | false | |
7-
| EmptyOpts | string,number | | | 1,2,3 | | | "" | false | |
8-
| EmptyRegex | string | | | | world | | | | regex error |
9-
| EmptyMin | number | | | | 1-10 | | | | 1 < < 10 |
10-
| EmptyMinOpt | number | | | 1,2,3 | 2-5 | | | | 2 < < 5 |
11-
| EmptyRegexOpt | string | | | "hello","goodbye" | goodbye | | | | regex error |
12-
| EmptyRegexOk | string | | | | .* | | "" | false | |
13-
| | | | | | | | | | |
14-
| | Default Set | No inputs | | | | | | | |
15-
| NumDef | number | | 5 | | | | 5 | true | |
16-
| NumDefVal | number | | 5 | | 3-7 | | 5 | true | |
17-
| NumDefInv | number | | 5 | | 10- | | | | 10 < 5 < 0 |
18-
| NumDefOpts | number | | 5 | 1,3,5,7 | 2-6 | | 5 | true | |
19-
| NumDefNotOpts | number | | 5 | 1,3,7,9 | 2-6 | | | | valid option |
20-
| NumDefInvOpt | number | | 5 | 1,3,5,7 | 6-10 | | | | 6 < 5 < 10 |
21-
| | | | | | | | | | |
22-
| StrDef | string | | hello | | | | hello | true | |
23-
| StrDefInv | string | | hello | | world | | | | regex error |
24-
| StrDefOpts | string | | a | a,b,c | | | a | true | |
25-
| StrDefNotOpts | string | | a | b,c,d | | | | | valid option |
26-
| StrDefValOpts | string | | a | a,b,c,d,e,f | [a-c] | | a | true | |
27-
| StrDefInvOpt | string | | d | a,b,c,d,e,f | [a-c] | | | | regex error |
28-
| | | | | | | | | | |
29-
| LStrDef | list(string) | | ["a"] | | | | ["a"] | true | |
30-
| LStrDefOpts | list(string) | | ["a"] | ["a"], ["b"] | | | ["a"] | true | |
31-
| LStrDefNotOpts | list(string) | | ["a"] | ["b"], ["c"] | | | | | valid option |
32-
| | | | | | | | | | |
33-
| MulDef | tag-select | | ["a"] | | | | ["a"] | true | |
34-
| MulDefOpts | multi-select | | ["a"] | a,b | | | ["a"] | true | |
35-
| MulDefNotOpts | multi-select | | ["a"] | b,c | | | | | valid option |
36-
| | | | | | | | | | |
37-
| | Input Vals | | | | | | | | |
38-
| NumIns | number | 3 | | | | | 3 | false | |
39-
| NumInsDef | number | 3 | 5 | | | | 3 | true | |
40-
| NumIns/DefInv | number | 3 | 5 | | 1-3 | | 3 | true | |
41-
| NumIns=DefInv | number | 5 | 5 | | 1-3 | | | | 1 < 5 < 3 |
42-
| NumInsOpts | number | 3 | 5 | 1,2,3,4,5 | 1-3 | | 3 | true | |
43-
| NumInsNotOptsVal | number | 3 | 5 | 1,2,4,5 | 1-3 | | | | valid option |
44-
| NumInsNotOptsInv | number | 3 | 5 | 1,2,4,5 | 1-2 | | | true | 1 < 3 < 2 |
45-
| NumInsNotOpts | number | 3 | 5 | 1,2,4,5 | | | | | valid option |
46-
| NumInsNotOpts/NoDef | number | 3 | | 1,2,4,5 | | | | | valid option |
47-
| | | | | | | | | | |
48-
| StrIns | string | c | | | | | c | false | |
49-
| StrInsDef | string | c | e | | | | c | true | |
50-
| StrIns/DefInv | string | c | e | | [a-c] | | c | true | |
51-
| StrIns=DefInv | string | e | e | | [a-c] | | | | regex error |
52-
| StrInsOpts | string | c | e | a,b,c,d,e | [a-c] | | c | true | |
53-
| StrInsNotOptsVal | string | c | e | a,b,d,e | [a-c] | | | | valid option |
54-
| StrInsNotOptsInv | string | c | e | a,b,d,e | [a-b] | | | | regex error |
55-
| StrInsNotOpts | string | c | e | a,b,d,e | | | | | valid option |
56-
| StrInsNotOpts/NoDef | string | c | | a,b,d,e | | | | | valid option |
57-
| StrInsBadVal | string | c | | a,b,c,d,e | 1-10 | | | | min cannot |
58-
| | | | | | | | | | |
59-
| | list(string) | | | | | | | | |
60-
| LStrIns | list(string) | ["c"] | | | | | ["c"] | false | |
61-
| LStrInsDef | list(string) | ["c"] | ["e"] | | | | ["c"] | true | |
62-
| LStrIns/DefInv | list(string) | ["c"] | ["e"] | | [a-c] | | | | regex cannot |
63-
| LStrInsOpts | list(string) | ["c"] | ["e"] | ["c"],["d"],["e"] | | | ["c"] | true | |
64-
| LStrInsNotOpts | list(string) | ["c"] | ["e"] | ["d"],["e"] | | | | | valid option |
65-
| LStrInsNotOpts/NoDef | list(string) | ["c"] | | ["d"],["e"] | | | | | valid option |
66-
| | | | | | | | | | |
67-
| MulInsOpts | multi-select | ["c"] | ["e"] | c,d,e | | | ["c"] | true | |
68-
| MulInsNotOpts | multi-select | ["c"] | ["e"] | d,e | | | | | valid option |
69-
| MulInsNotOpts/NoDef | multi-select | ["c"] | | d,e | | | | | valid option |
70-
| MulInsInvOpts | multi-select | ["c"] | ["e"] | c,d,e | [a-c] | | | | regex cannot |
1+
| Name | Type | Input | Default | Options | Validation | -> | Output | Optional | Error |
2+
|----------------------|---------------|-----------|---------|-------------------|------------|----|--------|----------|---------------|
3+
| | Empty Vals | | | | | | | | |
4+
| Empty | string,number | | | | | | "" | false | |
5+
| EmptyList | list(string) | | | | | | "" | false | |
6+
| EmptyMulti | tag-select | | | | | | "" | false | |
7+
| EmptyOpts | string,number | | | 1,2,3 | | | "" | false | |
8+
| EmptyRegex | string | | | | world | | | | regex error |
9+
| EmptyMin | number | | | | 1-10 | | | | 1 < < 10 |
10+
| EmptyMinOpt | number | | | 1,2,3 | 2-5 | | | | 2 < < 5 |
11+
| EmptyRegexOpt | string | | | "hello","goodbye" | goodbye | | | | regex error |
12+
| EmptyRegexOk | string | | | | .* | | "" | false | |
13+
| | | | | | | | | | |
14+
| | Default Set | No inputs | | | | | | | |
15+
| NumDef | number | | 5 | | | | 5 | true | |
16+
| NumDefNaN | number | | a | | | | | | type "number" |
17+
| NumDefVal | number | | 5 | | 3-7 | | 5 | true | |
18+
| NumDefInv | number | | 5 | | 10- | | | | 10 < 5 < 0 |
19+
| NumDefOpts | number | | 5 | 1,3,5,7 | 2-6 | | 5 | true | |
20+
| NumDefNotOpts | number | | 5 | 1,3,7,9 | 2-6 | | | | valid option |
21+
| NumDefInvOpt | number | | 5 | 1,3,5,7 | 6-10 | | | | 6 < 5 < 10 |
22+
| | | | | | | | | | |
23+
| StrDef | string | | hello | | | | hello | true | |
24+
| StrDefInv | string | | hello | | world | | | | regex error |
25+
| StrDefOpts | string | | a | a,b,c | | | a | true | |
26+
| StrDefNotOpts | string | | a | b,c,d | | | | | valid option |
27+
| StrDefValOpts | string | | a | a,b,c,d,e,f | [a-c] | | a | true | |
28+
| StrDefInvOpt | string | | d | a,b,c,d,e,f | [a-c] | | | | regex error |
29+
| | | | | | | | | | |
30+
| LStrDef | list(string) | | ["a"] | | | | ["a"] | true | |
31+
| LStrDefOpts | list(string) | | ["a"] | ["a"], ["b"] | | | ["a"] | true | |
32+
| LStrDefNotOpts | list(string) | | ["a"] | ["b"], ["c"] | | | | | valid option |
33+
| | | | | | | | | | |
34+
| MulDef | tag-select | | ["a"] | | | | ["a"] | true | |
35+
| MulDefOpts | multi-select | | ["a"] | a,b | | | ["a"] | true | |
36+
| MulDefNotOpts | multi-select | | ["a"] | b,c | | | | | valid option |
37+
| | | | | | | | | | |
38+
| | Input Vals | | | | | | | | |
39+
| NumIns | number | 3 | | | | | 3 | false | |
40+
| NumInsOptsNaN | number | 3 | 5 | a,1,2,3,4,5 | 1-3 | | 3 | true | type "number" |
41+
| NumInsNaN | number | a | | | | | | | type "number" |
42+
| NumInsDef | number | 3 | 5 | | | | 3 | true | |
43+
| NumIns/DefInv | number | 3 | 5 | | 1-3 | | 3 | true | |
44+
| NumIns=DefInv | number | 5 | 5 | | 1-3 | | | | 1 < 5 < 3 |
45+
| NumInsOpts | number | 3 | 5 | 1,2,3,4,5 | 1-3 | | 3 | true | |
46+
| NumInsNotOptsVal | number | 3 | 5 | 1,2,4,5 | 1-3 | | | | valid option |
47+
| NumInsNotOptsInv | number | 3 | 5 | 1,2,4,5 | 1-2 | | | true | 1 < 3 < 2 |
48+
| NumInsNotOpts | number | 3 | 5 | 1,2,4,5 | | | | | valid option |
49+
| NumInsNotOpts/NoDef | number | 3 | | 1,2,4,5 | | | | | valid option |
50+
| | | | | | | | | | |
51+
| StrIns | string | c | | | | | c | false | |
52+
| StrInsDef | string | c | e | | | | c | true | |
53+
| StrIns/DefInv | string | c | e | | [a-c] | | c | true | |
54+
| StrIns=DefInv | string | e | e | | [a-c] | | | | regex error |
55+
| StrInsOpts | string | c | e | a,b,c,d,e | [a-c] | | c | true | |
56+
| StrInsNotOptsVal | string | c | e | a,b,d,e | [a-c] | | | | valid option |
57+
| StrInsNotOptsInv | string | c | e | a,b,d,e | [a-b] | | | | regex error |
58+
| StrInsNotOpts | string | c | e | a,b,d,e | | | | | valid option |
59+
| StrInsNotOpts/NoDef | string | c | | a,b,d,e | | | | | valid option |
60+
| StrInsBadVal | string | c | | a,b,c,d,e | 1-10 | | | | min cannot |
61+
| | | | | | | | | | |
62+
| | list(string) | | | | | | | | |
63+
| LStrIns | list(string) | ["c"] | | | | | ["c"] | false | |
64+
| LStrInsDef | list(string) | ["c"] | ["e"] | | | | ["c"] | true | |
65+
| LStrIns/DefInv | list(string) | ["c"] | ["e"] | | [a-c] | | | | regex cannot |
66+
| LStrInsOpts | list(string) | ["c"] | ["e"] | ["c"],["d"],["e"] | | | ["c"] | true | |
67+
| LStrInsNotOpts | list(string) | ["c"] | ["e"] | ["d"],["e"] | | | | | valid option |
68+
| LStrInsNotOpts/NoDef | list(string) | ["c"] | | ["d"],["e"] | | | | | valid option |
69+
| | | | | | | | | | |
70+
| MulInsOpts | multi-select | ["c"] | ["e"] | c,d,e | | | ["c"] | true | |
71+
| MulInsNotOpts | multi-select | ["c"] | ["e"] | d,e | | | | | valid option |
72+
| MulInsNotOpts/NoDef | multi-select | ["c"] | | d,e | | | | | valid option |
73+
| MulInsInvOpts | multi-select | ["c"] | ["e"] | c,d,e | [a-c] | | | | regex cannot |

0 commit comments

Comments
 (0)