Sushil Singh | d03f2ce | 2020-09-17 08:54:41 -0500 | [diff] [blame] | 1 | { |
| 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 | }, |
Sushil Singh | df390b6 | 2021-01-19 00:50:05 -0600 | [diff] [blame] | 31 | "ReadCase4": { |
| 32 | "Read": [{ |
| 33 | "LockFlag": "DontLock", |
| 34 | "SegmentLength": 2 |
| 35 | }, { |
| 36 | "LockFlag": "LockSame", |
| 37 | "SegmentLength": 1 |
| 38 | }] |
| 39 | }, |
| 40 | "ReadCase5": { |
| 41 | "Read": [{ |
| 42 | "LockFlag": "DontLock", |
| 43 | "SegmentLength": 2 |
| 44 | }, { |
| 45 | "LockFlag": "LockAll", |
| 46 | "SegmentLength": 1 |
| 47 | }] |
| 48 | }, |
| 49 | "ReadCase6": { |
| 50 | "Read": [{ |
| 51 | "LockFlag": "LockSame", |
| 52 | "SegmentLength": 2 |
| 53 | }, { |
| 54 | "LockFlag": "DontLock", |
| 55 | "SegmentLength": 1 |
| 56 | }] |
| 57 | }, |
| 58 | "ReadCase7": { |
| 59 | "Read": [{ |
| 60 | "LockFlag": "LockAll", |
| 61 | "SegmentLength": 2 |
| 62 | }, { |
| 63 | "LockFlag": "DontLock", |
| 64 | "SegmentLength": 1 |
| 65 | }] |
| 66 | }, |
Sushil Singh | d03f2ce | 2020-09-17 08:54:41 -0500 | [diff] [blame] | 67 | "WriteCase1": { |
| 68 | "Write": [{ |
| 69 | "LockFlag": "LockAll", |
| 70 | "SegmentLength": 2 |
| 71 | }, { |
| 72 | "LockFlag": "DontLock", |
| 73 | "SegmentLength": 1 |
| 74 | }] |
| 75 | }, |
| 76 | "WriteCase2": { |
| 77 | "Write": [{ |
| 78 | "LockFlag": "DontLock", |
| 79 | "SegmentLength": 3 |
| 80 | }, { |
| 81 | "LockFlag": "LockAll", |
| 82 | "SegmentLength": 1 |
| 83 | }] |
| 84 | }, |
| 85 | "WriteCase3": { |
| 86 | "Write": [{ |
| 87 | "LockFlag": "DontLock", |
| 88 | "SegmentLength": 4 |
| 89 | }, { |
| 90 | "LockFlag": "LockSame", |
| 91 | "SegmentLength": 3 |
| 92 | }] |
Sushil Singh | df390b6 | 2021-01-19 00:50:05 -0600 | [diff] [blame] | 93 | }, |
| 94 | "WriteCase4": { |
| 95 | "Write": [{ |
| 96 | "LockFlag": "DontLock", |
| 97 | "SegmentLength": 2 |
| 98 | }, { |
| 99 | "LockFlag": "LockAll", |
| 100 | "SegmentLength": 1 |
| 101 | }] |
| 102 | }, |
| 103 | "WriteCase5": { |
| 104 | "Write": [{ |
| 105 | "LockFlag": "DontLock", |
| 106 | "SegmentLength": 2 |
| 107 | }, { |
| 108 | "LockFlag": "LockSame", |
| 109 | "SegmentLength": 1 |
| 110 | }] |
| 111 | }, |
| 112 | "WriteCase6": { |
| 113 | "Write": [{ |
| 114 | "LockFlag": "LockAll", |
| 115 | "SegmentLength": 2 |
| 116 | }, { |
| 117 | "LockFlag": "DontLock", |
| 118 | "SegmentLength": 1 |
| 119 | }] |
| 120 | }, |
| 121 | "WriteCase7": { |
| 122 | "Write": [{ |
| 123 | "LockFlag": "LockSame", |
| 124 | "SegmentLength": 2 |
| 125 | }, { |
| 126 | "LockFlag": "DontLock", |
| 127 | "SegmentLength": 1 |
| 128 | }] |
Sushil Singh | d03f2ce | 2020-09-17 08:54:41 -0500 | [diff] [blame] | 129 | } |
Sushil Singh | d03f2ce | 2020-09-17 08:54:41 -0500 | [diff] [blame] | 130 | }, |
| 131 | "Invalid Case": { |
Sushil Singh | e33c6e6 | 2020-09-29 06:34:35 -0500 | [diff] [blame] | 132 | "ResourceIDInvalidDataType": "234", |
Sushil Singh | d03f2ce | 2020-09-17 08:54:41 -0500 | [diff] [blame] | 133 | "ReadCase1": { |
| 134 | "read": [{ |
| 135 | "LockFlag": "DontLock", |
| 136 | "SegmentLength": 3 |
| 137 | }, { |
| 138 | "LockFlag": "LockSame", |
| 139 | "SegmentLength": 1 |
| 140 | }] |
| 141 | }, |
| 142 | "ReadCase2": { |
| 143 | "READ": [{ |
| 144 | "LockFlag": "DontLock", |
| 145 | "SegmentLength": 3 |
| 146 | }, { |
| 147 | "LockFlag": "LockSame", |
| 148 | "SegmentLength": 1 |
| 149 | }] |
| 150 | }, |
| 151 | "ReadCase3": { |
| 152 | "Red": [{ |
| 153 | "LockFlag": "DontLock", |
| 154 | "SegmentLength": 3 |
| 155 | }, { |
| 156 | "LockFlag": "LockSame", |
| 157 | "SegmentLength": 1 |
| 158 | }] |
| 159 | }, |
| 160 | "ReadCase4": { |
| 161 | "*Read": [{ |
| 162 | "LockFlag": "DontLock", |
| 163 | "SegmentLength": 3 |
| 164 | }, { |
| 165 | "LockFlag": "LockSame", |
| 166 | "SegmentLength": 1 |
| 167 | }] |
| 168 | }, |
| 169 | "ReadCase5": { |
| 170 | "ReaD": [{ |
| 171 | "LockFlag": "DontLock", |
| 172 | "SegmentLength": 3 |
| 173 | }, { |
| 174 | "LockFlag": "LockSame", |
| 175 | "SegmentLength": 1 |
| 176 | }] |
| 177 | }, |
| 178 | "ReadCase6": { |
| 179 | "Read": [{ |
| 180 | "LockFlag": "lockall", |
| 181 | "SegmentLength": 1 |
| 182 | }] |
| 183 | }, |
| 184 | "ReadCase7": { |
| 185 | "Read": [{ |
| 186 | "LockFlag": "DontLock", |
| 187 | "SegmentLength": 3 |
| 188 | }, { |
| 189 | "LockFlag": "locksame", |
| 190 | "SegmentLength": 1 |
| 191 | }] |
| 192 | }, |
| 193 | "ReadCase8": { |
| 194 | "Read": [{ |
| 195 | "LockFlag": "dontlock", |
| 196 | "SegmentLength": 3 |
| 197 | }, { |
| 198 | "LockFlag": "locksame", |
| 199 | "SegmentLength": 1 |
| 200 | }] |
| 201 | }, |
| 202 | "ReadCase9": { |
| 203 | "Read": [{ |
| 204 | "LockFlag": "ontLock", |
| 205 | "SegmentLength": 3 |
| 206 | }, { |
| 207 | "LockFlag": "LockAll", |
| 208 | "SegmentLength": 1 |
| 209 | }] |
| 210 | }, |
| 211 | "ReadCase10": { |
| 212 | "Read": [{ |
| 213 | "LockFlag": "*DontLock", |
| 214 | "SegmentLength": 3 |
| 215 | }, { |
| 216 | "LockFlag": "LockAll", |
| 217 | "SegmentLength": 1 |
| 218 | }] |
| 219 | }, |
| 220 | "ReadCase11": { |
| 221 | "Read": [{ |
| 222 | "LockFlag": "dontlock", |
| 223 | "SegmentLength": 3 |
| 224 | }, { |
| 225 | "LockFlag": "lockall", |
| 226 | "SegmentLength": 1 |
| 227 | }] |
| 228 | }, |
| 229 | "ReadCase12": { |
| 230 | "Read": [{ |
| 231 | "LockFlag": "DontLock", |
| 232 | "SegmentLength": 7 |
| 233 | }, { |
| 234 | "LockFlag": "LockAll", |
| 235 | "SegmentLength": 0 |
| 236 | }] |
| 237 | }, |
| 238 | "ReadCase13": { |
| 239 | "Read": [{ |
| 240 | "LockFlag": "DontLock", |
| 241 | "SegmentLength": 3 |
| 242 | }, { |
| 243 | "LockFlag": "LockAll", |
| 244 | "SegmentLength": 0 |
| 245 | }] |
| 246 | }, |
| 247 | "ReadCase14": { |
| 248 | "Read": [{ |
| 249 | "LockFlag": "DontLock", |
| 250 | "SegmentLength": 7 |
| 251 | }, { |
| 252 | "LockFlag": "LockAll", |
| 253 | "SegmentLength": 1 |
| 254 | }] |
| 255 | }, |
Sushil Singh | 3b3a7ec | 2020-11-23 03:54:06 -0600 | [diff] [blame] | 256 | "ReadCase15": { |
| 257 | "Read": [{ |
| 258 | "LockFlag": "DontLock", |
| 259 | "SegmentLength": "3" |
| 260 | }, { |
| 261 | "LockFlag": "LockAll", |
| 262 | "SegmentLength": 1 |
| 263 | }] |
| 264 | }, |
| 265 | "ReadCase16": { |
| 266 | "Read": [{ |
| 267 | "LockFlag": "DontLock", |
| 268 | "SegmentLength": 3 |
| 269 | }, { |
| 270 | "LockFlag": "LockAll", |
| 271 | "SegmentLength": "1" |
| 272 | }] |
| 273 | }, |
| 274 | "ReadCase17": { |
| 275 | "Read": [{ |
| 276 | "LockFlag": "DontLock", |
| 277 | "SegmentLength": "Three" |
| 278 | }, { |
| 279 | "LockFlag": "LockAll", |
| 280 | "SegmentLength": 1 |
| 281 | }] |
| 282 | }, |
| 283 | "ReadCase18": { |
| 284 | "Read": [{ |
| 285 | "LockFlag": "DontLock", |
| 286 | "SegmentLength": 3 |
| 287 | }, { |
| 288 | "LockFlag": "LockAll", |
| 289 | "SegmentLength": "One" |
| 290 | }] |
| 291 | }, |
Sushil Singh | d03f2ce | 2020-09-17 08:54:41 -0500 | [diff] [blame] | 292 | "WriteCase1": { |
| 293 | "write": [{ |
| 294 | "LockFlag": "DontLock", |
| 295 | "SegmentLength": 3 |
| 296 | }, { |
| 297 | "LockFlag": "LockSame", |
| 298 | "SegmentLength": 1 |
| 299 | }] |
| 300 | }, |
| 301 | "WriteCase2": { |
| 302 | "WRITE": [{ |
| 303 | "LockFlag": "DontLock", |
| 304 | "SegmentLength": 3 |
| 305 | }, { |
| 306 | "LockFlag": "LockSame", |
| 307 | "SegmentLength": 1 |
| 308 | }] |
| 309 | }, |
| 310 | "WriteCase3": { |
| 311 | "*Write": [{ |
| 312 | "LockFlag": "DontLock", |
| 313 | "SegmentLength": 3 |
| 314 | }, { |
| 315 | "LockFlag": "LockSame", |
| 316 | "SegmentLength": 1 |
| 317 | }] |
| 318 | }, |
| 319 | "WriteCase4": { |
| 320 | "Wrte": [{ |
| 321 | "LockFlag": "DontLock", |
| 322 | "SegmentLength": 3 |
| 323 | }, { |
| 324 | "LockFlag": "LockSame", |
| 325 | "SegmentLength": 1 |
| 326 | }] |
| 327 | }, |
| 328 | "WriteCase5": { |
| 329 | "WritE": [{ |
| 330 | "LockFlag": "DontLock", |
| 331 | "SegmentLength": 3 |
| 332 | }, { |
| 333 | "LockFlag": "LockSame", |
| 334 | "SegmentLength": 1 |
| 335 | }] |
| 336 | }, |
| 337 | "WriteCase6": { |
| 338 | "Write": [{ |
| 339 | "LockFlag": "lockall", |
| 340 | "SegmentLength": 1 |
| 341 | }] |
| 342 | }, |
| 343 | "WriteCase7": { |
| 344 | "Write": [{ |
| 345 | "LockFlag": "DontLock", |
| 346 | "SegmentLength": 3 |
| 347 | }, { |
| 348 | "LockFlag": "locksame", |
| 349 | "SegmentLength": 1 |
| 350 | }] |
| 351 | }, |
| 352 | "WriteCase8": { |
| 353 | "Write": [{ |
| 354 | "LockFlag": "dontlock", |
| 355 | "SegmentLength": 3 |
| 356 | }, { |
| 357 | "LockFlag": "locksame", |
| 358 | "SegmentLength": 1 |
| 359 | }] |
| 360 | }, |
| 361 | "WriteCase9": { |
| 362 | "Write": [{ |
| 363 | "LockFlag": "ontLock", |
| 364 | "SegmentLength": 3 |
| 365 | }, { |
| 366 | "LockFlag": "LockAll", |
| 367 | "SegmentLength": 1 |
| 368 | }] |
| 369 | }, |
| 370 | "WriteCase10": { |
| 371 | "Write": [{ |
| 372 | "LockFlag": "*DontLock", |
| 373 | "SegmentLength": 3 |
| 374 | }, { |
| 375 | "LockFlag": "LockAll", |
| 376 | "SegmentLength": 1 |
| 377 | }] |
| 378 | }, |
| 379 | "WriteCase11": { |
| 380 | "Write": [{ |
| 381 | "LockFlag": "dontlock", |
| 382 | "SegmentLength": 3 |
| 383 | }, { |
| 384 | "LockFlag": "lockall", |
| 385 | "SegmentLength": 1 |
| 386 | }] |
| 387 | }, |
| 388 | "WriteCase12": { |
| 389 | "Write": [{ |
| 390 | "LockFlag": "DontLock", |
| 391 | "SegmentLength": 7 |
| 392 | }, { |
| 393 | "LockFlag": "LockAll", |
| 394 | "SegmentLength": 0 |
| 395 | }] |
| 396 | }, |
| 397 | "WriteCase13": { |
| 398 | "Write": [{ |
| 399 | "LockFlag": "DontLock", |
| 400 | "SegmentLength": 3 |
| 401 | }, { |
| 402 | "LockFlag": "LockAll", |
| 403 | "SegmentLength": 0 |
| 404 | }] |
| 405 | }, |
| 406 | "WriteCase14": { |
| 407 | "Write": [{ |
| 408 | "LockFlag": "DontLock", |
| 409 | "SegmentLength": 7 |
| 410 | }, { |
| 411 | "LockFlag": "LockAll", |
| 412 | "SegmentLength": 1 |
| 413 | }] |
Sushil Singh | 3b3a7ec | 2020-11-23 03:54:06 -0600 | [diff] [blame] | 414 | }, |
| 415 | "WriteCase15": { |
| 416 | "Write": [{ |
| 417 | "LockFlag": "DontLock", |
| 418 | "SegmentLength": "3" |
| 419 | }, { |
| 420 | "LockFlag": "LockAll", |
| 421 | "SegmentLength": 1 |
| 422 | }] |
| 423 | }, |
| 424 | "WriteCase16": { |
| 425 | "Write": [{ |
| 426 | "LockFlag": "DontLock", |
| 427 | "SegmentLength": 3 |
| 428 | }, { |
| 429 | "LockFlag": "LockAll", |
| 430 | "SegmentLength": "1" |
| 431 | }] |
| 432 | }, |
| 433 | "WriteCase17": { |
| 434 | "Write": [{ |
| 435 | "LockFlag": "DontLock", |
| 436 | "SegmentLength": "Three" |
| 437 | }, { |
| 438 | "LockFlag": "LockAll", |
| 439 | "SegmentLength": 1 |
| 440 | }] |
| 441 | }, |
| 442 | "WriteCase18": { |
| 443 | "Write": [{ |
| 444 | "LockFlag": "DontLock", |
| 445 | "SegmentLength": 3 |
| 446 | }, { |
| 447 | "LockFlag": "LockAll", |
| 448 | "SegmentLength": "One" |
| 449 | }] |
Sushil Singh | d03f2ce | 2020-09-17 08:54:41 -0500 | [diff] [blame] | 450 | } |
| 451 | } |
| 452 | } |