Annotation of parser3/tests/results/388-sql.processed, revision 1.2
1.1 moko 1: Content-Type: text/html
1.2 ! moko 2: Content-Length: 2755
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: ]
77: 6. file
78: 6.1 {
79: "class":"file",
80: "name":"test.txt",
81: "size":6,
82: "mode":"binary",
83: "content-type":"text\/plain",
84: "text":"'very'"
85: }
86: 6.2 {
87: "class":"file",
88: "name":"unknown",
89: "size":7,
90: "mode":"binary",
91: "content-type":"unknown",
92: "text":"\"never\""
93: }
94: 6.3 Type: parser.runtime,
95: Source: sqlite://****,
96: Comment: result must contain not more then 3 columns
97: 6.4 Type: parser.runtime,
98: Source: sql,
99: Comment: produced no result
100: 6.5 {
101: "class":"file",
102: "name":"1",
103: "size":1,
104: "mode":"binary",
105: "content-type":"1",
106: "text":"1"
107: } - bug!
108: 6.6 Type: parser.runtime,
109: Source: sqlite://****,
110: Comment: result must not contain more then one row, three columns
111: 6.7 Type: parser.runtime,
112: Source: sql,
113: Comment: called with invalid option
114: 6.8 "''test''"
1.2 ! moko 115: 7. string
! 116: 7.1 Type: parser.runtime,
! 117: Source: sqlite://****,
! 118: Comment: result must contain exactly one column
! 119: 7.2 Type: parser.runtime,
! 120: Source: sqlite://****,
! 121: Comment: result must not contain more then one row
! 122: 7.3 Type: sql.execute,
! 123: Source: select 2+2,
! 124: Comment: bind variables not supported yet
! 125: 7.4 Type: parser.runtime,
! 126: Source: sql,
! 127: Comment: called with invalid option
! 128: 7.5 Type: parser.runtime,
! 129: Source: sql,
! 130: Comment: produced no result, but no default option specified
! 131: 7.6 "default"
E-mail: