summaryrefslogtreecommitdiff
path: root/src/mongo/gotools/test/qa-tests/jstests/import/testdata/types.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/gotools/test/qa-tests/jstests/import/testdata/types.json')
-rw-r--r--src/mongo/gotools/test/qa-tests/jstests/import/testdata/types.json27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/mongo/gotools/test/qa-tests/jstests/import/testdata/types.json b/src/mongo/gotools/test/qa-tests/jstests/import/testdata/types.json
new file mode 100644
index 00000000000..692d7999709
--- /dev/null
+++ b/src/mongo/gotools/test/qa-tests/jstests/import/testdata/types.json
@@ -0,0 +1,27 @@
+{ "double_type" : 5.0,
+ "double_exponent_type" : 5e+32,
+ "double_negative_type" : -5.0,
+ "NaN": NaN,
+ "infinity" : Infinity,
+ "negative_infinity" : -Infinity,
+ "string_type" : "sample string",
+ "object_type" : {"sample" : "object"},
+ "binary_data" : BinData(3, "e8MEnzZoFyMmD7WSHdNrFJyEk8M="),
+ "undefined_type" : undefined,
+ "object_id_type" : ObjectId("54b03ef2a817f4f960f5b809"),
+ "true_type" : true,
+ "false_type" : false,
+ "date_type" : Date(45),
+ "iso_date_type" : ISODate("2015-02-25T16:42:11Z"),
+ "null_type" : null,
+ "int32_type" : 5,
+ "int32_negative_type" : -5,
+ "number_int_type" : NumberInt(5),
+ "int32_hex" : 0x123,
+ "int64_type" : 214748364765,
+ "int64_negative_type" : -214748364765,
+ "number_long_type" : NumberLong(5000),
+ "minkey_type" : { "$minKey" : 1 },
+ "maxkey_type" : { "$maxKey" : 1 },
+ "regex_type" : { "$regex" : "\\.", "$options" : "" }
+}