Searched refs:AssertException (Results 1 – 4 of 4) sorted by relevance
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/ |
D | writertest.cpp | 204 ASSERT_THROW(writer.EndObject(), AssertException); in TEST() 212 ASSERT_THROW(writer.EndArray(), AssertException); in TEST() 219 ASSERT_THROW(writer.EndArray(), AssertException); in TEST() 226 ASSERT_THROW(writer.EndArray(), AssertException); in TEST() 235 ASSERT_THROW(x, AssertException); \ in TEST() 256 ASSERT_THROW(writer.StartObject(), AssertException); in TEST() 260 ASSERT_THROW(writer.Int(0), AssertException); in TEST() 264 ASSERT_THROW(writer.StartArray(), AssertException); in TEST() 356 EXPECT_THROW(writer.EndArray(), AssertException); in TEST() 365 EXPECT_THROW(writer.EndObject(), AssertException); in TEST() [all …]
|
D | unittest.h | 87 class AssertException : public std::logic_error { 89 AssertException(const char* w) : std::logic_error(w) {} in AssertException() function 92 #define RAPIDJSON_ASSERT(x) if (!(x)) throw AssertException(RAPIDJSON_STRINGIFY(x))
|
D | documenttest.cpp | 288 ASSERT_THROW(doc.Accept(writer), AssertException); in TEST()
|
D | valuetest.cpp | 712 EXPECT_THROW(v.SetString(0, 0), AssertException); in TEST() 1028 EXPECT_THROW(x["nonexist"], AssertException); in TEST()
|