Home
last modified time | relevance | path

Searched defs:ParseObjectHandler (Results 1 – 1 of 1) sorted by relevance

/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/
Dreadertest.cpp753 struct ParseObjectHandler : BaseReaderHandler<UTF8<>, ParseObjectHandler> { struct
754 ParseObjectHandler() : step_(0) {} in ParseObjectHandler() argument
756 bool Default() { ADD_FAILURE(); return false; } in Default()
757 bool Null() { EXPECT_EQ(8u, step_); step_++; return true; } in Null()
758 bool Bool(bool b) { in Bool()
765 bool Int(int i) { in Int()
774 bool Uint(unsigned i) { return Int(i); } in Uint()
775 …bool Double(double d) { EXPECT_EQ(12u, step_); EXPECT_DOUBLE_EQ(3.1416, d); step_++; return true; } in Double()
776 bool String(const char* str, size_t, bool) { in String()
804 ParseObjectHandler h; in TEST() argument