blob: 735ab0095894433f482cc7da47b0c3e297470dec [file] [log] [blame]
{
"Valid Case": {
"ResourceID": 234,
"ReadCase1": {
"Read": [
{
"LockFlag": "LockAll",
"SegmentLength": 2
},
{
"LockFlag": "DontLock",
"SegmentLength": 1
}
]
},
"ReadCase2": {
"Read": [
{
"LockFlag": "DontLock",
"SegmentLength": 3
},
{
"LockFlag": "LockAll",
"SegmentLength": 1
}
]
},
"ReadCase3": {
"Read": [
{
"LockFlag": "DontLock",
"SegmentLength": 4
},
{
"LockFlag": "LockSame",
"SegmentLength": 3
}
]
},
"ReadCase4": {
"Read": [
{
"LockFlag": "DontLock",
"SegmentLength": 2
},
{
"LockFlag": "LockSame",
"SegmentLength": 1
}
]
},
"ReadCase5": {
"Read": [
{
"LockFlag": "DontLock",
"SegmentLength": 2
},
{
"LockFlag": "LockAll",
"SegmentLength": 1
}
]
},
"ReadCase6": {
"Read": [
{
"LockFlag": "LockSame",
"SegmentLength": 2
},
{
"LockFlag": "DontLock",
"SegmentLength": 1
}
]
},
"ReadCase7": {
"Read": [
{
"LockFlag": "LockAll",
"SegmentLength": 2
},
{
"LockFlag": "DontLock",
"SegmentLength": 1
}
]
},
"WriteCase1": {
"Write": [
{
"LockFlag": "LockAll",
"SegmentLength": 2
},
{
"LockFlag": "DontLock",
"SegmentLength": 1
}
]
},
"WriteCase2": {
"Write": [
{
"LockFlag": "DontLock",
"SegmentLength": 3
},
{
"LockFlag": "LockAll",
"SegmentLength": 1
}
]
},
"WriteCase3": {
"Write": [
{
"LockFlag": "DontLock",
"SegmentLength": 4
},
{
"LockFlag": "LockSame",
"SegmentLength": 3
}
]
},
"WriteCase4": {
"Write": [
{
"LockFlag": "DontLock",
"SegmentLength": 2
},
{
"LockFlag": "LockAll",
"SegmentLength": 1
}
]
},
"WriteCase5": {
"Write": [
{
"LockFlag": "DontLock",
"SegmentLength": 2
},
{
"LockFlag": "LockSame",
"SegmentLength": 1
}
]
},
"WriteCase6": {
"Write": [
{
"LockFlag": "LockAll",
"SegmentLength": 2
},
{
"LockFlag": "DontLock",
"SegmentLength": 1
}
]
},
"WriteCase7": {
"Write": [
{
"LockFlag": "LockSame",
"SegmentLength": 2
},
{
"LockFlag": "DontLock",
"SegmentLength": 1
}
]
}
},
"Invalid Case": {
"ResourceIDInvalidDataType": "234",
"ReadCase1": {
"read": [
{
"LockFlag": "DontLock",
"SegmentLength": 3
},
{
"LockFlag": "LockSame",
"SegmentLength": 1
}
]
},
"ReadCase2": {
"READ": [
{
"LockFlag": "DontLock",
"SegmentLength": 3
},
{
"LockFlag": "LockSame",
"SegmentLength": 1
}
]
},
"ReadCase3": {
"Red": [
{
"LockFlag": "DontLock",
"SegmentLength": 3
},
{
"LockFlag": "LockSame",
"SegmentLength": 1
}
]
},
"ReadCase4": {
"*Read": [
{
"LockFlag": "DontLock",
"SegmentLength": 3
},
{
"LockFlag": "LockSame",
"SegmentLength": 1
}
]
},
"ReadCase5": {
"ReaD": [
{
"LockFlag": "DontLock",
"SegmentLength": 3
},
{
"LockFlag": "LockSame",
"SegmentLength": 1
}
]
},
"ReadCase6": {
"Read": [
{
"LockFlag": "lockall",
"SegmentLength": 1
}
]
},
"ReadCase7": {
"Read": [
{
"LockFlag": "DontLock",
"SegmentLength": 3
},
{
"LockFlag": "locksame",
"SegmentLength": 1
}
]
},
"ReadCase8": {
"Read": [
{
"LockFlag": "dontlock",
"SegmentLength": 3
},
{
"LockFlag": "locksame",
"SegmentLength": 1
}
]
},
"ReadCase9": {
"Read": [
{
"LockFlag": "ontLock",
"SegmentLength": 3
},
{
"LockFlag": "LockAll",
"SegmentLength": 1
}
]
},
"ReadCase10": {
"Read": [
{
"LockFlag": "*DontLock",
"SegmentLength": 3
},
{
"LockFlag": "LockAll",
"SegmentLength": 1
}
]
},
"ReadCase11": {
"Read": [
{
"LockFlag": "dontlock",
"SegmentLength": 3
},
{
"LockFlag": "lockall",
"SegmentLength": 1
}
]
},
"ReadCase12": {
"Read": [
{
"LockFlag": "DontLock",
"SegmentLength": 7
},
{
"LockFlag": "LockAll",
"SegmentLength": 0
}
]
},
"ReadCase13": {
"Read": [
{
"LockFlag": "DontLock",
"SegmentLength": 3
},
{
"LockFlag": "LockAll",
"SegmentLength": 0
}
]
},
"ReadCase14": {
"Read": [
{
"LockFlag": "DontLock",
"SegmentLength": 7
},
{
"LockFlag": "LockAll",
"SegmentLength": 1
}
]
},
"ReadCase15": {
"Read": [
{
"LockFlag": "DontLock",
"SegmentLength": "3"
},
{
"LockFlag": "LockAll",
"SegmentLength": 1
}
]
},
"ReadCase16": {
"Read": [
{
"LockFlag": "DontLock",
"SegmentLength": 3
},
{
"LockFlag": "LockAll",
"SegmentLength": "1"
}
]
},
"ReadCase17": {
"Read": [
{
"LockFlag": "DontLock",
"SegmentLength": "Three"
},
{
"LockFlag": "LockAll",
"SegmentLength": 1
}
]
},
"ReadCase18": {
"Read": [
{
"LockFlag": "DontLock",
"SegmentLength": 3
},
{
"LockFlag": "LockAll",
"SegmentLength": "One"
}
]
},
"WriteCase1": {
"write": [
{
"LockFlag": "DontLock",
"SegmentLength": 3
},
{
"LockFlag": "LockSame",
"SegmentLength": 1
}
]
},
"WriteCase2": {
"WRITE": [
{
"LockFlag": "DontLock",
"SegmentLength": 3
},
{
"LockFlag": "LockSame",
"SegmentLength": 1
}
]
},
"WriteCase3": {
"*Write": [
{
"LockFlag": "DontLock",
"SegmentLength": 3
},
{
"LockFlag": "LockSame",
"SegmentLength": 1
}
]
},
"WriteCase4": {
"Wrte": [
{
"LockFlag": "DontLock",
"SegmentLength": 3
},
{
"LockFlag": "LockSame",
"SegmentLength": 1
}
]
},
"WriteCase5": {
"WritE": [
{
"LockFlag": "DontLock",
"SegmentLength": 3
},
{
"LockFlag": "LockSame",
"SegmentLength": 1
}
]
},
"WriteCase6": {
"Write": [
{
"LockFlag": "lockall",
"SegmentLength": 1
}
]
},
"WriteCase7": {
"Write": [
{
"LockFlag": "DontLock",
"SegmentLength": 3
},
{
"LockFlag": "locksame",
"SegmentLength": 1
}
]
},
"WriteCase8": {
"Write": [
{
"LockFlag": "dontlock",
"SegmentLength": 3
},
{
"LockFlag": "locksame",
"SegmentLength": 1
}
]
},
"WriteCase9": {
"Write": [
{
"LockFlag": "ontLock",
"SegmentLength": 3
},
{
"LockFlag": "LockAll",
"SegmentLength": 1
}
]
},
"WriteCase10": {
"Write": [
{
"LockFlag": "*DontLock",
"SegmentLength": 3
},
{
"LockFlag": "LockAll",
"SegmentLength": 1
}
]
},
"WriteCase11": {
"Write": [
{
"LockFlag": "dontlock",
"SegmentLength": 3
},
{
"LockFlag": "lockall",
"SegmentLength": 1
}
]
},
"WriteCase12": {
"Write": [
{
"LockFlag": "DontLock",
"SegmentLength": 7
},
{
"LockFlag": "LockAll",
"SegmentLength": 0
}
]
},
"WriteCase13": {
"Write": [
{
"LockFlag": "DontLock",
"SegmentLength": 3
},
{
"LockFlag": "LockAll",
"SegmentLength": 0
}
]
},
"WriteCase14": {
"Write": [
{
"LockFlag": "DontLock",
"SegmentLength": 7
},
{
"LockFlag": "LockAll",
"SegmentLength": 1
}
]
},
"WriteCase15": {
"Write": [
{
"LockFlag": "DontLock",
"SegmentLength": "3"
},
{
"LockFlag": "LockAll",
"SegmentLength": 1
}
]
},
"WriteCase16": {
"Write": [
{
"LockFlag": "DontLock",
"SegmentLength": 3
},
{
"LockFlag": "LockAll",
"SegmentLength": "1"
}
]
},
"WriteCase17": {
"Write": [
{
"LockFlag": "DontLock",
"SegmentLength": "Three"
},
{
"LockFlag": "LockAll",
"SegmentLength": 1
}
]
},
"WriteCase18": {
"Write": [
{
"LockFlag": "DontLock",
"SegmentLength": 3
},
{
"LockFlag": "LockAll",
"SegmentLength": "One"
}
]
}
}
}