Home
last modified time | relevance | path

Searched refs:TEST_ASSERT_EQUAL_PTR (Results 1 - 9 of 9) sorted by relevance

/third_party/cJSON/tests/
H A Dold_utils_tests.c71 TEST_ASSERT_EQUAL_PTR(cJSONUtils_GetPointer(root, ""), root); in json_pointer_tests()
72 TEST_ASSERT_EQUAL_PTR(cJSONUtils_GetPointer(root, "/foo"), cJSON_GetObjectItem(root, "foo")); in json_pointer_tests()
73 TEST_ASSERT_EQUAL_PTR(cJSONUtils_GetPointer(root, "/foo/0"), cJSON_GetObjectItem(root, "foo")->child); in json_pointer_tests()
74 TEST_ASSERT_EQUAL_PTR(cJSONUtils_GetPointer(root, "/foo/0"), cJSON_GetObjectItem(root, "foo")->child); in json_pointer_tests()
75 TEST_ASSERT_EQUAL_PTR(cJSONUtils_GetPointer(root, "/"), cJSON_GetObjectItem(root, "")); in json_pointer_tests()
76 TEST_ASSERT_EQUAL_PTR(cJSONUtils_GetPointer(root, "/a~1b"), cJSON_GetObjectItem(root, "a/b")); in json_pointer_tests()
77 TEST_ASSERT_EQUAL_PTR(cJSONUtils_GetPointer(root, "/c%d"), cJSON_GetObjectItem(root, "c%d")); in json_pointer_tests()
78 TEST_ASSERT_EQUAL_PTR(cJSONUtils_GetPointer(root, "/c^f"), cJSON_GetObjectItem(root, "c^f")); in json_pointer_tests()
79 TEST_ASSERT_EQUAL_PTR(cJSONUtils_GetPointer(root, "/c|f"), cJSON_GetObjectItem(root, "c|f")); in json_pointer_tests()
80 TEST_ASSERT_EQUAL_PTR(cJSONUtils_GetPointe in json_pointer_tests()
[all...]
H A Dparse_with_opts.c45 TEST_ASSERT_EQUAL_PTR(empty_string, cJSON_GetErrorPtr()); in parse_with_opts_should_handle_empty_strings()
48 TEST_ASSERT_EQUAL_PTR(empty_string, error_pointer); in parse_with_opts_should_handle_empty_strings()
49 TEST_ASSERT_EQUAL_PTR(empty_string, cJSON_GetErrorPtr()); in parse_with_opts_should_handle_empty_strings()
58 TEST_ASSERT_EQUAL_PTR(json + strlen(json), parse_end); in parse_with_opts_should_handle_incomplete_json()
59 TEST_ASSERT_EQUAL_PTR(json + strlen(json), cJSON_GetErrorPtr()); in parse_with_opts_should_handle_incomplete_json()
80 TEST_ASSERT_EQUAL_PTR(json + 2, parse_end); in parse_with_opts_should_return_parse_end()
/third_party/unity/extras/memory/test/
H A Dunity_memory_Test.c62 TEST_ASSERT_EQUAL_PTR(0, mfails); in test_ForceMallocFail()
71 TEST_ASSERT_EQUAL_PTR(m1, m2); in test_ReallocSmallerIsUnchanged()
80 TEST_ASSERT_EQUAL_PTR(m1, m2); in test_ReallocSameIsUnchanged()
106 TEST_ASSERT_EQUAL_PTR(0, m2); in test_ReallocSizeZeroFreesMemAndReturnsNullPointer()
/third_party/cJSON/tests/unity/extras/fixture/src/
H A Dunity_fixture.h71 #define TEST_ASSERT_POINTERS_EQUAL(expected, actual) TEST_ASSERT_EQUAL_PTR((expected), (actual))
/third_party/unity/extras/fixture/src/
H A Dunity_fixture.h81 #define TEST_ASSERT_POINTERS_EQUAL(expected, actual) TEST_ASSERT_EQUAL_PTR((expected), (actual))
/third_party/unity/test/tests/
H A Dtest_unity_integers.c689 TEST_ASSERT_EQUAL_PTR(p0, &v0); in testEqualPointers()
690 TEST_ASSERT_EQUAL_PTR(&v1, p1); in testEqualPointers()
691 TEST_ASSERT_EQUAL_PTR(p2, p1); in testEqualPointers()
692 TEST_ASSERT_EQUAL_PTR(&v0, &v0); in testEqualPointers()
698 TEST_ASSERT_EQUAL_PTR(0x12345678, 0x12345677); in testNotEqualPointers()
/third_party/cJSON/tests/unity/test/tests/
H A Dtestunity.c860 TEST_ASSERT_EQUAL_PTR(p0, &v0); in testEqualPointers()
861 TEST_ASSERT_EQUAL_PTR(&v1, p1); in testEqualPointers()
862 TEST_ASSERT_EQUAL_PTR(p2, p1); in testEqualPointers()
863 TEST_ASSERT_EQUAL_PTR(&v0, &v0); in testEqualPointers()
869 TEST_ASSERT_EQUAL_PTR(0x12345678, 0x12345677); in testNotEqualPointers()
/third_party/cJSON/tests/unity/src/
H A Dunity.h234 #define TEST_ASSERT_EQUAL_PTR(expected, actual) UNITY_TEST_ASSERT_EQUAL_PTR((expected), (actual), __LINE__, NULL) macro
/third_party/unity/src/
H A Dunity.h299 #define TEST_ASSERT_EQUAL_PTR(expected, actual) UNITY_TEST_ASSERT_EQUAL_PTR((expected), (actual), __LINE__, NULL) macro

Completed in 17 milliseconds