Searched refs:TEST_ASSERT_TRUE_MESSAGE (Results 1 - 14 of 14) sorted by relevance
/third_party/cJSON/tests/ |
H A D | print_object.c | 58 TEST_ASSERT_TRUE_MESSAGE(parse_object(item, &parsebuffer), "Failed to parse object."); in assert_print_object() 61 TEST_ASSERT_TRUE_MESSAGE(print_object(item, &unformatted_buffer), "Failed to print unformatted string."); in assert_print_object() 65 TEST_ASSERT_TRUE_MESSAGE(print_object(item, &formatted_buffer), "Failed to print formatted string."); in assert_print_object()
|
H A D | print_array.c | 57 TEST_ASSERT_TRUE_MESSAGE(parse_array(item, &parsebuffer), "Failed to parse array."); in assert_print_array() 60 TEST_ASSERT_TRUE_MESSAGE(print_array(item, &unformatted_buffer), "Failed to print unformatted string."); in assert_print_array() 64 TEST_ASSERT_TRUE_MESSAGE(print_array(item, &formatted_buffer), "Failed to print formatted string."); in assert_print_array()
|
H A D | misc_tests.c | 54 TEST_ASSERT_TRUE_MESSAGE(element_pointer == &elements[i], "Not iterating over array properly"); in cjson_array_foreach_should_loop_over_arrays() 273 TEST_ASSERT_TRUE_MESSAGE(cJSON_DetachItemViaPointer(parent, &(list[1])) == &(list[1]), "Failed to detach in the middle."); in cjson_detach_item_via_pointer_should_detach_items() 274 TEST_ASSERT_TRUE_MESSAGE((list[1].prev == NULL) && (list[1].next == NULL), "Didn't set pointers of detached item to NULL."); in cjson_detach_item_via_pointer_should_detach_items() 278 TEST_ASSERT_TRUE_MESSAGE(cJSON_DetachItemViaPointer(parent, &(list[0])) == &(list[0]), "Failed to detach beginning."); in cjson_detach_item_via_pointer_should_detach_items() 279 TEST_ASSERT_TRUE_MESSAGE((list[0].prev == NULL) && (list[0].next == NULL), "Didn't set pointers of detached item to NULL."); in cjson_detach_item_via_pointer_should_detach_items() 280 TEST_ASSERT_TRUE_MESSAGE((list[2].prev == &(list[3])) && (parent->child == &(list[2])), "Didn't set the new beginning."); in cjson_detach_item_via_pointer_should_detach_items() 283 TEST_ASSERT_TRUE_MESSAGE(cJSON_DetachItemViaPointer(parent, &(list[3])) == &(list[3]), "Failed to detach end."); in cjson_detach_item_via_pointer_should_detach_items() 284 TEST_ASSERT_TRUE_MESSAGE((list[3].prev == NULL) && (list[3].next == NULL), "Didn't set pointers of detached item to NULL."); in cjson_detach_item_via_pointer_should_detach_items() 285 TEST_ASSERT_TRUE_MESSAGE((list[2].next == NULL) && (parent->child == &(list[2])), "Didn't set the new end"); in cjson_detach_item_via_pointer_should_detach_items() 288 TEST_ASSERT_TRUE_MESSAGE(cJSON_DetachItemViaPointe in cjson_detach_item_via_pointer_should_detach_items() [all...] |
H A D | print_value.c | 49 TEST_ASSERT_TRUE_MESSAGE(parse_value(item, &parsebuffer), "Failed to parse value."); in assert_print_value() 51 TEST_ASSERT_TRUE_MESSAGE(print_value(item, &buffer), "Failed to print value."); in assert_print_value()
|
H A D | print_number.c | 40 TEST_ASSERT_TRUE_MESSAGE(print_number(item, &buffer), "Failed to print number."); in assert_print_int64_number() 63 TEST_ASSERT_TRUE_MESSAGE(print_number(item, &buffer), "Failed to print number."); in assert_print_number()
|
H A D | json_patch_tests.c | 42 TEST_ASSERT_TRUE_MESSAGE(cJSON_IsArray(json), "Json is not an array."); in parse_test_file() 92 TEST_ASSERT_TRUE_MESSAGE(0 != cJSONUtils_ApplyPatchesCaseSensitive(object, patch), "Test didn't fail as it's supposed to."); in test_apply_patch()
|
H A D | print_string.c | 37 TEST_ASSERT_TRUE_MESSAGE(print_string_ptr((const unsigned char*)input, &buffer), "Failed to print string."); in assert_print_string()
|
H A D | parse_string.c | 53 TEST_ASSERT_TRUE_MESSAGE(parse_string(item, &buffer), "Couldn't parse string."); in assert_parse_string()
|
/third_party/unity/test/testdata/ |
H A D | testRunnerGenerator.c | 125 TEST_ASSERT_TRUE_MESSAGE(1, "1 Should be True"); in test_NotDisappearJustBecauseTheTestBeforeAndAfterHaveCrazyStrings() 139 TEST_ASSERT_TRUE_MESSAGE(1, "1 Should be True"); in should_RunTestsStartingWithShouldByDefault() 175 TEST_ASSERT_TRUE_MESSAGE(function(1), "Function should return True"); in TEST_CASE()
|
H A D | testRunnerGeneratorWithMocks.c | 125 TEST_ASSERT_TRUE_MESSAGE(1, "1 Should be True"); in test_NotDisappearJustBecauseTheTestBeforeAndAfterHaveCrazyStrings() 137 TEST_ASSERT_TRUE_MESSAGE(1, "1 Should be True"); in should_RunTestsStartingWithShouldByDefault()
|
/third_party/cJSON/tests/unity/test/testdata/ |
H A D | testRunnerGeneratorWithMocks.c | 123 TEST_ASSERT_TRUE_MESSAGE(1, "1 Should be True"); in test_NotDisappearJustBecauseTheTestBeforeAndAfterHaveCrazyStrings() 135 TEST_ASSERT_TRUE_MESSAGE(1, "1 Should be True"); in should_RunTestsStartingWithShouldByDefault()
|
H A D | testRunnerGenerator.c | 122 TEST_ASSERT_TRUE_MESSAGE(1, "1 Should be True"); in test_NotDisappearJustBecauseTheTestBeforeAndAfterHaveCrazyStrings() 134 TEST_ASSERT_TRUE_MESSAGE(1, "1 Should be True"); in should_RunTestsStartingWithShouldByDefault()
|
/third_party/cJSON/tests/unity/src/ |
H A D | unity.h | 313 #define TEST_ASSERT_TRUE_MESSAGE(condition, message) UNITY_TEST_ASSERT( (condition), __LINE__, (message)) macro
|
/third_party/unity/src/ |
H A D | unity.h | 418 #define TEST_ASSERT_TRUE_MESSAGE(condition, message) UNITY_TEST_ASSERT( (condition), __LINE__, (message)) macro
|
Completed in 10 milliseconds