Add failing test for LIST round-trip
This commit is contained in:
parent
7fd31b9bab
commit
4a9fd9016e
@ -119,5 +119,18 @@ TestRegister.addTests([
|
|||||||
{ op: "From Hex", args: ["Auto"] },
|
{ op: "From Hex", args: ["Auto"] },
|
||||||
{ op: "Thrift Deserialize", args: ["TCompactProtocol"] }
|
{ op: "Thrift Deserialize", args: ["TCompactProtocol"] }
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "Thrift Deserialize/Serialize: TBinaryProtocol List round-trip",
|
||||||
|
// Validates that a TBinaryProtocal LIST is successfully deserialised
|
||||||
|
// and that the result can be Serialized back into the original binary data
|
||||||
|
input: "0f 00 0b 08 00 00 00 03 00 00 00 01 00 00 00 02 00 00 00 03 00",
|
||||||
|
expectedOutput: "0f 00 0b 08 00 00 00 03 00 00 00 01 00 00 00 02 00 00 00 03 00",
|
||||||
|
recipeConfig: [
|
||||||
|
{ "op": "From Hex", "args": ["Auto"] },
|
||||||
|
{ "op": "Thrift Deserialize", "args": ["TBinaryProtocol"] },
|
||||||
|
{ "op": "Thrift Serialize", "args": [] },
|
||||||
|
{ "op": "To Hex", "args": ["Space", 0] }
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]);
|
]);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user