1d03f2ce1SSushil Singh{
2d03f2ce1SSushil Singh    "Valid Case": {
3d03f2ce1SSushil Singh        "ResourceID": 234,
4d03f2ce1SSushil Singh        "ReadCase1": {
5d03f2ce1SSushil Singh            "Read": [{
6d03f2ce1SSushil Singh                "LockFlag": "LockAll",
7d03f2ce1SSushil Singh                "SegmentLength": 2
8d03f2ce1SSushil Singh            }, {
9d03f2ce1SSushil Singh                "LockFlag": "DontLock",
10d03f2ce1SSushil Singh                "SegmentLength": 1
11d03f2ce1SSushil Singh            }]
12d03f2ce1SSushil Singh        },
13d03f2ce1SSushil Singh        "ReadCase2": {
14d03f2ce1SSushil Singh            "Read": [{
15d03f2ce1SSushil Singh                "LockFlag": "DontLock",
16d03f2ce1SSushil Singh                "SegmentLength": 3
17d03f2ce1SSushil Singh            }, {
18d03f2ce1SSushil Singh                "LockFlag": "LockAll",
19d03f2ce1SSushil Singh                "SegmentLength": 1
20d03f2ce1SSushil Singh            }]
21d03f2ce1SSushil Singh        },
22d03f2ce1SSushil Singh        "ReadCase3": {
23d03f2ce1SSushil Singh            "Read": [{
24d03f2ce1SSushil Singh                "LockFlag": "DontLock",
25d03f2ce1SSushil Singh                "SegmentLength": 4
26d03f2ce1SSushil Singh            }, {
27d03f2ce1SSushil Singh                "LockFlag": "LockSame",
28d03f2ce1SSushil Singh                "SegmentLength": 3
29d03f2ce1SSushil Singh            }]
30d03f2ce1SSushil Singh        },
31d03f2ce1SSushil Singh        "WriteCase1": {
32d03f2ce1SSushil Singh            "Write": [{
33d03f2ce1SSushil Singh                "LockFlag": "LockAll",
34d03f2ce1SSushil Singh                "SegmentLength": 2
35d03f2ce1SSushil Singh            }, {
36d03f2ce1SSushil Singh                 "LockFlag": "DontLock",
37d03f2ce1SSushil Singh                 "SegmentLength": 1
38d03f2ce1SSushil Singh            }]
39d03f2ce1SSushil Singh        },
40d03f2ce1SSushil Singh        "WriteCase2": {
41d03f2ce1SSushil Singh            "Write": [{
42d03f2ce1SSushil Singh                "LockFlag": "DontLock",
43d03f2ce1SSushil Singh                "SegmentLength": 3
44d03f2ce1SSushil Singh            }, {
45d03f2ce1SSushil Singh                "LockFlag": "LockAll",
46d03f2ce1SSushil Singh                "SegmentLength": 1
47d03f2ce1SSushil Singh            }]
48d03f2ce1SSushil Singh        },
49d03f2ce1SSushil Singh        "WriteCase3": {
50d03f2ce1SSushil Singh            "Write": [{
51d03f2ce1SSushil Singh                "LockFlag": "DontLock",
52d03f2ce1SSushil Singh                "SegmentLength": 4
53d03f2ce1SSushil Singh            }, {
54d03f2ce1SSushil Singh                "LockFlag": "LockSame",
55d03f2ce1SSushil Singh                "SegmentLength": 3
56d03f2ce1SSushil Singh            }]
57d03f2ce1SSushil Singh         }
58d03f2ce1SSushil Singh
59d03f2ce1SSushil Singh    },
60d03f2ce1SSushil Singh    "Invalid Case": {
61e33c6e6aSSushil Singh        "ResourceIDInvalidDataType": "234",
62d03f2ce1SSushil Singh        "ReadCase1": {
63d03f2ce1SSushil Singh            "read": [{
64d03f2ce1SSushil Singh                "LockFlag": "DontLock",
65d03f2ce1SSushil Singh                "SegmentLength": 3
66d03f2ce1SSushil Singh            }, {
67d03f2ce1SSushil Singh                "LockFlag": "LockSame",
68d03f2ce1SSushil Singh                "SegmentLength": 1
69d03f2ce1SSushil Singh            }]
70d03f2ce1SSushil Singh        },
71d03f2ce1SSushil Singh        "ReadCase2": {
72d03f2ce1SSushil Singh            "READ": [{
73d03f2ce1SSushil Singh                "LockFlag": "DontLock",
74d03f2ce1SSushil Singh                "SegmentLength": 3
75d03f2ce1SSushil Singh            }, {
76d03f2ce1SSushil Singh                "LockFlag": "LockSame",
77d03f2ce1SSushil Singh                "SegmentLength": 1
78d03f2ce1SSushil Singh            }]
79d03f2ce1SSushil Singh        },
80d03f2ce1SSushil Singh        "ReadCase3": {
81d03f2ce1SSushil Singh            "Red": [{
82d03f2ce1SSushil Singh                "LockFlag": "DontLock",
83d03f2ce1SSushil Singh                "SegmentLength": 3
84d03f2ce1SSushil Singh            }, {
85d03f2ce1SSushil Singh                "LockFlag": "LockSame",
86d03f2ce1SSushil Singh                "SegmentLength": 1
87d03f2ce1SSushil Singh            }]
88d03f2ce1SSushil Singh        },
89d03f2ce1SSushil Singh        "ReadCase4": {
90d03f2ce1SSushil Singh            "*Read": [{
91d03f2ce1SSushil Singh                "LockFlag": "DontLock",
92d03f2ce1SSushil Singh                "SegmentLength": 3
93d03f2ce1SSushil Singh            }, {
94d03f2ce1SSushil Singh                "LockFlag": "LockSame",
95d03f2ce1SSushil Singh                "SegmentLength": 1
96d03f2ce1SSushil Singh            }]
97d03f2ce1SSushil Singh        },
98d03f2ce1SSushil Singh        "ReadCase5": {
99d03f2ce1SSushil Singh            "ReaD": [{
100d03f2ce1SSushil Singh                "LockFlag": "DontLock",
101d03f2ce1SSushil Singh                "SegmentLength": 3
102d03f2ce1SSushil Singh            }, {
103d03f2ce1SSushil Singh                "LockFlag": "LockSame",
104d03f2ce1SSushil Singh                "SegmentLength": 1
105d03f2ce1SSushil Singh            }]
106d03f2ce1SSushil Singh         },
107d03f2ce1SSushil Singh         "ReadCase6": {
108d03f2ce1SSushil Singh             "Read": [{
109d03f2ce1SSushil Singh                 "LockFlag": "lockall",
110d03f2ce1SSushil Singh                 "SegmentLength": 1
111d03f2ce1SSushil Singh              }]
112d03f2ce1SSushil Singh          },
113d03f2ce1SSushil Singh          "ReadCase7": {
114d03f2ce1SSushil Singh              "Read": [{
115d03f2ce1SSushil Singh                  "LockFlag": "DontLock",
116d03f2ce1SSushil Singh                  "SegmentLength": 3
117d03f2ce1SSushil Singh              }, {
118d03f2ce1SSushil Singh                  "LockFlag": "locksame",
119d03f2ce1SSushil Singh                  "SegmentLength": 1
120d03f2ce1SSushil Singh              }]
121d03f2ce1SSushil Singh          },
122d03f2ce1SSushil Singh          "ReadCase8": {
123d03f2ce1SSushil Singh              "Read": [{
124d03f2ce1SSushil Singh                  "LockFlag": "dontlock",
125d03f2ce1SSushil Singh                  "SegmentLength": 3
126d03f2ce1SSushil Singh              }, {
127d03f2ce1SSushil Singh                  "LockFlag": "locksame",
128d03f2ce1SSushil Singh                  "SegmentLength": 1
129d03f2ce1SSushil Singh              }]
130d03f2ce1SSushil Singh          },
131d03f2ce1SSushil Singh          "ReadCase9": {
132d03f2ce1SSushil Singh              "Read": [{
133d03f2ce1SSushil Singh                  "LockFlag": "ontLock",
134d03f2ce1SSushil Singh                  "SegmentLength": 3
135d03f2ce1SSushil Singh              }, {
136d03f2ce1SSushil Singh                  "LockFlag": "LockAll",
137d03f2ce1SSushil Singh                  "SegmentLength": 1
138d03f2ce1SSushil Singh              }]
139d03f2ce1SSushil Singh          },
140d03f2ce1SSushil Singh          "ReadCase10": {
141d03f2ce1SSushil Singh              "Read": [{
142d03f2ce1SSushil Singh                  "LockFlag": "*DontLock",
143d03f2ce1SSushil Singh                  "SegmentLength": 3
144d03f2ce1SSushil Singh              }, {
145d03f2ce1SSushil Singh                  "LockFlag": "LockAll",
146d03f2ce1SSushil Singh                  "SegmentLength": 1
147d03f2ce1SSushil Singh              }]
148d03f2ce1SSushil Singh          },
149d03f2ce1SSushil Singh          "ReadCase11": {
150d03f2ce1SSushil Singh              "Read": [{
151d03f2ce1SSushil Singh                  "LockFlag": "dontlock",
152d03f2ce1SSushil Singh                  "SegmentLength": 3
153d03f2ce1SSushil Singh              }, {
154d03f2ce1SSushil Singh                  "LockFlag": "lockall",
155d03f2ce1SSushil Singh                  "SegmentLength": 1
156d03f2ce1SSushil Singh              }]
157d03f2ce1SSushil Singh          },
158d03f2ce1SSushil Singh          "ReadCase12": {
159d03f2ce1SSushil Singh              "Read": [{
160d03f2ce1SSushil Singh                  "LockFlag": "DontLock",
161d03f2ce1SSushil Singh                  "SegmentLength": 7
162d03f2ce1SSushil Singh              }, {
163d03f2ce1SSushil Singh                  "LockFlag": "LockAll",
164d03f2ce1SSushil Singh                  "SegmentLength": 0
165d03f2ce1SSushil Singh              }]
166d03f2ce1SSushil Singh          },
167d03f2ce1SSushil Singh          "ReadCase13": {
168d03f2ce1SSushil Singh              "Read": [{
169d03f2ce1SSushil Singh                  "LockFlag": "DontLock",
170d03f2ce1SSushil Singh                  "SegmentLength": 3
171d03f2ce1SSushil Singh              }, {
172d03f2ce1SSushil Singh                  "LockFlag": "LockAll",
173d03f2ce1SSushil Singh                  "SegmentLength": 0
174d03f2ce1SSushil Singh              }]
175d03f2ce1SSushil Singh          },
176d03f2ce1SSushil Singh          "ReadCase14": {
177d03f2ce1SSushil Singh              "Read": [{
178d03f2ce1SSushil Singh                  "LockFlag": "DontLock",
179d03f2ce1SSushil Singh                  "SegmentLength": 7
180d03f2ce1SSushil Singh              }, {
181d03f2ce1SSushil Singh                  "LockFlag": "LockAll",
182d03f2ce1SSushil Singh                  "SegmentLength": 1
183d03f2ce1SSushil Singh              }]
184d03f2ce1SSushil Singh          },
185*3b3a7ecaSSushil Singh          "ReadCase15": {
186*3b3a7ecaSSushil Singh              "Read": [{
187*3b3a7ecaSSushil Singh                  "LockFlag": "DontLock",
188*3b3a7ecaSSushil Singh                  "SegmentLength": "3"
189*3b3a7ecaSSushil Singh              }, {
190*3b3a7ecaSSushil Singh                  "LockFlag": "LockAll",
191*3b3a7ecaSSushil Singh                  "SegmentLength": 1
192*3b3a7ecaSSushil Singh              }]
193*3b3a7ecaSSushil Singh          },
194*3b3a7ecaSSushil Singh          "ReadCase16": {
195*3b3a7ecaSSushil Singh              "Read": [{
196*3b3a7ecaSSushil Singh                  "LockFlag": "DontLock",
197*3b3a7ecaSSushil Singh                  "SegmentLength": 3
198*3b3a7ecaSSushil Singh              }, {
199*3b3a7ecaSSushil Singh                  "LockFlag": "LockAll",
200*3b3a7ecaSSushil Singh                  "SegmentLength": "1"
201*3b3a7ecaSSushil Singh              }]
202*3b3a7ecaSSushil Singh          },
203*3b3a7ecaSSushil Singh          "ReadCase17": {
204*3b3a7ecaSSushil Singh              "Read": [{
205*3b3a7ecaSSushil Singh                  "LockFlag": "DontLock",
206*3b3a7ecaSSushil Singh                  "SegmentLength": "Three"
207*3b3a7ecaSSushil Singh              }, {
208*3b3a7ecaSSushil Singh                  "LockFlag": "LockAll",
209*3b3a7ecaSSushil Singh                  "SegmentLength": 1
210*3b3a7ecaSSushil Singh              }]
211*3b3a7ecaSSushil Singh          },
212*3b3a7ecaSSushil Singh          "ReadCase18": {
213*3b3a7ecaSSushil Singh              "Read": [{
214*3b3a7ecaSSushil Singh                  "LockFlag": "DontLock",
215*3b3a7ecaSSushil Singh                  "SegmentLength": 3
216*3b3a7ecaSSushil Singh              }, {
217*3b3a7ecaSSushil Singh                  "LockFlag": "LockAll",
218*3b3a7ecaSSushil Singh                  "SegmentLength": "One"
219*3b3a7ecaSSushil Singh              }]
220*3b3a7ecaSSushil Singh          },
221d03f2ce1SSushil Singh          "WriteCase1": {
222d03f2ce1SSushil Singh              "write": [{
223d03f2ce1SSushil Singh                  "LockFlag": "DontLock",
224d03f2ce1SSushil Singh                  "SegmentLength": 3
225d03f2ce1SSushil Singh              }, {
226d03f2ce1SSushil Singh                  "LockFlag": "LockSame",
227d03f2ce1SSushil Singh                  "SegmentLength": 1
228d03f2ce1SSushil Singh              }]
229d03f2ce1SSushil Singh          },
230d03f2ce1SSushil Singh          "WriteCase2": {
231d03f2ce1SSushil Singh              "WRITE": [{
232d03f2ce1SSushil Singh                  "LockFlag": "DontLock",
233d03f2ce1SSushil Singh                  "SegmentLength": 3
234d03f2ce1SSushil Singh              }, {
235d03f2ce1SSushil Singh                  "LockFlag": "LockSame",
236d03f2ce1SSushil Singh                  "SegmentLength": 1
237d03f2ce1SSushil Singh              }]
238d03f2ce1SSushil Singh          },
239d03f2ce1SSushil Singh          "WriteCase3": {
240d03f2ce1SSushil Singh              "*Write": [{
241d03f2ce1SSushil Singh                  "LockFlag": "DontLock",
242d03f2ce1SSushil Singh                  "SegmentLength": 3
243d03f2ce1SSushil Singh              }, {
244d03f2ce1SSushil Singh                  "LockFlag": "LockSame",
245d03f2ce1SSushil Singh                  "SegmentLength": 1
246d03f2ce1SSushil Singh              }]
247d03f2ce1SSushil Singh          },
248d03f2ce1SSushil Singh          "WriteCase4": {
249d03f2ce1SSushil Singh              "Wrte": [{
250d03f2ce1SSushil Singh                  "LockFlag": "DontLock",
251d03f2ce1SSushil Singh                  "SegmentLength": 3
252d03f2ce1SSushil Singh              }, {
253d03f2ce1SSushil Singh                  "LockFlag": "LockSame",
254d03f2ce1SSushil Singh                  "SegmentLength": 1
255d03f2ce1SSushil Singh              }]
256d03f2ce1SSushil Singh          },
257d03f2ce1SSushil Singh          "WriteCase5": {
258d03f2ce1SSushil Singh              "WritE": [{
259d03f2ce1SSushil Singh                  "LockFlag": "DontLock",
260d03f2ce1SSushil Singh                  "SegmentLength": 3
261d03f2ce1SSushil Singh              }, {
262d03f2ce1SSushil Singh                  "LockFlag": "LockSame",
263d03f2ce1SSushil Singh                  "SegmentLength": 1
264d03f2ce1SSushil Singh              }]
265d03f2ce1SSushil Singh          },
266d03f2ce1SSushil Singh          "WriteCase6": {
267d03f2ce1SSushil Singh              "Write": [{
268d03f2ce1SSushil Singh                  "LockFlag": "lockall",
269d03f2ce1SSushil Singh                  "SegmentLength": 1
270d03f2ce1SSushil Singh              }]
271d03f2ce1SSushil Singh          },
272d03f2ce1SSushil Singh          "WriteCase7": {
273d03f2ce1SSushil Singh              "Write": [{
274d03f2ce1SSushil Singh                  "LockFlag": "DontLock",
275d03f2ce1SSushil Singh                  "SegmentLength": 3
276d03f2ce1SSushil Singh              }, {
277d03f2ce1SSushil Singh                  "LockFlag": "locksame",
278d03f2ce1SSushil Singh                  "SegmentLength": 1
279d03f2ce1SSushil Singh              }]
280d03f2ce1SSushil Singh          },
281d03f2ce1SSushil Singh          "WriteCase8": {
282d03f2ce1SSushil Singh              "Write": [{
283d03f2ce1SSushil Singh                  "LockFlag": "dontlock",
284d03f2ce1SSushil Singh                  "SegmentLength": 3
285d03f2ce1SSushil Singh              }, {
286d03f2ce1SSushil Singh                  "LockFlag": "locksame",
287d03f2ce1SSushil Singh                  "SegmentLength": 1
288d03f2ce1SSushil Singh              }]
289d03f2ce1SSushil Singh          },
290d03f2ce1SSushil Singh          "WriteCase9": {
291d03f2ce1SSushil Singh              "Write": [{
292d03f2ce1SSushil Singh                  "LockFlag": "ontLock",
293d03f2ce1SSushil Singh                  "SegmentLength": 3
294d03f2ce1SSushil Singh              }, {
295d03f2ce1SSushil Singh                  "LockFlag": "LockAll",
296d03f2ce1SSushil Singh                  "SegmentLength": 1
297d03f2ce1SSushil Singh              }]
298d03f2ce1SSushil Singh          },
299d03f2ce1SSushil Singh          "WriteCase10": {
300d03f2ce1SSushil Singh              "Write": [{
301d03f2ce1SSushil Singh                  "LockFlag": "*DontLock",
302d03f2ce1SSushil Singh                  "SegmentLength": 3
303d03f2ce1SSushil Singh              }, {
304d03f2ce1SSushil Singh                  "LockFlag": "LockAll",
305d03f2ce1SSushil Singh                  "SegmentLength": 1
306d03f2ce1SSushil Singh              }]
307d03f2ce1SSushil Singh          },
308d03f2ce1SSushil Singh          "WriteCase11": {
309d03f2ce1SSushil Singh              "Write": [{
310d03f2ce1SSushil Singh                  "LockFlag": "dontlock",
311d03f2ce1SSushil Singh                  "SegmentLength": 3
312d03f2ce1SSushil Singh              }, {
313d03f2ce1SSushil Singh                  "LockFlag": "lockall",
314d03f2ce1SSushil Singh                   "SegmentLength": 1
315d03f2ce1SSushil Singh              }]
316d03f2ce1SSushil Singh          },
317d03f2ce1SSushil Singh          "WriteCase12": {
318d03f2ce1SSushil Singh              "Write": [{
319d03f2ce1SSushil Singh                  "LockFlag": "DontLock",
320d03f2ce1SSushil Singh                  "SegmentLength": 7
321d03f2ce1SSushil Singh              }, {
322d03f2ce1SSushil Singh                  "LockFlag": "LockAll",
323d03f2ce1SSushil Singh                  "SegmentLength": 0
324d03f2ce1SSushil Singh              }]
325d03f2ce1SSushil Singh          },
326d03f2ce1SSushil Singh          "WriteCase13": {
327d03f2ce1SSushil Singh              "Write": [{
328d03f2ce1SSushil Singh                  "LockFlag": "DontLock",
329d03f2ce1SSushil Singh                  "SegmentLength": 3
330d03f2ce1SSushil Singh              }, {
331d03f2ce1SSushil Singh                  "LockFlag": "LockAll",
332d03f2ce1SSushil Singh                  "SegmentLength": 0
333d03f2ce1SSushil Singh              }]
334d03f2ce1SSushil Singh          },
335d03f2ce1SSushil Singh          "WriteCase14": {
336d03f2ce1SSushil Singh              "Write": [{
337d03f2ce1SSushil Singh                  "LockFlag": "DontLock",
338d03f2ce1SSushil Singh                  "SegmentLength": 7
339d03f2ce1SSushil Singh              }, {
340d03f2ce1SSushil Singh                  "LockFlag": "LockAll",
341d03f2ce1SSushil Singh                  "SegmentLength": 1
342d03f2ce1SSushil Singh              }]
343*3b3a7ecaSSushil Singh          },
344*3b3a7ecaSSushil Singh          "WriteCase15": {
345*3b3a7ecaSSushil Singh              "Write": [{
346*3b3a7ecaSSushil Singh                  "LockFlag": "DontLock",
347*3b3a7ecaSSushil Singh                  "SegmentLength": "3"
348*3b3a7ecaSSushil Singh              }, {
349*3b3a7ecaSSushil Singh                  "LockFlag": "LockAll",
350*3b3a7ecaSSushil Singh                  "SegmentLength": 1
351*3b3a7ecaSSushil Singh              }]
352*3b3a7ecaSSushil Singh          },
353*3b3a7ecaSSushil Singh          "WriteCase16": {
354*3b3a7ecaSSushil Singh              "Write": [{
355*3b3a7ecaSSushil Singh                  "LockFlag": "DontLock",
356*3b3a7ecaSSushil Singh                  "SegmentLength": 3
357*3b3a7ecaSSushil Singh              }, {
358*3b3a7ecaSSushil Singh                  "LockFlag": "LockAll",
359*3b3a7ecaSSushil Singh                  "SegmentLength": "1"
360*3b3a7ecaSSushil Singh              }]
361*3b3a7ecaSSushil Singh          },
362*3b3a7ecaSSushil Singh          "WriteCase17": {
363*3b3a7ecaSSushil Singh              "Write": [{
364*3b3a7ecaSSushil Singh                  "LockFlag": "DontLock",
365*3b3a7ecaSSushil Singh                  "SegmentLength": "Three"
366*3b3a7ecaSSushil Singh              }, {
367*3b3a7ecaSSushil Singh                  "LockFlag": "LockAll",
368*3b3a7ecaSSushil Singh                  "SegmentLength": 1
369*3b3a7ecaSSushil Singh              }]
370*3b3a7ecaSSushil Singh          },
371*3b3a7ecaSSushil Singh          "WriteCase18": {
372*3b3a7ecaSSushil Singh              "Write": [{
373*3b3a7ecaSSushil Singh                  "LockFlag": "DontLock",
374*3b3a7ecaSSushil Singh                  "SegmentLength": 3
375*3b3a7ecaSSushil Singh              }, {
376*3b3a7ecaSSushil Singh                  "LockFlag": "LockAll",
377*3b3a7ecaSSushil Singh                  "SegmentLength": "One"
378*3b3a7ecaSSushil Singh              }]
379d03f2ce1SSushil Singh          }
380d03f2ce1SSushil Singh    }
381d03f2ce1SSushil Singh}
382