Home
last modified time | relevance | path

Searched refs:RUN_TEST (Results 1 – 25 of 75) sorted by relevance

123

/third_party/unity/extras/memory/test/
Dunity_memory_TestRunner.c31 RUN_TEST(test_ForceMallocFail); in main()
32 RUN_TEST(test_ReallocSmallerIsUnchanged); in main()
33 RUN_TEST(test_ReallocSameIsUnchanged); in main()
34 RUN_TEST(test_ReallocLargerNeeded); in main()
35 RUN_TEST(test_ReallocNullPointerIsLikeMalloc); in main()
36 RUN_TEST(test_ReallocSizeZeroFreesMemAndReturnsNullPointer); in main()
37 RUN_TEST(test_CallocFillsWithZero); in main()
38 RUN_TEST(test_FreeNULLSafety); in main()
39 RUN_TEST(test_DetectsLeak); in main()
40 RUN_TEST(test_BufferOverrunFoundDuringFree); in main()
[all …]
/third_party/cJSON/tests/
Dcjson_add.c429 RUN_TEST(cjson_add_null_should_add_null); in main()
430 RUN_TEST(cjson_add_null_should_fail_with_null_pointers); in main()
431 RUN_TEST(cjson_add_null_should_fail_on_allocation_failure); in main()
433 RUN_TEST(cjson_add_true_should_add_true); in main()
434 RUN_TEST(cjson_add_true_should_fail_with_null_pointers); in main()
435 RUN_TEST(cjson_add_true_should_fail_on_allocation_failure); in main()
437 RUN_TEST(cjson_create_int_array_should_fail_on_allocation_failure); in main()
438 RUN_TEST(cjson_create_float_array_should_fail_on_allocation_failure); in main()
439 RUN_TEST(cjson_create_double_array_should_fail_on_allocation_failure); in main()
440 RUN_TEST(cjson_create_string_array_should_fail_on_allocation_failure); in main()
[all …]
Dparse_examples.c256 RUN_TEST(file_test1_should_be_parsed_and_printed); in main()
257 RUN_TEST(file_test2_should_be_parsed_and_printed); in main()
258 RUN_TEST(file_test3_should_be_parsed_and_printed); in main()
259 RUN_TEST(file_test4_should_be_parsed_and_printed); in main()
260 RUN_TEST(file_test5_should_be_parsed_and_printed); in main()
261 RUN_TEST(file_test6_should_not_be_parsed); in main()
262 RUN_TEST(file_test7_should_be_parsed_and_printed); in main()
263 RUN_TEST(file_test8_should_be_parsed_and_printed); in main()
264 RUN_TEST(file_test9_should_be_parsed_and_printed); in main()
265 RUN_TEST(file_test10_should_be_parsed_and_printed); in main()
[all …]
Dcompare_tests.c196 RUN_TEST(cjson_compare_should_compare_null_pointer_as_not_equal); in main()
197 RUN_TEST(cjson_compare_should_compare_invalid_as_not_equal); in main()
198 RUN_TEST(cjson_compare_should_compare_numbers); in main()
199 RUN_TEST(cjson_compare_should_compare_booleans); in main()
200 RUN_TEST(cjson_compare_should_compare_null); in main()
201 RUN_TEST(cjson_compare_should_not_accept_invalid_types); in main()
202 RUN_TEST(cjson_compare_should_compare_strings); in main()
203 RUN_TEST(cjson_compare_should_compare_raw); in main()
204 RUN_TEST(cjson_compare_should_compare_arrays); in main()
205 RUN_TEST(cjson_compare_should_compare_objects); in main()
Dprint_value.c98 RUN_TEST(print_value_should_print_null); in main()
99 RUN_TEST(print_value_should_print_true); in main()
100 RUN_TEST(print_value_should_print_false); in main()
101 RUN_TEST(print_value_should_print_number); in main()
102 RUN_TEST(print_value_should_print_string); in main()
103 RUN_TEST(print_value_should_print_array); in main()
104 RUN_TEST(print_value_should_print_object); in main()
Dparse_value.c104 RUN_TEST(parse_value_should_parse_null); in main()
105 RUN_TEST(parse_value_should_parse_true); in main()
106 RUN_TEST(parse_value_should_parse_false); in main()
107 RUN_TEST(parse_value_should_parse_number); in main()
108 RUN_TEST(parse_value_should_parse_string); in main()
109 RUN_TEST(parse_value_should_parse_array); in main()
110 RUN_TEST(parse_value_should_parse_object); in main()
Dminify_tests.c165 RUN_TEST(cjson_minify_should_not_overflow_buffer); in main()
166 RUN_TEST(cjson_minify_should_minify_json); in main()
167 RUN_TEST(cjson_minify_should_remove_single_line_comments); in main()
168 RUN_TEST(cjson_minify_should_remove_multiline_comments); in main()
169 RUN_TEST(cjson_minify_should_remove_spaces); in main()
170 RUN_TEST(cjson_minify_should_not_modify_strings); in main()
171 RUN_TEST(cjson_minify_should_not_loop_infinitely); in main()
Dmisc_tests.c678 RUN_TEST(cjson_array_foreach_should_loop_over_arrays); in main()
679 RUN_TEST(cjson_array_foreach_should_not_dereference_null_pointer); in main()
680 RUN_TEST(cjson_get_object_item_should_get_object_items); in main()
681 RUN_TEST(cjson_get_object_item_case_sensitive_should_get_object_items); in main()
682 RUN_TEST(cjson_get_object_item_should_not_crash_with_array); in main()
683 RUN_TEST(cjson_get_object_item_case_sensitive_should_not_crash_with_array); in main()
684 RUN_TEST(typecheck_functions_should_check_type); in main()
685 RUN_TEST(cjson_should_not_parse_to_deeply_nested_jsons); in main()
686 RUN_TEST(cjson_set_number_value_should_set_numbers); in main()
687 RUN_TEST(cjson_detach_item_via_pointer_should_detach_items); in main()
[all …]
Dprint_number.c117 RUN_TEST(print_number_should_print_zero); in main()
118 RUN_TEST(print_number_should_print_negative_integers); in main()
119 RUN_TEST(print_number_should_print_positive_integers); in main()
120 RUN_TEST(print_number_should_print_positive_reals); in main()
121 RUN_TEST(print_number_should_print_negative_reals); in main()
122 RUN_TEST(print_number_should_print_non_number); in main()
/third_party/unity/examples/example_4/test/test_runners/
DTestProductionCode_Runner.c4 #define RUN_TEST(TestFunc, TestLineNum) \ macro
50RUN_TEST(test_FindFunction_WhichIsBroken_ShouldReturnZeroIfItemIsNotInList_WhichWorksEvenInOurBrok… in main()
51RUN_TEST(test_FindFunction_WhichIsBroken_ShouldReturnTheIndexForItemsInList_WhichWillFailBecauseOu… in main()
52 RUN_TEST(test_FunctionWhichReturnsLocalVariable_ShouldReturnTheCurrentCounterValue, 41); in main()
53 RUN_TEST(test_FunctionWhichReturnsLocalVariable_ShouldReturnTheCurrentCounterValueAgain, 51); in main()
54RUN_TEST(test_FunctionWhichReturnsLocalVariable_ShouldReturnCurrentCounter_ButFailsBecauseThisTest… in main()
/third_party/cJSON/tests/unity/examples/example_1/test/test_runners/
DTestProductionCode_Runner.c4 #define RUN_TEST(TestFunc, TestLineNum) \ macro
50RUN_TEST(test_FindFunction_WhichIsBroken_ShouldReturnZeroIfItemIsNotInList_WhichWorksEvenInOurBrok… in main()
51RUN_TEST(test_FindFunction_WhichIsBroken_ShouldReturnTheIndexForItemsInList_WhichWillFailBecauseOu… in main()
52 RUN_TEST(test_FunctionWhichReturnsLocalVariable_ShouldReturnTheCurrentCounterValue, 41); in main()
53 RUN_TEST(test_FunctionWhichReturnsLocalVariable_ShouldReturnTheCurrentCounterValueAgain, 51); in main()
54RUN_TEST(test_FunctionWhichReturnsLocalVariable_ShouldReturnCurrentCounter_ButFailsBecauseThisTest… in main()
/third_party/unity/examples/example_1/test/test_runners/
DTestProductionCode_Runner.c4 #define RUN_TEST(TestFunc, TestLineNum) \ macro
50RUN_TEST(test_FindFunction_WhichIsBroken_ShouldReturnZeroIfItemIsNotInList_WhichWorksEvenInOurBrok… in main()
51RUN_TEST(test_FindFunction_WhichIsBroken_ShouldReturnTheIndexForItemsInList_WhichWillFailBecauseOu… in main()
52 RUN_TEST(test_FunctionWhichReturnsLocalVariable_ShouldReturnTheCurrentCounterValue, 41); in main()
53 RUN_TEST(test_FunctionWhichReturnsLocalVariable_ShouldReturnTheCurrentCounterValueAgain, 51); in main()
54RUN_TEST(test_FunctionWhichReturnsLocalVariable_ShouldReturnCurrentCounter_ButFailsBecauseThisTest… in main()
/third_party/unity/test/expectdata/
Dtestsample_head1.c4 #define RUN_TEST(TestFunc, TestLineNum) \ macro
49 RUN_TEST(test_TheFirstThingToTest, 21); in main()
50 RUN_TEST(test_TheSecondThingToTest, 43); in main()
51 RUN_TEST(test_TheThirdThingToTest, 53); in main()
52 RUN_TEST(test_TheFourthThingToTest, 58); in main()
Dtestsample_def.c4 #define RUN_TEST(TestFunc, TestLineNum) \ macro
51 RUN_TEST(test_TheFirstThingToTest, 21); in main()
52 RUN_TEST(test_TheSecondThingToTest, 43); in main()
53 RUN_TEST(test_TheThirdThingToTest, 53); in main()
54 RUN_TEST(test_TheFourthThingToTest, 58); in main()
Dtestsample_new2.c4 #define RUN_TEST(TestFunc, TestLineNum) \ macro
64 RUN_TEST(test_TheFirstThingToTest, 21); in main()
65 RUN_TEST(test_TheSecondThingToTest, 43); in main()
66 RUN_TEST(test_TheThirdThingToTest, 53); in main()
67 RUN_TEST(test_TheFourthThingToTest, 58); in main()
Dtestsample_run2.c4 #define RUN_TEST(TestFunc, TestLineNum) \ macro
64 RUN_TEST(test_TheFirstThingToTest, 21); in main()
65 RUN_TEST(test_TheSecondThingToTest, 43); in main()
66 RUN_TEST(test_TheThirdThingToTest, 53); in main()
67 RUN_TEST(test_TheFourthThingToTest, 58); in main()
Dtestsample_cmd.c4 #define RUN_TEST(TestFunc, TestLineNum) \ macro
55 RUN_TEST(test_TheFirstThingToTest, 21); in main()
56 RUN_TEST(test_TheSecondThingToTest, 43); in main()
57 RUN_TEST(test_TheThirdThingToTest, 53); in main()
58 RUN_TEST(test_TheFourthThingToTest, 58); in main()
Dtestsample_param.c5 #define RUN_TEST(TestFunc, TestLineNum, ...) \ macro
52 RUN_TEST(test_TheFirstThingToTest, 21, RUN_TEST_NO_ARGS); in main()
53 RUN_TEST(test_TheSecondThingToTest, 43, RUN_TEST_NO_ARGS); in main()
54 RUN_TEST(test_TheThirdThingToTest, 53, RUN_TEST_NO_ARGS); in main()
55 RUN_TEST(test_TheFourthThingToTest, 58, RUN_TEST_NO_ARGS); in main()
Dtestsample_run1.c4 #define RUN_TEST(TestFunc, TestLineNum) \ macro
61 RUN_TEST(test_TheFirstThingToTest, 21); in main()
62 RUN_TEST(test_TheSecondThingToTest, 43); in main()
63 RUN_TEST(test_TheThirdThingToTest, 53); in main()
64 RUN_TEST(test_TheFourthThingToTest, 58); in main()
/third_party/cJSON/tests/unity/test/expectdata/
Dtestsample_head1.c4 #define RUN_TEST(TestFunc, TestLineNum) \ macro
49 RUN_TEST(test_TheFirstThingToTest, 21); in main()
50 RUN_TEST(test_TheSecondThingToTest, 43); in main()
51 RUN_TEST(test_TheThirdThingToTest, 53); in main()
52 RUN_TEST(test_TheFourthThingToTest, 58); in main()
Dtestsample_def.c4 #define RUN_TEST(TestFunc, TestLineNum) \ macro
51 RUN_TEST(test_TheFirstThingToTest, 21); in main()
52 RUN_TEST(test_TheSecondThingToTest, 43); in main()
53 RUN_TEST(test_TheThirdThingToTest, 53); in main()
54 RUN_TEST(test_TheFourthThingToTest, 58); in main()
Dtestsample_param.c5 #define RUN_TEST(TestFunc, TestLineNum, ...) \ macro
52 RUN_TEST(test_TheFirstThingToTest, 21, RUN_TEST_NO_ARGS); in main()
53 RUN_TEST(test_TheSecondThingToTest, 43, RUN_TEST_NO_ARGS); in main()
54 RUN_TEST(test_TheThirdThingToTest, 53, RUN_TEST_NO_ARGS); in main()
55 RUN_TEST(test_TheFourthThingToTest, 58, RUN_TEST_NO_ARGS); in main()
Dtestsample_cmd.c4 #define RUN_TEST(TestFunc, TestLineNum) \ macro
55 RUN_TEST(test_TheFirstThingToTest, 21); in main()
56 RUN_TEST(test_TheSecondThingToTest, 43); in main()
57 RUN_TEST(test_TheThirdThingToTest, 53); in main()
58 RUN_TEST(test_TheFourthThingToTest, 58); in main()
Dtestsample_run2.c4 #define RUN_TEST(TestFunc, TestLineNum) \ macro
64 RUN_TEST(test_TheFirstThingToTest, 21); in main()
65 RUN_TEST(test_TheSecondThingToTest, 43); in main()
66 RUN_TEST(test_TheThirdThingToTest, 53); in main()
67 RUN_TEST(test_TheFourthThingToTest, 58); in main()
Dtestsample_new2.c4 #define RUN_TEST(TestFunc, TestLineNum) \ macro
64 RUN_TEST(test_TheFirstThingToTest, 21); in main()
65 RUN_TEST(test_TheSecondThingToTest, 43); in main()
66 RUN_TEST(test_TheThirdThingToTest, 53); in main()
67 RUN_TEST(test_TheFourthThingToTest, 58); in main()

123