Annotation of parser3/tests/results/341.processed, revision 1.2
1.1 moko 1: Content-Type: text/html
1.2 ! moko 2: Content-Length: 1456
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,
22: Comment: you can specify only one value field with option $.type[string]
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",
98: "=3=":"3 - 60.85"
99: }
100: {
101: "1":"1 - 6.50",
102: "2":"2 - 70.00",
103: "3":"3 - 60.85"
104: }
105: {
106: "id":"code"
107: }
108: {
109: "1":{
110: "key":"6.50"
111: },
112: "2":{
113: "key":"70.00"
114: },
115: "3":{
116: "key":"60.85"
117: }
1.2 ! moko 118: }
! 119: {
! 120: "1":{},
! 121: "2":{},
! 122: "3":{}
1.1 moko 123: }
E-mail: