pike.git / lib / modules / Standards.pmod / BSON.pmod / tests / timestamp.json

version» Context lines:

pike.git/lib/modules/Standards.pmod/BSON.pmod/tests/timestamp.json:1: -  + { +  "description": "Timestamp type", +  "bson_type": "0x11", +  "test_key": "a", +  "valid": [ +  { +  "description": "Timestamp: (123456789, 42)", +  "canonical_bson": "100000001161002A00000015CD5B0700", +  "canonical_extjson": "{\"a\" : {\"$timestamp\" : {\"t\" : 123456789, \"i\" : 42} } }" +  }, +  { +  "description": "Timestamp: (123456789, 42) (keys reversed)", +  "canonical_bson": "100000001161002A00000015CD5B0700", +  "canonical_extjson": "{\"a\" : {\"$timestamp\" : {\"t\" : 123456789, \"i\" : 42} } }", +  "degenerate_extjson": "{\"a\" : {\"$timestamp\" : {\"i\" : 42, \"t\" : 123456789} } }" +  }, +  { +  "description": "Timestamp with high-order bit set on both seconds and increment", +  "canonical_bson": "10000000116100FFFFFFFFFFFFFFFF00", +  "canonical_extjson": "{\"a\" : {\"$timestamp\" : {\"t\" : 4294967295, \"i\" : 4294967295} } }" +  } +  ], +  "decodeErrors": [ +  { +  "description": "Truncated timestamp field", +  "bson": "0f0000001161002A00000015CD5B00" +  } +  ] + }   Newline at end of file added.