|
|
| version 1.1, 2017/12/06 01:51:26 | version 1.12, 2024/09/27 23:37:58 |
|---|---|
| Line 1 | Line 1 |
| Content-Type: text/html | Content-Type: text/html |
| Content-Length: 2274 | Content-Length: 4257 |
| 1. 2 + 2 = 4 | |
| 2. void | |
| 2.1 2.2 2.3 Type: parser.runtime, | |
| Source: sqlite://****, | |
| Comment: must return nothing | |
| 2.4 Type: parser.runtime, | |
| Source: sql, | |
| Comment: called with invalid option | |
| 2.5 Type: sql.execute, | |
| Source: query, | |
| Comment: bind variables not supported yet | 1. 2 + 2 = 4 |
| 3. int/double | |
| 3.1 2 int | |
| 3.2 Type: parser.runtime, | 2. void |
| Source: sql, | |
| Comment: produced no result, but no default option specified | 2.0 |
| 3.3 1 | |
| 3.4 -2 double | 2.1 |
| 3.5 Type: parser.runtime, | |
| Source: sql, | 2.2 |
| Comment: produced no result, but no default option specified | |
| 3.6 1 | 2.3 |
| 4. hash | |
| 4.1 { | Exception type: sql.execute, |
| Source: select * from pets, | |
| Comment: must return nothing | |
| 2.4 | |
| Exception type: parser.runtime, | |
| Source: sql, | |
| Comment: called with invalid option | |
| 2.5 | |
| Exception type: sql.execute, | |
| Source: query, | |
| Comment: bind variables not supported yet | |
| 2.6 Multiple queries: | |
| 2.8 Multiple queries, data in first query: | |
| Exception type: sql.execute, | |
| Source: select 2+2 ; delete from pets where pet='', | |
| Comment: must return nothing | |
| 2.9 Multiple queries, data in second query: | |
| Exception type: sql.execute, | |
| Source: delete from pets where pet='' ; select 2+2, | |
| Comment: must return nothing | |
| 3. int/double | |
| 3.1 2 int | |
| 3.2 | |
| Exception type: parser.runtime, | |
| Source: sql, | |
| Comment: produced no result, but no default option specified | |
| 3.3 1 | |
| 3.4 -2 double | |
| 3.5 | |
| Exception type: parser.runtime, | |
| Source: sql, | |
| Comment: produced no result, but no default option specified | |
| 3.6 1 | |
| 3.7 Multiple queries, data in first query: 4 | |
| 3.8 Multiple queries, data in second query: 4 | |
| 3.9 Multiple queries, data in both queries: | |
| Exception type: sql.execute, | |
| Source: select 2+2 ; select 3+3 , | |
| Comment: result must contain exactly one column | |
| 4. hash | |
| 4.1 | |
| { | |
| "cat":{ | "cat":{ |
| "food":"milk", | "food":"milk", |
| "aggressive":"'very'", | "aggressive":"'very'", |
| Line 41 Comment: produced no result, but no defa | Line 106 Comment: produced no result, but no defa |
| "weigth":"1" | "weigth":"1" |
| } | } |
| } | } |
| 4.2 { | |
| 4.2 | |
| { | |
| "cat":[ | "cat":[ |
| {"pet":"cat","food":"milk","aggressive":"'very'","weigth":"5"} | {"pet":"cat","food":"milk","aggressive":"'very'","weigth":"5"} |
| ], | ], |
| Line 52 Comment: produced no result, but no defa | Line 119 Comment: produced no result, but no defa |
| {"pet":"parrot","food":"grain","aggressive":"alwayws","weigth":"1"} | {"pet":"parrot","food":"grain","aggressive":"alwayws","weigth":"1"} |
| ] | ] |
| } | } |
| 4.3 { | |
| 4.3 | |
| { | |
| "cat":"milk", | "cat":"milk", |
| "dog":"bone", | "dog":"bone", |
| "parrot":"grain" | "parrot":"grain" |
| } | } |
| 4.4 Type: parser.runtime, | |
| Source: sqlite://****, | 4.4 |
| Comment: only 2 columns allowed for $.type[string]. | |
| 4.5. { | Exception type: sql.execute, |
| Source: select * from pets, | |
| Comment: only 2 columns allowed for $.type[string]. | |
| 4.5. | |
| { | |
| "dog":[ | "dog":[ |
| {"pet":"dog","food":"bone","aggressive":"\"never\"","weigth":"10"} | {"pet":"dog","food":"bone","aggressive":"\"never\"","weigth":"10"} |
| ] | ] |
| } | } |
| 5. table | |
| 5.1 [ | 4.6 |
| Exception type: sql.execute, | |
| Source: select 'dup', pet from pets, | |
| Comment: duplicate key | |
| 4.7 | |
| { | |
| "cat":true, | |
| "dog":true, | |
| "parrot":true | |
| } | |
| 4.8 | |
| { | |
| "0":[ | |
| {"key":"0","pet":"cat"}, | |
| {"key":"0","pet":"dog"}, | |
| {"key":"0","pet":"parrot"} | |
| ] | |
| } | |
| 4.9 | |
| { | |
| "0":"cat" | |
| } | |
| 5. table | |
| 5.1 | |
| [ | |
| {"pet":"cat","food":"milk","aggressive":"'very'","weigth":"5"}, | {"pet":"cat","food":"milk","aggressive":"'very'","weigth":"5"}, |
| {"pet":"dog","food":"bone","aggressive":"\"never\"","weigth":"10"}, | {"pet":"dog","food":"bone","aggressive":"\"never\"","weigth":"10"}, |
| {"pet":"parrot","food":"grain","aggressive":"alwayws","weigth":"1"} | {"pet":"parrot","food":"grain","aggressive":"alwayws","weigth":"1"} |
| ] | ] |
| 5.2. [ | |
| 5.2. | |
| [ | |
| {"pet":"dog","food":"bone","aggressive":"\"never\"","weigth":"10"} | {"pet":"dog","food":"bone","aggressive":"\"never\"","weigth":"10"} |
| ] | ] |
| 6. file | |
| 6.1 { | 5.3 |
| Exception type: sql.execute, | |
| Source: select * from pets, | |
| Comment: bind variables not supported yet | |
| 5.4 | |
| Exception type: parser.runtime, | |
| Source: sql, | |
| Comment: called with invalid option | |
| 6. file | |
| 6.1 | |
| { | |
| "class":"file", | "class":"file", |
| "name":"test.txt", | "name":"test.txt", |
| "size":6, | "size":6, |
| Line 83 Comment: only 2 columns allowed for $.ty | Line 210 Comment: only 2 columns allowed for $.ty |
| "content-type":"text\/plain", | "content-type":"text\/plain", |
| "text":"'very'" | "text":"'very'" |
| } | } |
| 6.2 { | |
| 6.2 | |
| { | |
| "class":"file", | "class":"file", |
| "name":"unknown", | "name":"unknown", |
| "size":7, | "size":7, |
| Line 91 Comment: only 2 columns allowed for $.ty | Line 220 Comment: only 2 columns allowed for $.ty |
| "content-type":"unknown", | "content-type":"unknown", |
| "text":"\"never\"" | "text":"\"never\"" |
| } | } |
| 6.3 Type: parser.runtime, | |
| Source: sqlite://****, | 6.3 |
| Comment: result must contain not more then 3 columns | |
| 6.4 Type: parser.runtime, | Exception type: sql.execute, |
| Source: sql, | Source: select * from pets, |
| Comment: produced no result | Comment: result must contain not more then 3 columns |
| 6.5 { | |
| 6.4 | |
| Exception type: parser.runtime, | |
| Source: sql, | |
| Comment: produced no result | |
| 6.5 | |
| { | |
| "class":"file", | "class":"file", |
| "name":"1", | "name":"1", |
| "size":1, | "size":1, |
| "mode":"binary", | "mode":"binary", |
| "content-type":"1", | "content-type":"1", |
| "text":"1" | "text":"1" |
| } - bug! | } - bug! |
| 6.6 Type: parser.runtime, | |
| Source: sqlite://****, | 6.6 |
| Comment: result must not contain more then one row, three columns | |
| 6.7 Type: parser.runtime, | Exception type: sql.execute, |
| Source: sql, | Source: select 1,2 from pets, |
| Comment: called with invalid option | Comment: result must not contain more then one row, three columns |
| 6.8 "''test''" | |
| 6.7 | |
| Exception type: parser.runtime, | |
| Source: sql, | |
| Comment: called with invalid option | |
| 6.8 "''test''" | |
| 7. string | |
| 7.1 | |
| Exception type: sql.execute, | |
| Source: select * from pets, | |
| Comment: result must contain exactly one column | |
| 7.2 | |
| Exception type: sql.execute, | |
| Source: select pet from pets, | |
| Comment: result must not contain more then one row | |
| 7.3 | |
| Exception type: sql.execute, | |
| Source: select 2+2, | |
| Comment: bind variables not supported yet | |
| 7.4 | |
| Exception type: parser.runtime, | |
| Source: sql, | |
| Comment: called with invalid option | |
| 7.5 | |
| Exception type: parser.runtime, | |
| Source: sql, | |
| Comment: produced no result, but no default option specified | |
| 7.6 | |
| "default" | |