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": {
61*e33c6e6aSSushil 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          },
185d03f2ce1SSushil Singh          "WriteCase1": {
186d03f2ce1SSushil Singh              "write": [{
187d03f2ce1SSushil Singh                  "LockFlag": "DontLock",
188d03f2ce1SSushil Singh                  "SegmentLength": 3
189d03f2ce1SSushil Singh              }, {
190d03f2ce1SSushil Singh                  "LockFlag": "LockSame",
191d03f2ce1SSushil Singh                  "SegmentLength": 1
192d03f2ce1SSushil Singh              }]
193d03f2ce1SSushil Singh          },
194d03f2ce1SSushil Singh          "WriteCase2": {
195d03f2ce1SSushil Singh              "WRITE": [{
196d03f2ce1SSushil Singh                  "LockFlag": "DontLock",
197d03f2ce1SSushil Singh                  "SegmentLength": 3
198d03f2ce1SSushil Singh              }, {
199d03f2ce1SSushil Singh                  "LockFlag": "LockSame",
200d03f2ce1SSushil Singh                  "SegmentLength": 1
201d03f2ce1SSushil Singh              }]
202d03f2ce1SSushil Singh          },
203d03f2ce1SSushil Singh          "WriteCase3": {
204d03f2ce1SSushil Singh              "*Write": [{
205d03f2ce1SSushil Singh                  "LockFlag": "DontLock",
206d03f2ce1SSushil Singh                  "SegmentLength": 3
207d03f2ce1SSushil Singh              }, {
208d03f2ce1SSushil Singh                  "LockFlag": "LockSame",
209d03f2ce1SSushil Singh                  "SegmentLength": 1
210d03f2ce1SSushil Singh              }]
211d03f2ce1SSushil Singh          },
212d03f2ce1SSushil Singh          "WriteCase4": {
213d03f2ce1SSushil Singh              "Wrte": [{
214d03f2ce1SSushil Singh                  "LockFlag": "DontLock",
215d03f2ce1SSushil Singh                  "SegmentLength": 3
216d03f2ce1SSushil Singh              }, {
217d03f2ce1SSushil Singh                  "LockFlag": "LockSame",
218d03f2ce1SSushil Singh                  "SegmentLength": 1
219d03f2ce1SSushil Singh              }]
220d03f2ce1SSushil Singh          },
221d03f2ce1SSushil Singh          "WriteCase5": {
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          "WriteCase6": {
231d03f2ce1SSushil Singh              "Write": [{
232d03f2ce1SSushil Singh                  "LockFlag": "lockall",
233d03f2ce1SSushil Singh                  "SegmentLength": 1
234d03f2ce1SSushil Singh              }]
235d03f2ce1SSushil Singh          },
236d03f2ce1SSushil Singh          "WriteCase7": {
237d03f2ce1SSushil Singh              "Write": [{
238d03f2ce1SSushil Singh                  "LockFlag": "DontLock",
239d03f2ce1SSushil Singh                  "SegmentLength": 3
240d03f2ce1SSushil Singh              }, {
241d03f2ce1SSushil Singh                  "LockFlag": "locksame",
242d03f2ce1SSushil Singh                  "SegmentLength": 1
243d03f2ce1SSushil Singh              }]
244d03f2ce1SSushil Singh          },
245d03f2ce1SSushil Singh          "WriteCase8": {
246d03f2ce1SSushil Singh              "Write": [{
247d03f2ce1SSushil Singh                  "LockFlag": "dontlock",
248d03f2ce1SSushil Singh                  "SegmentLength": 3
249d03f2ce1SSushil Singh              }, {
250d03f2ce1SSushil Singh                  "LockFlag": "locksame",
251d03f2ce1SSushil Singh                  "SegmentLength": 1
252d03f2ce1SSushil Singh              }]
253d03f2ce1SSushil Singh          },
254d03f2ce1SSushil Singh          "WriteCase9": {
255d03f2ce1SSushil Singh              "Write": [{
256d03f2ce1SSushil Singh                  "LockFlag": "ontLock",
257d03f2ce1SSushil Singh                  "SegmentLength": 3
258d03f2ce1SSushil Singh              }, {
259d03f2ce1SSushil Singh                  "LockFlag": "LockAll",
260d03f2ce1SSushil Singh                  "SegmentLength": 1
261d03f2ce1SSushil Singh              }]
262d03f2ce1SSushil Singh          },
263d03f2ce1SSushil Singh          "WriteCase10": {
264d03f2ce1SSushil Singh              "Write": [{
265d03f2ce1SSushil Singh                  "LockFlag": "*DontLock",
266d03f2ce1SSushil Singh                  "SegmentLength": 3
267d03f2ce1SSushil Singh              }, {
268d03f2ce1SSushil Singh                  "LockFlag": "LockAll",
269d03f2ce1SSushil Singh                  "SegmentLength": 1
270d03f2ce1SSushil Singh              }]
271d03f2ce1SSushil Singh          },
272d03f2ce1SSushil Singh          "WriteCase11": {
273d03f2ce1SSushil Singh              "Write": [{
274d03f2ce1SSushil Singh                  "LockFlag": "dontlock",
275d03f2ce1SSushil Singh                  "SegmentLength": 3
276d03f2ce1SSushil Singh              }, {
277d03f2ce1SSushil Singh                  "LockFlag": "lockall",
278d03f2ce1SSushil Singh                   "SegmentLength": 1
279d03f2ce1SSushil Singh              }]
280d03f2ce1SSushil Singh          },
281d03f2ce1SSushil Singh          "WriteCase12": {
282d03f2ce1SSushil Singh              "Write": [{
283d03f2ce1SSushil Singh                  "LockFlag": "DontLock",
284d03f2ce1SSushil Singh                  "SegmentLength": 7
285d03f2ce1SSushil Singh              }, {
286d03f2ce1SSushil Singh                  "LockFlag": "LockAll",
287d03f2ce1SSushil Singh                  "SegmentLength": 0
288d03f2ce1SSushil Singh              }]
289d03f2ce1SSushil Singh          },
290d03f2ce1SSushil Singh          "WriteCase13": {
291d03f2ce1SSushil Singh              "Write": [{
292d03f2ce1SSushil Singh                  "LockFlag": "DontLock",
293d03f2ce1SSushil Singh                  "SegmentLength": 3
294d03f2ce1SSushil Singh              }, {
295d03f2ce1SSushil Singh                  "LockFlag": "LockAll",
296d03f2ce1SSushil Singh                  "SegmentLength": 0
297d03f2ce1SSushil Singh              }]
298d03f2ce1SSushil Singh          },
299d03f2ce1SSushil Singh          "WriteCase14": {
300d03f2ce1SSushil Singh              "Write": [{
301d03f2ce1SSushil Singh                  "LockFlag": "DontLock",
302d03f2ce1SSushil Singh                  "SegmentLength": 7
303d03f2ce1SSushil Singh              }, {
304d03f2ce1SSushil Singh                  "LockFlag": "LockAll",
305d03f2ce1SSushil Singh                  "SegmentLength": 1
306d03f2ce1SSushil Singh              }]
307d03f2ce1SSushil Singh          }
308d03f2ce1SSushil Singh    }
309d03f2ce1SSushil Singh}
310