Home
last modified time | relevance | path

Searched refs:TEST_ASSERT_NOT_NULL_MESSAGE (Results 1 - 16 of 16) sorted by relevance

/third_party/cJSON/tests/
H A Dparse_examples.c63 TEST_ASSERT_NOT_NULL_MESSAGE(test_path, "Failed to allocate test_path buffer."); in do_test()
65 TEST_ASSERT_NOT_NULL_MESSAGE(expected_path, "Failed to allocate expected_path buffer."); in do_test()
73 TEST_ASSERT_NOT_NULL_MESSAGE(expected, "Failed to read expected output."); in do_test()
77 TEST_ASSERT_NOT_NULL_MESSAGE(tree, "Failed to read of parse test."); in do_test()
81 TEST_ASSERT_NOT_NULL_MESSAGE(actual, "Failed to print tree back to JSON."); in do_test()
140 TEST_ASSERT_NOT_NULL_MESSAGE(test6, "Failed to read test6 data."); in file_test6_should_not_be_parsed()
219 TEST_ASSERT_NOT_NULL_MESSAGE(tree, "Failed to parse valid json."); in test13_should_be_parsed_without_null_termination()
H A Djson_patch_tests.c38 TEST_ASSERT_NOT_NULL_MESSAGE(file, "Failed to read file."); in parse_test_file()
41 TEST_ASSERT_NOT_NULL_MESSAGE(json, "Failed to parse test json."); in parse_test_file()
80 TEST_ASSERT_NOT_NULL_MESSAGE(doc, "No \"doc\" in the test."); in test_apply_patch()
82 TEST_ASSERT_NOT_NULL_MESSAGE(patch, "No \"patch\"in the test."); in test_apply_patch()
142 TEST_ASSERT_NOT_NULL_MESSAGE(doc, "No \"doc\" in the test."); in test_generate_test()
157 TEST_ASSERT_NOT_NULL_MESSAGE(patch, "Failed to generate patches."); in test_generate_test()
H A Dmisc_int64_tests.c51 TEST_ASSERT_NOT_NULL_MESSAGE(found, "Failed to find first item."); in cjson_get_object_item_should_get_object_items_with_int64()
56 TEST_ASSERT_NOT_NULL_MESSAGE(found, "Failed to find first item."); in cjson_get_object_item_should_get_object_items_with_int64()
61 TEST_ASSERT_NOT_NULL_MESSAGE(found, "Failed to find item."); in cjson_get_object_item_should_get_object_items_with_int64()
85 TEST_ASSERT_NOT_NULL_MESSAGE(found, "Failed to find first item."); in cjson_get_object_item_case_sensitive_should_get_object_items_with_int64()
90 TEST_ASSERT_NOT_NULL_MESSAGE(found, "Failed to find first item."); in cjson_get_object_item_case_sensitive_should_get_object_items_with_int64()
95 TEST_ASSERT_NOT_NULL_MESSAGE(found, "Failed to find item."); in cjson_get_object_item_case_sensitive_should_get_object_items_with_int64()
H A Dcommon.h106 #define assert_has_valuestring(item) TEST_ASSERT_NOT_NULL_MESSAGE(item->valuestring, "Valuestring is NULL.")
108 #define assert_has_string(item) TEST_ASSERT_NOT_NULL_MESSAGE(item->string, "String is NULL")
113 #define assert_has_child(item) TEST_ASSERT_NOT_NULL_MESSAGE(item->child, "Item doesn't have a child.")
H A Dparse_object.c35 TEST_ASSERT_NOT_NULL_MESSAGE(object_item, "Item is NULL."); in assert_is_object()
47 TEST_ASSERT_NOT_NULL_MESSAGE(child_item, "Child item is NULL."); in assert_is_child()
48 TEST_ASSERT_NOT_NULL_MESSAGE(child_item->string, "Child item doesn't have a name."); in assert_is_child()
H A Dcompare_tests.c34 TEST_ASSERT_NOT_NULL_MESSAGE(a_json, "Failed to parse a."); in compare_from_string()
36 TEST_ASSERT_NOT_NULL_MESSAGE(b_json, "Failed to parse b."); in compare_from_string()
H A Dmisc_tests.c80 TEST_ASSERT_NOT_NULL_MESSAGE(found, "Failed to find first item."); in cjson_get_object_item_should_get_object_items()
84 TEST_ASSERT_NOT_NULL_MESSAGE(found, "Failed to find first item."); in cjson_get_object_item_should_get_object_items()
88 TEST_ASSERT_NOT_NULL_MESSAGE(found, "Failed to find item."); in cjson_get_object_item_should_get_object_items()
111 TEST_ASSERT_NOT_NULL_MESSAGE(found, "Failed to find first item."); in cjson_get_object_item_case_sensitive_should_get_object_items()
115 TEST_ASSERT_NOT_NULL_MESSAGE(found, "Failed to find first item."); in cjson_get_object_item_case_sensitive_should_get_object_items()
119 TEST_ASSERT_NOT_NULL_MESSAGE(found, "Failed to find item."); in cjson_get_object_item_case_sensitive_should_get_object_items()
H A Dparse_value.c35 TEST_ASSERT_NOT_NULL_MESSAGE(value_item, "Item is NULL."); in assert_is_value()
H A Dparse_string.c35 TEST_ASSERT_NOT_NULL_MESSAGE(string_item, "Item is NULL."); in assert_is_string()
H A Dparse_with_opts.c33 TEST_ASSERT_NOT_NULL_MESSAGE(item, "Failed to handle NULL error pointer."); in parse_with_opts_should_handle_null()
H A Dparse_array.c35 TEST_ASSERT_NOT_NULL_MESSAGE(array_item, "Item is NULL."); in assert_is_array()
H A Dparse_number.c35 TEST_ASSERT_NOT_NULL_MESSAGE(number_item, "Item is NULL."); in assert_is_number()
/third_party/cJSON/tests/unity/extras/fixture/test/
H A Dunity_output_Spy.c26 TEST_ASSERT_NOT_NULL_MESSAGE(buffer, "Internal malloc failed in Spy Create():" __FILE__); in UnityOutputCharSpy_Create()
/third_party/unity/extras/memory/test/
H A Dunity_output_Spy.c25 TEST_ASSERT_NOT_NULL_MESSAGE(buffer, "Internal malloc failed in Spy Create():" __FILE__); in UnityOutputCharSpy_Create()
/third_party/cJSON/tests/unity/src/
H A Dunity.h317 #define TEST_ASSERT_NOT_NULL_MESSAGE(pointer, message) UNITY_TEST_ASSERT_NOT_NULL((pointer), __LINE__, (message)) macro
/third_party/unity/src/
H A Dunity.h422 #define TEST_ASSERT_NOT_NULL_MESSAGE(pointer, message) UNITY_TEST_ASSERT_NOT_NULL((pointer), __LINE__, (message)) macro

Completed in 11 milliseconds