Searched refs:TEST_ASSERT_NOT_NULL (Results 1 - 14 of 14) sorted by relevance
/third_party/unity/extras/memory/test/ |
H A D | unity_memory_Test.c | 60 TEST_ASSERT_NOT_NULL(m); in test_ForceMallocFail() 70 TEST_ASSERT_NOT_NULL(m1); in test_ReallocSmallerIsUnchanged() 79 TEST_ASSERT_NOT_NULL(m1); in test_ReallocSameIsUnchanged() 88 TEST_ASSERT_NOT_NULL(m1); in test_ReallocLargerNeeded() 98 TEST_ASSERT_NOT_NULL(m); in test_ReallocNullPointerIsLikeMalloc() 113 TEST_ASSERT_NOT_NULL(m); in test_CallocFillsWithZero() 167 TEST_ASSERT_NOT_NULL(m); in test_DetectsLeak() 174 TEST_ASSERT_NOT_NULL(strstr(UnityOutputCharSpy_Get(), "This test leaks!")); in test_DetectsLeak() 186 TEST_ASSERT_NOT_NULL(m); in test_BufferOverrunFoundDuringFree() 194 TEST_ASSERT_NOT_NULL(strst in test_BufferOverrunFoundDuringFree() [all...] |
/third_party/cJSON/tests/ |
H A D | cjson_add.c | 55 TEST_ASSERT_NOT_NULL(null = cJSON_GetObjectItemCaseSensitive(root, "null")); in cjson_add_null_should_add_null() 91 TEST_ASSERT_NOT_NULL(true_item = cJSON_GetObjectItemCaseSensitive(root, "true")); in cjson_add_true_should_add_true() 171 TEST_ASSERT_NOT_NULL(false_item = cJSON_GetObjectItemCaseSensitive(root, "false")); in cjson_add_false_should_add_false() 208 TEST_ASSERT_NOT_NULL(true_item = cJSON_GetObjectItemCaseSensitive(root, "true")); in cjson_add_bool_should_add_bool() 213 TEST_ASSERT_NOT_NULL(false_item = cJSON_GetObjectItemCaseSensitive(root, "false")); in cjson_add_bool_should_add_bool() 249 TEST_ASSERT_NOT_NULL(number = cJSON_GetObjectItemCaseSensitive(root, "number")); in cjson_add_number_should_add_number() 289 TEST_ASSERT_NOT_NULL(number = cJSON_GetObjectItemCaseSensitive(root, "number")); in cjson_add_int64_number_should_add_int64_number() 329 TEST_ASSERT_NOT_NULL(string = cJSON_GetObjectItemCaseSensitive(root, "string")); in cjson_add_string_should_add_string() 366 TEST_ASSERT_NOT_NULL(raw = cJSON_GetObjectItemCaseSensitive(root, "raw")); in cjson_add_raw_should_add_raw() 402 TEST_ASSERT_NOT_NULL(objec in cJSON_add_object_should_add_object() [all...] |
H A D | parse_with_opts.c | 65 TEST_ASSERT_NOT_NULL(item); in parse_with_opts_should_require_null_if_requested() 68 TEST_ASSERT_NOT_NULL(item); in parse_with_opts_should_require_null_if_requested() 79 TEST_ASSERT_NOT_NULL(item); in parse_with_opts_should_return_parse_end() 90 TEST_ASSERT_NOT_NULL(with_bom); in parse_with_opts_should_parse_utf8_bom() 92 TEST_ASSERT_NOT_NULL(with_bom); in parse_with_opts_should_parse_utf8_bom()
|
H A D | minify_tests.c | 49 TEST_ASSERT_NOT_NULL(minified); in cjson_minify_should_remove_single_line_comments() 63 TEST_ASSERT_NOT_NULL(minified); in cjson_minify_should_remove_spaces() 77 TEST_ASSERT_NOT_NULL(minified); in cjson_minify_should_remove_multiline_comments() 91 TEST_ASSERT_NOT_NULL(minified); in cjson_minify_should_not_modify_strings()
|
H A D | misc_tests.c | 302 TEST_ASSERT_NOT_NULL(beginning); in cjson_replace_item_via_pointer_should_replace_items() 304 TEST_ASSERT_NOT_NULL(middle); in cjson_replace_item_via_pointer_should_replace_items() 306 TEST_ASSERT_NOT_NULL(end); in cjson_replace_item_via_pointer_should_replace_items() 309 TEST_ASSERT_NOT_NULL(array); in cjson_replace_item_via_pointer_should_replace_items() 347 TEST_ASSERT_NOT_NULL(child); in cjson_replace_item_in_object_should_preserve_name() 349 TEST_ASSERT_NOT_NULL(replacement); in cjson_replace_item_in_object_should_preserve_name() 479 TEST_ASSERT_NOT_NULL(buffer.buffer); in ensure_should_fail_on_failed_realloc() 604 TEST_ASSERT_NOT_NULL(object); in cjson_add_item_to_object_should_not_use_after_free_when_string_is_aliased() 605 TEST_ASSERT_NOT_NULL(number); in cjson_add_item_to_object_should_not_use_after_free_when_string_is_aliased() 606 TEST_ASSERT_NOT_NULL(nam in cjson_add_item_to_object_should_not_use_after_free_when_string_is_aliased() [all...] |
H A D | parse_array.c | 93 TEST_ASSERT_NOT_NULL(item->child); in parse_array_should_parse_arrays_with_one_element() 108 TEST_ASSERT_NOT_NULL(item->child->next); in parse_array_should_parse_arrays_with_multiple_elements() 109 TEST_ASSERT_NOT_NULL(item->child->next->next); in parse_array_should_parse_arrays_with_multiple_elements()
|
H A D | compare_tests.c | 142 TEST_ASSERT_NOT_NULL(raw1); in cjson_compare_should_compare_raw() 144 TEST_ASSERT_NOT_NULL(raw2); in cjson_compare_should_compare_raw()
|
H A D | json_patch_tests.c | 85 TEST_ASSERT_NOT_NULL(object); in test_apply_patch() 146 TEST_ASSERT_NOT_NULL(object); in test_generate_test()
|
H A D | misc_utils_tests.c | 35 TEST_ASSERT_NOT_NULL(item); in cjson_utils_functions_shouldnt_crash_with_null_pointers()
|
/third_party/cJSON/tests/unity/extras/fixture/test/ |
H A D | unity_fixture_Test.c | 373 TEST_ASSERT_NOT_NULL(m); in TEST() 392 TEST_ASSERT_NOT_NULL(m); in TEST() 411 TEST_ASSERT_NOT_NULL(m); in TEST() 430 TEST_ASSERT_NOT_NULL(m); in TEST() 450 TEST_ASSERT_NOT_NULL(m); in TEST() 496 TEST_ASSERT_NOT_NULL(m); in TEST() 508 TEST_ASSERT_NOT_NULL(m); in TEST() 520 TEST_ASSERT_NOT_NULL(m); in TEST() 538 TEST_ASSERT_NOT_NULL(m); /* Got a real memory location */ in TEST()
|
/third_party/unity/test/tests/ |
H A D | test_unity_core.c | 202 TEST_ASSERT_NOT_NULL(ptr2); in testIsNull() 219 TEST_ASSERT_NOT_NULL(ptr1); in testNotNullShouldFailIfNULL()
|
/third_party/cJSON/tests/unity/test/tests/ |
H A D | testunity.c | 205 TEST_ASSERT_NOT_NULL(ptr2); in testIsNull() 222 TEST_ASSERT_NOT_NULL(ptr1); in testNotNullShouldFailIfNULL()
|
/third_party/cJSON/tests/unity/src/ |
H A D | unity.h | 125 #define TEST_ASSERT_NOT_NULL(pointer) UNITY_TEST_ASSERT_NOT_NULL((pointer), __LINE__, " Expected Non-NULL") macro
|
/third_party/unity/src/ |
H A D | unity.h | 140 #define TEST_ASSERT_NOT_NULL(pointer) UNITY_TEST_ASSERT_NOT_NULL((pointer), __LINE__, " Expected Non-NULL") macro
|
Completed in 20 milliseconds