Home
last modified time | relevance | path

Searched refs:TEST_ASSERT_EQUAL_STRING (Results 1 - 17 of 17) sorted by relevance

/third_party/unity/test/tests/
H A Dtest_unity_strings.c40 TEST_ASSERT_EQUAL_STRING(testString, testString); in testEqualStrings()
42 TEST_ASSERT_EQUAL_STRING("foo", testString); in testEqualStrings()
43 TEST_ASSERT_EQUAL_STRING(testString, "foo"); in testEqualStrings()
44 TEST_ASSERT_EQUAL_STRING("", ""); in testEqualStrings()
61 TEST_ASSERT_EQUAL_STRING(testString, testString); in testEqualStringsWithCarriageReturnsAndLineFeeds()
62 TEST_ASSERT_EQUAL_STRING("foo\r\nbar", "foo\r\nbar"); in testEqualStringsWithCarriageReturnsAndLineFeeds()
63 TEST_ASSERT_EQUAL_STRING("foo\r\nbar", testString); in testEqualStringsWithCarriageReturnsAndLineFeeds()
64 TEST_ASSERT_EQUAL_STRING(testString, "foo\r\nbar"); in testEqualStringsWithCarriageReturnsAndLineFeeds()
65 TEST_ASSERT_EQUAL_STRING("", ""); in testEqualStringsWithCarriageReturnsAndLineFeeds()
71 TEST_ASSERT_EQUAL_STRING("fo in testNotEqualString1()
[all...]
H A Dself_assessment_utils.h131 TEST_ASSERT_EQUAL_STRING((expected), getBufferPutcharSpy()); \
136 TEST_ASSERT_EQUAL_STRING((expected), getBufferPutcharSpy()); \
141 TEST_ASSERT_EQUAL_STRING((expected), getBufferPutcharSpy()); \
H A Dtest_unity_parameterized.c142 TEST_ASSERT_EQUAL_STRING(expected[index], str); in test_StringsArePreserved()
269 TEST_ASSERT_EQUAL_STRING(expected[idx++], buf); in test_StringsAndNumbersMatrices()
/third_party/cJSON/tests/
H A Dminify_tests.c38 TEST_ASSERT_EQUAL_STRING("", unclosed_multiline_comment); in cjson_minify_should_not_overflow_buffer()
41 TEST_ASSERT_EQUAL_STRING("\"\\", pending_escape); in cjson_minify_should_not_overflow_buffer()
53 TEST_ASSERT_EQUAL_STRING("{}", minified); in cjson_minify_should_remove_single_line_comments()
67 TEST_ASSERT_EQUAL_STRING("{\"key\":true}", minified); in cjson_minify_should_remove_spaces()
81 TEST_ASSERT_EQUAL_STRING("{}", minified); in cjson_minify_should_remove_multiline_comments()
95 TEST_ASSERT_EQUAL_STRING(to_minify, minified); in cjson_minify_should_not_modify_strings()
150 TEST_ASSERT_EQUAL_STRING(minified, buffer); in cjson_minify_should_minify_json()
H A Dold_utils_tests.c108 TEST_ASSERT_EQUAL_STRING("/numbers/6", pointer); in misc_tests()
112 TEST_ASSERT_EQUAL_STRING("/numbers", pointer); in misc_tests()
116 TEST_ASSERT_EQUAL_STRING("", pointer); in misc_tests()
123 TEST_ASSERT_EQUAL_STRING("/m~0n",pointer); in misc_tests()
130 TEST_ASSERT_EQUAL_STRING("/m~1n",pointer); in misc_tests()
183 TEST_ASSERT_EQUAL_STRING(merges[i][2], after); in merge_tests()
205 TEST_ASSERT_EQUAL_STRING(merges[i][2], patchedtext); in generate_merge_tests()
H A Dreadme_examples.c221 TEST_ASSERT_EQUAL_STRING(monitor, json); in create_monitor_should_create_a_monitor()
230 TEST_ASSERT_EQUAL_STRING(json, monitor); in create_monitor_with_helpers_should_create_a_monitor()
H A Dmisc_tests.c356 TEST_ASSERT_EQUAL_STRING("child", replacement->string); in cjson_replace_item_in_object_should_preserve_name()
634 TEST_ASSERT_EQUAL_STRING(expected_json1, str1); in cjson_delete_item_from_array_should_not_broken_list_structure()
639 TEST_ASSERT_EQUAL_STRING(expected_json2, str2); in cjson_delete_item_from_array_should_not_broken_list_structure()
645 TEST_ASSERT_EQUAL_STRING(expected_json3, str3); in cjson_delete_item_from_array_should_not_broken_list_structure()
670 TEST_ASSERT_EQUAL_STRING(short_valuestring, cJSON_GetObjectItem(root, "one")->valuestring); in cjson_set_valuestring_to_object_should_not_leak_memory()
677 TEST_ASSERT_EQUAL_STRING(long_valuestring, cJSON_GetObjectItem(root, "one")->valuestring); in cjson_set_valuestring_to_object_should_not_leak_memory()
681 TEST_ASSERT_EQUAL_STRING(reference_valuestring, cJSON_GetObjectItem(root, "two")->valuestring); in cjson_set_valuestring_to_object_should_not_leak_memory()
H A Dcjson_add.c331 TEST_ASSERT_EQUAL_STRING(string->valuestring, "Hello World!"); in cjson_add_string_should_add_string()
368 TEST_ASSERT_EQUAL_STRING(raw->valuestring, "{}"); in cjson_add_raw_should_add_raw()
H A Dparse_array.c88 TEST_ASSERT_EQUAL_STRING("hello!", item->child->valuestring); in parse_array_should_parse_arrays_with_one_element()
H A Dparse_examples.c84 TEST_ASSERT_EQUAL_STRING(expected, actual); in do_test()
/third_party/unity/extras/bdd/test/
H A Dtest_bdd.c98 TEST_ASSERT_EQUAL_STRING(inputUsername, validUsername); in test_bdd_valid_login()
99 TEST_ASSERT_EQUAL_STRING(inputPassword, validPassword); in test_bdd_valid_login()
113 TEST_ASSERT_EQUAL_STRING(inputUsername, validUsername); in test_bdd_valid_login()
/third_party/cJSON/tests/unity/test/tests/
H A Dtestunity.c1722 TEST_ASSERT_EQUAL_STRING(testString, testString); in testEqualStrings()
1724 TEST_ASSERT_EQUAL_STRING("foo", testString); in testEqualStrings()
1725 TEST_ASSERT_EQUAL_STRING(testString, "foo"); in testEqualStrings()
1726 TEST_ASSERT_EQUAL_STRING("", ""); in testEqualStrings()
1743 TEST_ASSERT_EQUAL_STRING(testString, testString); in testEqualStringsWithCarriageReturnsAndLineFeeds()
1744 TEST_ASSERT_EQUAL_STRING("foo\r\nbar", "foo\r\nbar"); in testEqualStringsWithCarriageReturnsAndLineFeeds()
1745 TEST_ASSERT_EQUAL_STRING("foo\r\nbar", testString); in testEqualStringsWithCarriageReturnsAndLineFeeds()
1746 TEST_ASSERT_EQUAL_STRING(testString, "foo\r\nbar"); in testEqualStringsWithCarriageReturnsAndLineFeeds()
1747 TEST_ASSERT_EQUAL_STRING("", ""); in testEqualStringsWithCarriageReturnsAndLineFeeds()
1753 TEST_ASSERT_EQUAL_STRING("fo in testNotEqualString1()
[all...]
/third_party/cJSON/tests/unity/extras/fixture/src/
H A Dunity_fixture.h76 #define STRCMP_EQUAL(expected, actual) TEST_ASSERT_EQUAL_STRING((expected), (actual))
/third_party/unity/extras/fixture/src/
H A Dunity_fixture.h86 #define STRCMP_EQUAL(expected, actual) TEST_ASSERT_EQUAL_STRING((expected), (actual))
/third_party/unity/extras/memory/test/
H A Dunity_memory_Test.c91 TEST_ASSERT_EQUAL_STRING("123456789", m2); in test_ReallocLargerNeeded()
/third_party/cJSON/tests/unity/src/
H A Dunity.h235 #define TEST_ASSERT_EQUAL_STRING(expected, actual) UNITY_TEST_ASSERT_EQUAL_STRING((expected), (actual), __LINE__, NULL) macro
/third_party/unity/src/
H A Dunity.h300 #define TEST_ASSERT_EQUAL_STRING(expected, actual) UNITY_TEST_ASSERT_EQUAL_STRING((expected), (actual), __LINE__, NULL) macro

Completed in 16 milliseconds