Searched refs:TEST_ASSERT_NOT_NULL_MESSAGE (Results 1 - 16 of 16) sorted by relevance
/third_party/cJSON/tests/ |
H A D | parse_examples.c | 63 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 D | json_patch_tests.c | 38 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 D | misc_int64_tests.c | 51 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 D | common.h | 106 #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 D | parse_object.c | 35 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 D | compare_tests.c | 34 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 D | misc_tests.c | 80 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 D | parse_value.c | 35 TEST_ASSERT_NOT_NULL_MESSAGE(value_item, "Item is NULL."); in assert_is_value()
|
H A D | parse_string.c | 35 TEST_ASSERT_NOT_NULL_MESSAGE(string_item, "Item is NULL."); in assert_is_string()
|
H A D | parse_with_opts.c | 33 TEST_ASSERT_NOT_NULL_MESSAGE(item, "Failed to handle NULL error pointer."); in parse_with_opts_should_handle_null()
|
H A D | parse_array.c | 35 TEST_ASSERT_NOT_NULL_MESSAGE(array_item, "Item is NULL."); in assert_is_array()
|
H A D | parse_number.c | 35 TEST_ASSERT_NOT_NULL_MESSAGE(number_item, "Item is NULL."); in assert_is_number()
|
/third_party/cJSON/tests/unity/extras/fixture/test/ |
H A D | unity_output_Spy.c | 26 TEST_ASSERT_NOT_NULL_MESSAGE(buffer, "Internal malloc failed in Spy Create():" __FILE__); in UnityOutputCharSpy_Create()
|
/third_party/unity/extras/memory/test/ |
H A D | unity_output_Spy.c | 25 TEST_ASSERT_NOT_NULL_MESSAGE(buffer, "Internal malloc failed in Spy Create():" __FILE__); in UnityOutputCharSpy_Create()
|
/third_party/cJSON/tests/unity/src/ |
H A D | unity.h | 317 #define TEST_ASSERT_NOT_NULL_MESSAGE(pointer, message) UNITY_TEST_ASSERT_NOT_NULL((pointer), __LINE__, (message)) macro
|
/third_party/unity/src/ |
H A D | unity.h | 422 #define TEST_ASSERT_NOT_NULL_MESSAGE(pointer, message) UNITY_TEST_ASSERT_NOT_NULL((pointer), __LINE__, (message)) macro
|
Completed in 11 milliseconds