blob: 639a3236b2cfe949cafacf32e6db6c9392350ef9 [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": {
61 "ReadCase1": {
62 "read": [{
63 "LockFlag": "DontLock",
64 "SegmentLength": 3
65 }, {
66 "LockFlag": "LockSame",
67 "SegmentLength": 1
68 }]
69 },
70 "ReadCase2": {
71 "READ": [{
72 "LockFlag": "DontLock",
73 "SegmentLength": 3
74 }, {
75 "LockFlag": "LockSame",
76 "SegmentLength": 1
77 }]
78 },
79 "ReadCase3": {
80 "Red": [{
81 "LockFlag": "DontLock",
82 "SegmentLength": 3
83 }, {
84 "LockFlag": "LockSame",
85 "SegmentLength": 1
86 }]
87 },
88 "ReadCase4": {
89 "*Read": [{
90 "LockFlag": "DontLock",
91 "SegmentLength": 3
92 }, {
93 "LockFlag": "LockSame",
94 "SegmentLength": 1
95 }]
96 },
97 "ReadCase5": {
98 "ReaD": [{
99 "LockFlag": "DontLock",
100 "SegmentLength": 3
101 }, {
102 "LockFlag": "LockSame",
103 "SegmentLength": 1
104 }]
105 },
106 "ReadCase6": {
107 "Read": [{
108 "LockFlag": "lockall",
109 "SegmentLength": 1
110 }]
111 },
112 "ReadCase7": {
113 "Read": [{
114 "LockFlag": "DontLock",
115 "SegmentLength": 3
116 }, {
117 "LockFlag": "locksame",
118 "SegmentLength": 1
119 }]
120 },
121 "ReadCase8": {
122 "Read": [{
123 "LockFlag": "dontlock",
124 "SegmentLength": 3
125 }, {
126 "LockFlag": "locksame",
127 "SegmentLength": 1
128 }]
129 },
130 "ReadCase9": {
131 "Read": [{
132 "LockFlag": "ontLock",
133 "SegmentLength": 3
134 }, {
135 "LockFlag": "LockAll",
136 "SegmentLength": 1
137 }]
138 },
139 "ReadCase10": {
140 "Read": [{
141 "LockFlag": "*DontLock",
142 "SegmentLength": 3
143 }, {
144 "LockFlag": "LockAll",
145 "SegmentLength": 1
146 }]
147 },
148 "ReadCase11": {
149 "Read": [{
150 "LockFlag": "dontlock",
151 "SegmentLength": 3
152 }, {
153 "LockFlag": "lockall",
154 "SegmentLength": 1
155 }]
156 },
157 "ReadCase12": {
158 "Read": [{
159 "LockFlag": "DontLock",
160 "SegmentLength": 7
161 }, {
162 "LockFlag": "LockAll",
163 "SegmentLength": 0
164 }]
165 },
166 "ReadCase13": {
167 "Read": [{
168 "LockFlag": "DontLock",
169 "SegmentLength": 3
170 }, {
171 "LockFlag": "LockAll",
172 "SegmentLength": 0
173 }]
174 },
175 "ReadCase14": {
176 "Read": [{
177 "LockFlag": "DontLock",
178 "SegmentLength": 7
179 }, {
180 "LockFlag": "LockAll",
181 "SegmentLength": 1
182 }]
183 },
184 "WriteCase1": {
185 "write": [{
186 "LockFlag": "DontLock",
187 "SegmentLength": 3
188 }, {
189 "LockFlag": "LockSame",
190 "SegmentLength": 1
191 }]
192 },
193 "WriteCase2": {
194 "WRITE": [{
195 "LockFlag": "DontLock",
196 "SegmentLength": 3
197 }, {
198 "LockFlag": "LockSame",
199 "SegmentLength": 1
200 }]
201 },
202 "WriteCase3": {
203 "*Write": [{
204 "LockFlag": "DontLock",
205 "SegmentLength": 3
206 }, {
207 "LockFlag": "LockSame",
208 "SegmentLength": 1
209 }]
210 },
211 "WriteCase4": {
212 "Wrte": [{
213 "LockFlag": "DontLock",
214 "SegmentLength": 3
215 }, {
216 "LockFlag": "LockSame",
217 "SegmentLength": 1
218 }]
219 },
220 "WriteCase5": {
221 "WritE": [{
222 "LockFlag": "DontLock",
223 "SegmentLength": 3
224 }, {
225 "LockFlag": "LockSame",
226 "SegmentLength": 1
227 }]
228 },
229 "WriteCase6": {
230 "Write": [{
231 "LockFlag": "lockall",
232 "SegmentLength": 1
233 }]
234 },
235 "WriteCase7": {
236 "Write": [{
237 "LockFlag": "DontLock",
238 "SegmentLength": 3
239 }, {
240 "LockFlag": "locksame",
241 "SegmentLength": 1
242 }]
243 },
244 "WriteCase8": {
245 "Write": [{
246 "LockFlag": "dontlock",
247 "SegmentLength": 3
248 }, {
249 "LockFlag": "locksame",
250 "SegmentLength": 1
251 }]
252 },
253 "WriteCase9": {
254 "Write": [{
255 "LockFlag": "ontLock",
256 "SegmentLength": 3
257 }, {
258 "LockFlag": "LockAll",
259 "SegmentLength": 1
260 }]
261 },
262 "WriteCase10": {
263 "Write": [{
264 "LockFlag": "*DontLock",
265 "SegmentLength": 3
266 }, {
267 "LockFlag": "LockAll",
268 "SegmentLength": 1
269 }]
270 },
271 "WriteCase11": {
272 "Write": [{
273 "LockFlag": "dontlock",
274 "SegmentLength": 3
275 }, {
276 "LockFlag": "lockall",
277 "SegmentLength": 1
278 }]
279 },
280 "WriteCase12": {
281 "Write": [{
282 "LockFlag": "DontLock",
283 "SegmentLength": 7
284 }, {
285 "LockFlag": "LockAll",
286 "SegmentLength": 0
287 }]
288 },
289 "WriteCase13": {
290 "Write": [{
291 "LockFlag": "DontLock",
292 "SegmentLength": 3
293 }, {
294 "LockFlag": "LockAll",
295 "SegmentLength": 0
296 }]
297 },
298 "WriteCase14": {
299 "Write": [{
300 "LockFlag": "DontLock",
301 "SegmentLength": 7
302 }, {
303 "LockFlag": "LockAll",
304 "SegmentLength": 1
305 }]
306 }
307 }
308}