Home
last modified time | relevance | path

Searched refs:TEST_INTEGER (Results 1 – 1 of 1) sorted by relevance

/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/
Dreadertest.cpp103 #define TEST_INTEGER(Handler, str, x) \ in TEST() macro
113 TEST_INTEGER(ParseUintHandler, "0", 0u); in TEST()
114 TEST_INTEGER(ParseUintHandler, "123", 123u); in TEST()
115TEST_INTEGER(ParseUintHandler, "2147483648", 2147483648u); // 2^31 - 1 (cannot be stored in … in TEST()
116 TEST_INTEGER(ParseUintHandler, "4294967295", 4294967295u); in TEST()
118 TEST_INTEGER(ParseIntHandler, "-123", -123); in TEST()
119TEST_INTEGER(ParseIntHandler, "-2147483648", static_cast<int32_t>(0x80000000)); // -2^31 (min … in TEST()
121TEST_INTEGER(ParseUint64Handler, "4294967296", RAPIDJSON_UINT64_C2(1, 0)); // 2^32 (max of unsig… in TEST()
122TEST_INTEGER(ParseUint64Handler, "18446744073709551615", RAPIDJSON_UINT64_C2(0xFFFFFFFF, 0xFFFFFFF… in TEST()
124TEST_INTEGER(ParseInt64Handler, "-2147483649", static_cast<int64_t>(RAPIDJSON_UINT64_C2(0xFFFFFFFF… in TEST()
[all …]