Home
last modified time | relevance | path

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

/external/jsoncpp/src/test_lib_json/
Dmain.cpp190 JSONTEST_ASSERT_EQUAL(Json::objectValue, emptyObject_.type()); in JSONTEST_FIXTURE_LOCAL()
212 JSONTEST_ASSERT_EQUAL(Json::Value(1234), constObject["id"]); in JSONTEST_FIXTURE_LOCAL()
213 JSONTEST_ASSERT_EQUAL(Json::Value(), constObject["unknown id"]); in JSONTEST_FIXTURE_LOCAL()
219 JSONTEST_ASSERT_EQUAL(Json::Value(1234), *foundId); in JSONTEST_FIXTURE_LOCAL()
224 JSONTEST_ASSERT_EQUAL(nullptr, foundUnknownId); in JSONTEST_FIXTURE_LOCAL()
230 JSONTEST_ASSERT_EQUAL(nullptr, foundYetAnotherId); in JSONTEST_FIXTURE_LOCAL()
236 JSONTEST_ASSERT_EQUAL(Json::Value("baz"), object1_["yet another id"]); in JSONTEST_FIXTURE_LOCAL()
239 JSONTEST_ASSERT_EQUAL(Json::Value(1234), object1_["id"]); in JSONTEST_FIXTURE_LOCAL()
240 JSONTEST_ASSERT_EQUAL(Json::Value(), object1_["unknown id"]); in JSONTEST_FIXTURE_LOCAL()
243 JSONTEST_ASSERT_EQUAL(Json::Value("foo"), object1_["some other id"]); in JSONTEST_FIXTURE_LOCAL()
[all …]
Djsontest.h221 #define JSONTEST_ASSERT_EQUAL(expected, actual) \ macro