blob: b6de70b845a5b07fd16dfa37865a307f98e64b93 [file] [log] [blame]
Sushil Singhd03f2ce2020-09-17 08:54:41 -05001{
2 "Valid Case": {
3 "ResourceID": 234,
4 "ReadCase1": {
5 "Read": [{
6 "LockFlag": "LockAll",
7 "SegmentLength": 2
8 }, {
9 "LockFlag": "DontLock",
10 "SegmentLength": 1
11 }]
12 },
13 "ReadCase2": {
14 "Read": [{
15 "LockFlag": "DontLock",
16 "SegmentLength": 3
17 }, {
18 "LockFlag": "LockAll",
19 "SegmentLength": 1
20 }]
21 },
22 "ReadCase3": {
23 "Read": [{
24 "LockFlag": "DontLock",
25 "SegmentLength": 4
26 }, {
27 "LockFlag": "LockSame",
28 "SegmentLength": 3
29 }]
30 },
31 "WriteCase1": {
32 "Write": [{
33 "LockFlag": "LockAll",
34 "SegmentLength": 2
35 }, {
36 "LockFlag": "DontLock",
37 "SegmentLength": 1
38 }]
39 },
40 "WriteCase2": {
41 "Write": [{
42 "LockFlag": "DontLock",
43 "SegmentLength": 3
44 }, {
45 "LockFlag": "LockAll",
46 "SegmentLength": 1
47 }]
48 },
49 "WriteCase3": {
50 "Write": [{
51 "LockFlag": "DontLock",
52 "SegmentLength": 4
53 }, {
54 "LockFlag": "LockSame",
55 "SegmentLength": 3
56 }]
57 }
58
59 },
60 "Invalid Case": {
Sushil Singhe33c6e62020-09-29 06:34:35 -050061 "ResourceIDInvalidDataType": "234",
Sushil Singhd03f2ce2020-09-17 08:54:41 -050062 "ReadCase1": {
63 "read": [{
64 "LockFlag": "DontLock",
65 "SegmentLength": 3
66 }, {
67 "LockFlag": "LockSame",
68 "SegmentLength": 1
69 }]
70 },
71 "ReadCase2": {
72 "READ": [{
73 "LockFlag": "DontLock",
74 "SegmentLength": 3
75 }, {
76 "LockFlag": "LockSame",
77 "SegmentLength": 1
78 }]
79 },
80 "ReadCase3": {
81 "Red": [{
82 "LockFlag": "DontLock",
83 "SegmentLength": 3
84 }, {
85 "LockFlag": "LockSame",
86 "SegmentLength": 1
87 }]
88 },
89 "ReadCase4": {
90 "*Read": [{
91 "LockFlag": "DontLock",
92 "SegmentLength": 3
93 }, {
94 "LockFlag": "LockSame",
95 "SegmentLength": 1
96 }]
97 },
98 "ReadCase5": {
99 "ReaD": [{
100 "LockFlag": "DontLock",
101 "SegmentLength": 3
102 }, {
103 "LockFlag": "LockSame",
104 "SegmentLength": 1
105 }]
106 },
107 "ReadCase6": {
108 "Read": [{
109 "LockFlag": "lockall",
110 "SegmentLength": 1
111 }]
112 },
113 "ReadCase7": {
114 "Read": [{
115 "LockFlag": "DontLock",
116 "SegmentLength": 3
117 }, {
118 "LockFlag": "locksame",
119 "SegmentLength": 1
120 }]
121 },
122 "ReadCase8": {
123 "Read": [{
124 "LockFlag": "dontlock",
125 "SegmentLength": 3
126 }, {
127 "LockFlag": "locksame",
128 "SegmentLength": 1
129 }]
130 },
131 "ReadCase9": {
132 "Read": [{
133 "LockFlag": "ontLock",
134 "SegmentLength": 3
135 }, {
136 "LockFlag": "LockAll",
137 "SegmentLength": 1
138 }]
139 },
140 "ReadCase10": {
141 "Read": [{
142 "LockFlag": "*DontLock",
143 "SegmentLength": 3
144 }, {
145 "LockFlag": "LockAll",
146 "SegmentLength": 1
147 }]
148 },
149 "ReadCase11": {
150 "Read": [{
151 "LockFlag": "dontlock",
152 "SegmentLength": 3
153 }, {
154 "LockFlag": "lockall",
155 "SegmentLength": 1
156 }]
157 },
158 "ReadCase12": {
159 "Read": [{
160 "LockFlag": "DontLock",
161 "SegmentLength": 7
162 }, {
163 "LockFlag": "LockAll",
164 "SegmentLength": 0
165 }]
166 },
167 "ReadCase13": {
168 "Read": [{
169 "LockFlag": "DontLock",
170 "SegmentLength": 3
171 }, {
172 "LockFlag": "LockAll",
173 "SegmentLength": 0
174 }]
175 },
176 "ReadCase14": {
177 "Read": [{
178 "LockFlag": "DontLock",
179 "SegmentLength": 7
180 }, {
181 "LockFlag": "LockAll",
182 "SegmentLength": 1
183 }]
184 },
185 "WriteCase1": {
186 "write": [{
187 "LockFlag": "DontLock",
188 "SegmentLength": 3
189 }, {
190 "LockFlag": "LockSame",
191 "SegmentLength": 1
192 }]
193 },
194 "WriteCase2": {
195 "WRITE": [{
196 "LockFlag": "DontLock",
197 "SegmentLength": 3
198 }, {
199 "LockFlag": "LockSame",
200 "SegmentLength": 1
201 }]
202 },
203 "WriteCase3": {
204 "*Write": [{
205 "LockFlag": "DontLock",
206 "SegmentLength": 3
207 }, {
208 "LockFlag": "LockSame",
209 "SegmentLength": 1
210 }]
211 },
212 "WriteCase4": {
213 "Wrte": [{
214 "LockFlag": "DontLock",
215 "SegmentLength": 3
216 }, {
217 "LockFlag": "LockSame",
218 "SegmentLength": 1
219 }]
220 },
221 "WriteCase5": {
222 "WritE": [{
223 "LockFlag": "DontLock",
224 "SegmentLength": 3
225 }, {
226 "LockFlag": "LockSame",
227 "SegmentLength": 1
228 }]
229 },
230 "WriteCase6": {
231 "Write": [{
232 "LockFlag": "lockall",
233 "SegmentLength": 1
234 }]
235 },
236 "WriteCase7": {
237 "Write": [{
238 "LockFlag": "DontLock",
239 "SegmentLength": 3
240 }, {
241 "LockFlag": "locksame",
242 "SegmentLength": 1
243 }]
244 },
245 "WriteCase8": {
246 "Write": [{
247 "LockFlag": "dontlock",
248 "SegmentLength": 3
249 }, {
250 "LockFlag": "locksame",
251 "SegmentLength": 1
252 }]
253 },
254 "WriteCase9": {
255 "Write": [{
256 "LockFlag": "ontLock",
257 "SegmentLength": 3
258 }, {
259 "LockFlag": "LockAll",
260 "SegmentLength": 1
261 }]
262 },
263 "WriteCase10": {
264 "Write": [{
265 "LockFlag": "*DontLock",
266 "SegmentLength": 3
267 }, {
268 "LockFlag": "LockAll",
269 "SegmentLength": 1
270 }]
271 },
272 "WriteCase11": {
273 "Write": [{
274 "LockFlag": "dontlock",
275 "SegmentLength": 3
276 }, {
277 "LockFlag": "lockall",
278 "SegmentLength": 1
279 }]
280 },
281 "WriteCase12": {
282 "Write": [{
283 "LockFlag": "DontLock",
284 "SegmentLength": 7
285 }, {
286 "LockFlag": "LockAll",
287 "SegmentLength": 0
288 }]
289 },
290 "WriteCase13": {
291 "Write": [{
292 "LockFlag": "DontLock",
293 "SegmentLength": 3
294 }, {
295 "LockFlag": "LockAll",
296 "SegmentLength": 0
297 }]
298 },
299 "WriteCase14": {
300 "Write": [{
301 "LockFlag": "DontLock",
302 "SegmentLength": 7
303 }, {
304 "LockFlag": "LockAll",
305 "SegmentLength": 1
306 }]
307 }
308 }
309}