Home
last modified time | relevance | path

Searched refs:TEST_ASSERT_NULL_MESSAGE (Results 1 - 7 of 7) sorted by relevance

/third_party/cJSON/tests/
H A Dmisc_int64_tests.c45 TEST_ASSERT_NULL_MESSAGE(found, "Failed to fail on NULL pointer."); in cjson_get_object_item_should_get_object_items_with_int64()
48 TEST_ASSERT_NULL_MESSAGE(found, "Failed to fail on NULL string."); in cjson_get_object_item_should_get_object_items_with_int64()
66 TEST_ASSERT_NULL_MESSAGE(found, "Should not find something that isn't there."); in cjson_get_object_item_should_get_object_items_with_int64()
79 TEST_ASSERT_NULL_MESSAGE(found, "Failed to fail on NULL pointer."); in cjson_get_object_item_case_sensitive_should_get_object_items_with_int64()
82 TEST_ASSERT_NULL_MESSAGE(found, "Failed to fail on NULL string."); in cjson_get_object_item_case_sensitive_should_get_object_items_with_int64()
100 TEST_ASSERT_NULL_MESSAGE(found, "Should not find something that isn't there."); in cjson_get_object_item_case_sensitive_should_get_object_items_with_int64()
H A Dcommon.h107 #define assert_has_no_valuestring(item) TEST_ASSERT_NULL_MESSAGE(item->valuestring, "Valuestring is not NULL.")
109 #define assert_has_no_string(item) TEST_ASSERT_NULL_MESSAGE(item->string, "String is not NULL.")
111 TEST_ASSERT_NULL_MESSAGE(item->next, "Linked list next pointer is not NULL.");\
112 TEST_ASSERT_NULL_MESSAGE(item->prev, "Linked list previous pointer is not NULL.")
114 #define assert_has_no_child(item) TEST_ASSERT_NULL_MESSAGE(item->child, "Item has a child.")
H A Dparse_with_opts.c31 TEST_ASSERT_NULL_MESSAGE(cJSON_ParseWithOpts(NULL, &error_pointer, false), "Failed to handle NULL input."); in parse_with_opts_should_handle_null()
35 TEST_ASSERT_NULL_MESSAGE(cJSON_ParseWithOpts(NULL, NULL, false), "Failed to handle both NULL."); in parse_with_opts_should_handle_null()
36 TEST_ASSERT_NULL_MESSAGE(cJSON_ParseWithOpts("{", NULL, false), "Failed to handle NULL error pointer with parse error."); in parse_with_opts_should_handle_null()
H A Dparse_examples.c143 TEST_ASSERT_NULL_MESSAGE(tree, "Should fail to parse what is not JSON."); in file_test6_should_not_be_parsed()
188 TEST_ASSERT_NULL_MESSAGE(tree, "Should fail to parse incomplete JSON."); in test12_should_not_be_parsed()
245 TEST_ASSERT_NULL_MESSAGE(tree, "Should not continue after buffer_length is reached."); in test14_should_not_be_parsed()
H A Dmisc_tests.c74 TEST_ASSERT_NULL_MESSAGE(found, "Failed to fail on NULL pointer."); in cjson_get_object_item_should_get_object_items()
77 TEST_ASSERT_NULL_MESSAGE(found, "Failed to fail on NULL string."); in cjson_get_object_item_should_get_object_items()
92 TEST_ASSERT_NULL_MESSAGE(found, "Should not find something that isn't there."); in cjson_get_object_item_should_get_object_items()
105 TEST_ASSERT_NULL_MESSAGE(found, "Failed to fail on NULL pointer."); in cjson_get_object_item_case_sensitive_should_get_object_items()
108 TEST_ASSERT_NULL_MESSAGE(found, "Failed to fail on NULL string."); in cjson_get_object_item_case_sensitive_should_get_object_items()
123 TEST_ASSERT_NULL_MESSAGE(found, "Should not find something that isn't there."); in cjson_get_object_item_case_sensitive_should_get_object_items()
219 TEST_ASSERT_NULL_MESSAGE(cJSON_Parse(deep_json), "To deep JSONs should not be parsed."); in cjson_should_not_parse_to_deeply_nested_jsons()
290 TEST_ASSERT_NULL_MESSAGE(parent->child, "Child of the parent wasn't set to NULL."); in cjson_detach_item_via_pointer_should_detach_items()
481 TEST_ASSERT_NULL_MESSAGE(ensure(&buffer, 200), "Ensure didn't fail with failing realloc."); in ensure_should_fail_on_failed_realloc()
680 TEST_ASSERT_NULL_MESSAGE(return_valu in cjson_set_valuestring_to_object_should_not_leak_memory()
[all...]
/third_party/cJSON/tests/unity/src/
H A Dunity.h316 #define TEST_ASSERT_NULL_MESSAGE(pointer, message) UNITY_TEST_ASSERT_NULL( (pointer), __LINE__, (message)) macro
/third_party/unity/src/
H A Dunity.h421 #define TEST_ASSERT_NULL_MESSAGE(pointer, message) UNITY_TEST_ASSERT_NULL( (pointer), __LINE__, (message)) macro

Completed in 9 milliseconds