Annotation of parser3/tests/results/341.processed, revision 1.4
1.1 moko 1: Content-Type: text/html
1.4 ! moko 2: Content-Length: 1519
1.1 moko 3:
4: Code coverage tests:
5: Type: parser.runtime,
6: Source: wrong,
7: Comment: must be 'hash', 'table' or 'string'
8: Type: parser.runtime,
9: Source: hash,
10: Comment: 'type' must be string
11: Type: parser.runtime,
12: Source: hash,
13: Comment: called with invalid option
14: Type: parser.runtime,
15: Source: hash,
16: Comment: options must be hash
17: Type: parser.runtime,
18: Source: hash,
19: Comment: value field(s) must be string or table or code
20: Type: parser.runtime,
21: Source: hash,
1.4 ! moko 22: Comment: you can't specify more then one value field with option $.type[string]
1.1 moko 23: Type: parser.runtime,
24: Source: hash,
25: Comment: you can't specify $.type[] if value is code
1.2 moko 26: Type: parser.runtime,
27: Source: ups,
28: Comment: column not found
29: Type: parser.runtime,
30: Source: ups,
31: Comment: column not found
1.1 moko 32: Valid calls tests:
33: {
34: "1":{
35: "id":"1",
36: "price":"6.50"
37: },
38: "2":{
39: "id":"2",
40: "price":"70.00"
41: },
42: "3":{
43: "id":"3",
44: "price":"60.85"
45: }
46: }
47: {
48: "1":[
49: {"id":"1","price":"6.50"}
50: ],
51: "2":[
52: {"id":"2","price":"70.00"}
53: ],
54: "3":[
55: {"id":"3","price":"60.85"}
56: ]
57: }
58: {
59: "1":{
60: "price":"6.50"
61: },
62: "2":{
63: "price":"70.00"
64: },
65: "3":{
66: "price":"60.85"
67: }
68: }
69: {
70: "id":{
71: "price":"6.50"
72: }
73: }
74: {
75: "1":{
76: "id":"1",
77: "price":"6.50"
78: },
79: "2":{
80: "id":"2",
81: "price":"70.00"
82: },
83: "3":{
84: "id":"3",
85: "price":"60.85"
86: }
87: }
88: {
89: "id":{
90: "id":"1",
91: "price":"6.50"
92: }
93: }
94: New functionality tests:
95: {
96: "=1=":"1 - 6.50",
97: "=2=":"2 - 70.00",
1.3 moko 98: "=3=":"3 - 60.85",
99: "=_default=":"_default - 0"
1.1 moko 100: }
101: {
102: "1":"1 - 6.50",
103: "2":"2 - 70.00",
104: "3":"3 - 60.85"
105: }
106: {
107: "id":"code"
108: }
109: {
110: "1":{
111: "key":"6.50"
112: },
113: "2":{
114: "key":"70.00"
115: },
116: "3":{
117: "key":"60.85"
118: }
1.2 moko 119: }
120: {
121: "1":{},
122: "2":{},
123: "3":{}
1.4 ! moko 124: }
! 125: {
! 126: "1":"",
! 127: "2":"",
! 128: "3":""
1.1 moko 129: }
E-mail: