Home
last modified time | relevance | path

Searched refs:TEST_ASSERT_TRUE_MESSAGE (Results 1 – 14 of 14) sorted by relevance

/third_party/cJSON/tests/
Dprint_array.c57 TEST_ASSERT_TRUE_MESSAGE(parse_array(item, &parsebuffer), "Failed to parse array."); in assert_print_array()
60TEST_ASSERT_TRUE_MESSAGE(print_array(item, &unformatted_buffer), "Failed to print unformatted stri… in assert_print_array()
64TEST_ASSERT_TRUE_MESSAGE(print_array(item, &formatted_buffer), "Failed to print formatted string."… in assert_print_array()
Dprint_object.c58 TEST_ASSERT_TRUE_MESSAGE(parse_object(item, &parsebuffer), "Failed to parse object."); in assert_print_object()
61TEST_ASSERT_TRUE_MESSAGE(print_object(item, &unformatted_buffer), "Failed to print unformatted str… in assert_print_object()
65TEST_ASSERT_TRUE_MESSAGE(print_object(item, &formatted_buffer), "Failed to print formatted string.… in assert_print_object()
Dmisc_tests.c55TEST_ASSERT_TRUE_MESSAGE(element_pointer == &elements[i], "Not iterating over array properly"); in cjson_array_foreach_should_loop_over_arrays()
263TEST_ASSERT_TRUE_MESSAGE(cJSON_DetachItemViaPointer(parent, &(list[1])) == &(list[1]), "Failed to … in cjson_detach_item_via_pointer_should_detach_items()
264TEST_ASSERT_TRUE_MESSAGE((list[1].prev == NULL) && (list[1].next == NULL), "Didn't set pointers of… in cjson_detach_item_via_pointer_should_detach_items()
268TEST_ASSERT_TRUE_MESSAGE(cJSON_DetachItemViaPointer(parent, &(list[0])) == &(list[0]), "Failed to … in cjson_detach_item_via_pointer_should_detach_items()
269TEST_ASSERT_TRUE_MESSAGE((list[0].prev == NULL) && (list[0].next == NULL), "Didn't set pointers of… in cjson_detach_item_via_pointer_should_detach_items()
270TEST_ASSERT_TRUE_MESSAGE((list[2].prev == &(list[3])) && (parent->child == &(list[2])), "Didn't se… in cjson_detach_item_via_pointer_should_detach_items()
273TEST_ASSERT_TRUE_MESSAGE(cJSON_DetachItemViaPointer(parent, &(list[3])) == &(list[3]), "Failed to … in cjson_detach_item_via_pointer_should_detach_items()
274TEST_ASSERT_TRUE_MESSAGE((list[3].prev == NULL) && (list[3].next == NULL), "Didn't set pointers of… in cjson_detach_item_via_pointer_should_detach_items()
275TEST_ASSERT_TRUE_MESSAGE((list[2].next == NULL) && (parent->child == &(list[2])), "Didn't set the … in cjson_detach_item_via_pointer_should_detach_items()
278TEST_ASSERT_TRUE_MESSAGE(cJSON_DetachItemViaPointer(parent, &list[2]) == &list[2], "Failed to deta… in cjson_detach_item_via_pointer_should_detach_items()
[all …]
Dprint_value.c49 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()
Djson_patch_tests.c42 TEST_ASSERT_TRUE_MESSAGE(cJSON_IsArray(json), "Json is not an array."); in parse_test_file()
92TEST_ASSERT_TRUE_MESSAGE(0 != cJSONUtils_ApplyPatchesCaseSensitive(object, patch), "Test didn't fa… in test_apply_patch()
Dprint_string.c37TEST_ASSERT_TRUE_MESSAGE(print_string_ptr((const unsigned char*)input, &buffer), "Failed to print … in assert_print_string()
Dprint_number.c44 TEST_ASSERT_TRUE_MESSAGE(print_number(item, &buffer), "Failed to print number."); in assert_print_number()
Dparse_string.c53 TEST_ASSERT_TRUE_MESSAGE(parse_string(item, &buffer), "Couldn't parse string."); in assert_parse_string()
/third_party/unity/test/testdata/
DtestRunnerGenerator.c128 TEST_ASSERT_TRUE_MESSAGE(1, "1 Should be True"); in test_NotDisappearJustBecauseTheTestBeforeAndAfterHaveCrazyStrings()
142 TEST_ASSERT_TRUE_MESSAGE(1, "1 Should be True"); in should_RunTestsStartingWithShouldByDefault()
DtestRunnerGeneratorWithMocks.c128 TEST_ASSERT_TRUE_MESSAGE(1, "1 Should be True"); in test_NotDisappearJustBecauseTheTestBeforeAndAfterHaveCrazyStrings()
140 TEST_ASSERT_TRUE_MESSAGE(1, "1 Should be True"); in should_RunTestsStartingWithShouldByDefault()
/third_party/cJSON/tests/unity/test/testdata/
DtestRunnerGenerator.c122 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()
DtestRunnerGeneratorWithMocks.c123 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()
/third_party/cJSON/tests/unity/src/
Dunity.h313 #define TEST_ASSERT_TRUE_MESSAGE(condition, message) … macro
/third_party/unity/src/
Dunity.h394 #define TEST_ASSERT_TRUE_MESSAGE(condition, message) … macro