Annotation of parser3/tests/results/388-sql.processed, revision 1.3
1.1 moko 1: Content-Type: text/html
1.3 ! moko 2: Content-Length: 2923
1.1 moko 3:
4: 1. 2 + 2 = 4
5: 2. void
6: 2.1 2.2 2.3 Type: parser.runtime,
7: Source: sqlite://****,
8: Comment: must return nothing
9: 2.4 Type: parser.runtime,
10: Source: sql,
11: Comment: called with invalid option
12: 2.5 Type: sql.execute,
13: Source: query,
14: Comment: bind variables not supported yet
15: 3. int/double
16: 3.1 2 int
17: 3.2 Type: parser.runtime,
18: Source: sql,
19: Comment: produced no result, but no default option specified
20: 3.3 1
21: 3.4 -2 double
22: 3.5 Type: parser.runtime,
23: Source: sql,
24: Comment: produced no result, but no default option specified
25: 3.6 1
26: 4. hash
27: 4.1 {
28: "cat":{
29: "food":"milk",
30: "aggressive":"'very'",
31: "weigth":"5"
32: },
33: "dog":{
34: "food":"bone",
35: "aggressive":"\"never\"",
36: "weigth":"10"
37: },
38: "parrot":{
39: "food":"grain",
40: "aggressive":"alwayws",
41: "weigth":"1"
42: }
43: }
44: 4.2 {
45: "cat":[
46: {"pet":"cat","food":"milk","aggressive":"'very'","weigth":"5"}
47: ],
48: "dog":[
49: {"pet":"dog","food":"bone","aggressive":"\"never\"","weigth":"10"}
50: ],
51: "parrot":[
52: {"pet":"parrot","food":"grain","aggressive":"alwayws","weigth":"1"}
53: ]
54: }
55: 4.3 {
56: "cat":"milk",
57: "dog":"bone",
58: "parrot":"grain"
59: }
60: 4.4 Type: parser.runtime,
61: Source: sqlite://****,
62: Comment: only 2 columns allowed for $.type[string].
63: 4.5. {
64: "dog":[
65: {"pet":"dog","food":"bone","aggressive":"\"never\"","weigth":"10"}
66: ]
67: }
68: 5. table
69: 5.1 [
70: {"pet":"cat","food":"milk","aggressive":"'very'","weigth":"5"},
71: {"pet":"dog","food":"bone","aggressive":"\"never\"","weigth":"10"},
72: {"pet":"parrot","food":"grain","aggressive":"alwayws","weigth":"1"}
73: ]
74: 5.2. [
75: {"pet":"dog","food":"bone","aggressive":"\"never\"","weigth":"10"}
76: ]
1.3 ! moko 77: 5.3 Type: sql.execute,
! 78: Source: select * from pets,
! 79: Comment: bind variables not supported yet
! 80: 5.4 Type: parser.runtime,
! 81: Source: sql,
! 82: Comment: called with invalid option
1.1 moko 83: 6. file
84: 6.1 {
85: "class":"file",
86: "name":"test.txt",
87: "size":6,
88: "mode":"binary",
89: "content-type":"text\/plain",
90: "text":"'very'"
91: }
92: 6.2 {
93: "class":"file",
94: "name":"unknown",
95: "size":7,
96: "mode":"binary",
97: "content-type":"unknown",
98: "text":"\"never\""
99: }
100: 6.3 Type: parser.runtime,
101: Source: sqlite://****,
102: Comment: result must contain not more then 3 columns
103: 6.4 Type: parser.runtime,
104: Source: sql,
105: Comment: produced no result
106: 6.5 {
107: "class":"file",
108: "name":"1",
109: "size":1,
110: "mode":"binary",
111: "content-type":"1",
112: "text":"1"
113: } - bug!
114: 6.6 Type: parser.runtime,
115: Source: sqlite://****,
116: Comment: result must not contain more then one row, three columns
117: 6.7 Type: parser.runtime,
118: Source: sql,
119: Comment: called with invalid option
120: 6.8 "''test''"
1.2 moko 121: 7. string
122: 7.1 Type: parser.runtime,
123: Source: sqlite://****,
124: Comment: result must contain exactly one column
125: 7.2 Type: parser.runtime,
126: Source: sqlite://****,
127: Comment: result must not contain more then one row
128: 7.3 Type: sql.execute,
129: Source: select 2+2,
130: Comment: bind variables not supported yet
131: 7.4 Type: parser.runtime,
132: Source: sql,
133: Comment: called with invalid option
134: 7.5 Type: parser.runtime,
135: Source: sql,
136: Comment: produced no result, but no default option specified
137: 7.6 "default"
E-mail: