/dports/devel/libcjson/cJSON-1.7.15/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() 288 TEST_ASSERT_NOT_NULL(string = cJSON_GetObjectItemCaseSensitive(root, "string")); in cjson_add_string_should_add_string() 325 TEST_ASSERT_NOT_NULL(raw = cJSON_GetObjectItemCaseSensitive(root, "raw")); in cjson_add_raw_should_add_raw() 361 TEST_ASSERT_NOT_NULL(object = cJSON_GetObjectItemCaseSensitive(root, "object")); in cJSON_add_object_should_add_object() 396 TEST_ASSERT_NOT_NULL(array = cJSON_GetObjectItemCaseSensitive(root, "array")); in cJSON_add_array_should_add_array()
|
H A D | compare_tests.c | 127 TEST_ASSERT_NOT_NULL(raw1); in cjson_compare_should_compare_raw() 129 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 | 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 | 292 TEST_ASSERT_NOT_NULL(beginning); in cjson_replace_item_via_pointer_should_replace_items() 294 TEST_ASSERT_NOT_NULL(middle); in cjson_replace_item_via_pointer_should_replace_items() 296 TEST_ASSERT_NOT_NULL(end); in cjson_replace_item_via_pointer_should_replace_items() 299 TEST_ASSERT_NOT_NULL(array); in cjson_replace_item_via_pointer_should_replace_items() 338 TEST_ASSERT_NOT_NULL(child); in cjson_replace_item_in_object_should_preserve_name() 340 TEST_ASSERT_NOT_NULL(replacement); in cjson_replace_item_in_object_should_preserve_name() 571 TEST_ASSERT_NOT_NULL(object); in cjson_add_item_to_object_should_not_use_after_free_when_string_is_aliased() 572 TEST_ASSERT_NOT_NULL(number); in cjson_add_item_to_object_should_not_use_after_free_when_string_is_aliased() 573 TEST_ASSERT_NOT_NULL(name); in cjson_add_item_to_object_should_not_use_after_free_when_string_is_aliased() 635 TEST_ASSERT_NOT_NULL(return_value); in cjson_set_valuestring_to_object_should_not_leak_memory() [all …]
|
H A D | misc_utils_tests.c | 35 TEST_ASSERT_NOT_NULL(item); in cjson_utils_functions_shouldnt_crash_with_null_pointers()
|
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 | 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()
|
/dports/devel/libcjson/cJSON-1.7.15/tests/unity/ |
H A D | README.md | 213 TEST_ASSERT_NOT_NULL(pointer)
|
/dports/devel/libcjson/cJSON-1.7.15/tests/unity/docs/ |
H A D | UnityAssertionsReference.md | 209 ##### `TEST_ASSERT_NOT_NULL (pointer)`
|
/dports/devel/libcjson/cJSON-1.7.15/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()
|
/dports/devel/libcjson/cJSON-1.7.15/tests/unity/src/ |
H A D | unity.h | 125 #define TEST_ASSERT_NOT_NULL(pointer) … macro
|
/dports/devel/libcjson/cJSON-1.7.15/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()
|
/dports/devel/libsml/libsml-2a8445b/test/src/ |
H A D | sml_boolean_test.c | 37 TEST_ASSERT_NOT_NULL(b); in TEST() 45 TEST_ASSERT_NOT_NULL(b); in TEST() 53 TEST_ASSERT_NOT_NULL(b); in TEST()
|
H A D | sml_buffer_test.c | 37 TEST_ASSERT_NOT_NULL(buf); in TEST() 38 TEST_ASSERT_NOT_NULL(buf->buffer); in TEST()
|
H A D | sml_file_test.c | 37 TEST_ASSERT_NOT_NULL(file); in TEST() 40 TEST_ASSERT_NOT_NULL(file->buf); in TEST()
|
H A D | sml_get_profile_pack_request_test.c | 37 TEST_ASSERT_NOT_NULL(r); in TEST() 44 TEST_ASSERT_NOT_NULL(r); in TEST() 45 TEST_ASSERT_NOT_NULL(r->object_list); in TEST() 46 TEST_ASSERT_NOT_NULL(r->object_list->next); in TEST() 47 TEST_ASSERT_NOT_NULL(r->object_list->next->next); in TEST()
|
H A D | sml_list_test.c | 37 TEST_ASSERT_NOT_NULL(l); in TEST() 46 TEST_ASSERT_NOT_NULL(l); in TEST() 47 TEST_ASSERT_NOT_NULL(l->next); in TEST() 57 TEST_ASSERT_NOT_NULL(l); in TEST() 58 TEST_ASSERT_NOT_NULL(l->next); in TEST() 115 TEST_ASSERT_NOT_NULL(seq); in TEST() 131 TEST_ASSERT_NOT_NULL(seq); in TEST()
|
H A D | sml_message_test.c | 37 TEST_ASSERT_NOT_NULL(msg); in TEST() 38 TEST_ASSERT_NOT_NULL(msg->transaction_id); in TEST() 53 TEST_ASSERT_NOT_NULL(msg); in TEST()
|
H A D | sml_number_test.c | 38 TEST_ASSERT_NOT_NULL(n); in TEST() 45 TEST_ASSERT_NOT_NULL(n); in TEST()
|
H A D | sml_open_request_test.c | 37 TEST_ASSERT_NOT_NULL(m); in TEST()
|
H A D | sml_status_test.c | 37 TEST_ASSERT_NOT_NULL(s); in TEST() 45 TEST_ASSERT_NOT_NULL(s); in TEST()
|
H A D | sml_time_test.c | 37 TEST_ASSERT_NOT_NULL(t); in TEST() 45 TEST_ASSERT_NOT_NULL(t); in TEST() 56 TEST_ASSERT_NOT_NULL(t); in TEST()
|
H A D | sml_tree_test.c | 38 TEST_ASSERT_NOT_NULL(t); in TEST() 46 TEST_ASSERT_NOT_NULL(t->child_list[0]); in TEST() 64 TEST_ASSERT_NOT_NULL(t); in TEST() 65 TEST_ASSERT_NOT_NULL(t->child_list[0]); in TEST() 102 TEST_ASSERT_NOT_NULL(t); in TEST() 108 TEST_ASSERT_NOT_NULL(t); in TEST() 118 TEST_ASSERT_NOT_NULL(t); in TEST() 155 TEST_ASSERT_NOT_NULL(t); in TEST() 162 TEST_ASSERT_NOT_NULL(t); in TEST()
|
H A D | sml_value_test.c | 37 TEST_ASSERT_NOT_NULL(v); in TEST() 45 TEST_ASSERT_NOT_NULL(v); in TEST() 56 TEST_ASSERT_NOT_NULL(v); in TEST() 67 TEST_ASSERT_NOT_NULL(v); in TEST()
|