Searched refs:TEST_ASSERT_NULL (Results 1 - 12 of 12) sorted by relevance
/third_party/cJSON/tests/ |
H A D | cjson_add.c | 65 TEST_ASSERT_NULL(cJSON_AddNullToObject(NULL, "null")); in cjson_add_null_should_fail_with_null_pointers() 66 TEST_ASSERT_NULL(cJSON_AddNullToObject(root, NULL)); in cjson_add_null_should_fail_with_null_pointers() 77 TEST_ASSERT_NULL(cJSON_AddNullToObject(root, "null")); in cjson_add_null_should_fail_on_allocation_failure() 101 TEST_ASSERT_NULL(cJSON_AddTrueToObject(NULL, "true")); in cjson_add_true_should_fail_with_null_pointers() 102 TEST_ASSERT_NULL(cJSON_AddTrueToObject(root, NULL)); in cjson_add_true_should_fail_with_null_pointers() 113 TEST_ASSERT_NULL(cJSON_AddTrueToObject(root, "true")); in cjson_add_true_should_fail_on_allocation_failure() 126 TEST_ASSERT_NULL(cJSON_CreateIntArray(numbers, 3)); in cjson_create_int_array_should_fail_on_allocation_failure() 137 TEST_ASSERT_NULL(cJSON_CreateFloatArray(numbers, 3)); in cjson_create_float_array_should_fail_on_allocation_failure() 148 TEST_ASSERT_NULL(cJSON_CreateDoubleArray(numbers, 3)); in cjson_create_double_array_should_fail_on_allocation_failure() 159 TEST_ASSERT_NULL(cJSON_CreateStringArra in cjson_create_string_array_should_fail_on_allocation_failure() [all...] |
H A D | misc_utils_tests.c | 37 TEST_ASSERT_NULL(cJSONUtils_GetPointer(item, NULL)); in cjson_utils_functions_shouldnt_crash_with_null_pointers() 38 TEST_ASSERT_NULL(cJSONUtils_GetPointer(NULL, "pointer")); in cjson_utils_functions_shouldnt_crash_with_null_pointers() 39 TEST_ASSERT_NULL(cJSONUtils_GetPointerCaseSensitive(NULL, "pointer")); in cjson_utils_functions_shouldnt_crash_with_null_pointers() 40 TEST_ASSERT_NULL(cJSONUtils_GetPointerCaseSensitive(item, NULL)); in cjson_utils_functions_shouldnt_crash_with_null_pointers() 41 TEST_ASSERT_NULL(cJSONUtils_GeneratePatches(item, NULL)); in cjson_utils_functions_shouldnt_crash_with_null_pointers() 42 TEST_ASSERT_NULL(cJSONUtils_GeneratePatches(NULL, item)); in cjson_utils_functions_shouldnt_crash_with_null_pointers() 43 TEST_ASSERT_NULL(cJSONUtils_GeneratePatchesCaseSensitive(item, NULL)); in cjson_utils_functions_shouldnt_crash_with_null_pointers() 44 TEST_ASSERT_NULL(cJSONUtils_GeneratePatchesCaseSensitive(NULL, item)); in cjson_utils_functions_shouldnt_crash_with_null_pointers() 53 TEST_ASSERT_NULL(cJSONUtils_MergePatch(item, NULL)); in cjson_utils_functions_shouldnt_crash_with_null_pointers() 55 TEST_ASSERT_NULL(cJSONUtils_MergePatchCaseSensitiv in cjson_utils_functions_shouldnt_crash_with_null_pointers() [all...] |
H A D | misc_tests.c | 135 TEST_ASSERT_NULL(found); in cjson_get_object_item_should_not_crash_with_array() 147 TEST_ASSERT_NULL(found); in cjson_get_object_item_case_sensitive_should_not_crash_with_array() 333 TEST_ASSERT_NULL(replacements[2].next); in cjson_replace_item_via_pointer_should_replace_items() 380 TEST_ASSERT_NULL(cJSON_Parse(NULL)); in cjson_functions_should_not_crash_with_null_pointers() 381 TEST_ASSERT_NULL(cJSON_ParseWithOpts(NULL, NULL, true)); in cjson_functions_should_not_crash_with_null_pointers() 382 TEST_ASSERT_NULL(cJSON_Print(NULL)); in cjson_functions_should_not_crash_with_null_pointers() 383 TEST_ASSERT_NULL(cJSON_PrintUnformatted(NULL)); in cjson_functions_should_not_crash_with_null_pointers() 384 TEST_ASSERT_NULL(cJSON_PrintBuffered(NULL, 10, true)); in cjson_functions_should_not_crash_with_null_pointers() 389 TEST_ASSERT_NULL(cJSON_GetArrayItem(NULL, 0)); in cjson_functions_should_not_crash_with_null_pointers() 390 TEST_ASSERT_NULL(cJSON_GetObjectIte in cjson_functions_should_not_crash_with_null_pointers() [all...] |
H A D | parse_with_opts.c | 44 TEST_ASSERT_NULL(cJSON_ParseWithOpts(empty_string, NULL, false)); in parse_with_opts_should_handle_empty_strings() 47 TEST_ASSERT_NULL(cJSON_ParseWithOpts(empty_string, &error_pointer, false)); in parse_with_opts_should_handle_empty_strings() 57 TEST_ASSERT_NULL(cJSON_ParseWithOpts(json, &parse_end, false)); in parse_with_opts_should_handle_incomplete_json() 70 TEST_ASSERT_NULL(cJSON_ParseWithOpts("{}x", NULL, true)); in parse_with_opts_should_require_null_if_requested()
|
H A D | misc_int64_tests.c | 154 TEST_ASSERT_NULL(cJSON_GetInt64NumberValue(NULL)); in cjson_functions_should_not_crash_with_null_pointers_with_int64() 166 TEST_ASSERT_NULL(cJSON_GetInt64NumberValue(string)); in cjson_get_number_value_should_get_a_number_with_int64() 167 TEST_ASSERT_NULL(cJSON_GetInt64NumberValue(NULL)); in cjson_get_number_value_should_get_a_number_with_int64()
|
H A D | parse_array.c | 110 TEST_ASSERT_NULL(item->child->next->next->next); in parse_array_should_parse_arrays_with_multiple_elements()
|
/third_party/unity/extras/memory/test/ |
H A D | unity_memory_Test.c | 271 TEST_ASSERT_NULL(n); in test_MallocPastBufferFails() 285 TEST_ASSERT_NULL(n); in test_CallocPastBufferFails() 319 TEST_ASSERT_NULL(out_of_mem); /* The realloc should have failed */ in test_ReallocFailDoesNotFreeMem()
|
/third_party/unity/test/tests/ |
H A D | test_unity_core.c | 201 TEST_ASSERT_NULL(ptr1); in testIsNull() 210 TEST_ASSERT_NULL(ptr1); in testIsNullShouldFailIfNot()
|
/third_party/cJSON/tests/unity/extras/fixture/test/ |
H A D | unity_fixture_Test.c | 497 TEST_ASSERT_NULL(n); in TEST() 509 TEST_ASSERT_NULL(n); in TEST() 539 TEST_ASSERT_NULL(out_of_mem); /* The realloc should have failed */ in TEST()
|
/third_party/cJSON/tests/unity/test/tests/ |
H A D | testunity.c | 204 TEST_ASSERT_NULL(ptr1); in testIsNull() 213 TEST_ASSERT_NULL(ptr1); in testIsNullShouldFailIfNot()
|
/third_party/cJSON/tests/unity/src/ |
H A D | unity.h | 124 #define TEST_ASSERT_NULL(pointer) UNITY_TEST_ASSERT_NULL( (pointer), __LINE__, " Expected NULL") macro
|
/third_party/unity/src/ |
H A D | unity.h | 139 #define TEST_ASSERT_NULL(pointer) UNITY_TEST_ASSERT_NULL( (pointer), __LINE__, " Expected NULL") macro
|
Completed in 15 milliseconds