Home
last modified time | relevance | path

Searched refs:RUN_TEST (Results 1 - 25 of 69) sorted by relevance

123

/third_party/unity/extras/memory/test/
H A 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_BufferOverrunFoundDuringFre in main()
[all...]
/third_party/cJSON/tests/
H A Dcjson_add.c470 RUN_TEST(cjson_add_null_should_add_null); in main()
471 RUN_TEST(cjson_add_null_should_fail_with_null_pointers); in main()
472 RUN_TEST(cjson_add_null_should_fail_on_allocation_failure); in main()
474 RUN_TEST(cjson_add_true_should_add_true); in main()
475 RUN_TEST(cjson_add_true_should_fail_with_null_pointers); in main()
476 RUN_TEST(cjson_add_true_should_fail_on_allocation_failure); in main()
478 RUN_TEST(cjson_create_int_array_should_fail_on_allocation_failure); in main()
479 RUN_TEST(cjson_create_float_array_should_fail_on_allocation_failure); in main()
480 RUN_TEST(cjson_create_double_array_should_fail_on_allocation_failure); in main()
481 RUN_TEST(cjson_create_string_array_should_fail_on_allocation_failur in main()
[all...]
H A 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_printe in main()
[all...]
H A Dcompare_tests.c211 RUN_TEST(cjson_compare_should_compare_null_pointer_as_not_equal); in main()
212 RUN_TEST(cjson_compare_should_compare_invalid_as_not_equal); in main()
213 RUN_TEST(cjson_compare_should_compare_numbers); in main()
215 RUN_TEST(cjson_compare_should_compare_int64_numbers); in main()
217 RUN_TEST(cjson_compare_should_compare_booleans); in main()
218 RUN_TEST(cjson_compare_should_compare_null); in main()
219 RUN_TEST(cjson_compare_should_not_accept_invalid_types); in main()
220 RUN_TEST(cjson_compare_should_compare_strings); in main()
221 RUN_TEST(cjson_compare_should_compare_raw); in main()
222 RUN_TEST(cjson_compare_should_compare_array in main()
[all...]
H A 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()
H A 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()
H A 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()
/third_party/cJSON/tests/unity/examples/example_1/test/test_runners/
H A DTestProductionCode_Runner.c4 #define RUN_TEST(TestFunc, TestLineNum) \ macro
50 RUN_TEST(test_FindFunction_WhichIsBroken_ShouldReturnZeroIfItemIsNotInList_WhichWorksEvenInOurBrokenCode, 20); in main()
51 RUN_TEST(test_FindFunction_WhichIsBroken_ShouldReturnTheIndexForItemsInList_WhichWillFailBecauseOurFunctionUnderTestIsBroken, 30); in main()
52 RUN_TEST(test_FunctionWhichReturnsLocalVariable_ShouldReturnTheCurrentCounterValue, 41); in main()
53 RUN_TEST(test_FunctionWhichReturnsLocalVariable_ShouldReturnTheCurrentCounterValueAgain, 51); in main()
54 RUN_TEST(test_FunctionWhichReturnsLocalVariable_ShouldReturnCurrentCounter_ButFailsBecauseThisTestIsActuallyFlawed, 57); in main()
/third_party/unity/examples/example_1/test/test_runners/
H A DTestProductionCode_Runner.c4 #define RUN_TEST(TestFunc, TestLineNum) \ macro
50 RUN_TEST(test_FindFunction_WhichIsBroken_ShouldReturnZeroIfItemIsNotInList_WhichWorksEvenInOurBrokenCode, 20); in main()
51 RUN_TEST(test_FindFunction_WhichIsBroken_ShouldReturnTheIndexForItemsInList_WhichWillFailBecauseOurFunctionUnderTestIsBroken, 30); in main()
52 RUN_TEST(test_FunctionWhichReturnsLocalVariable_ShouldReturnTheCurrentCounterValue, 41); in main()
53 RUN_TEST(test_FunctionWhichReturnsLocalVariable_ShouldReturnTheCurrentCounterValueAgain, 51); in main()
54 RUN_TEST(test_FunctionWhichReturnsLocalVariable_ShouldReturnCurrentCounter_ButFailsBecauseThisTestIsActuallyFlawed, 57); in main()
/third_party/unity/examples/example_4/test/test_runners/
H A DTestProductionCode_Runner.c4 #define RUN_TEST(TestFunc, TestLineNum) \ macro
50 RUN_TEST(test_FindFunction_WhichIsBroken_ShouldReturnZeroIfItemIsNotInList_WhichWorksEvenInOurBrokenCode, 20); in main()
51 RUN_TEST(test_FindFunction_WhichIsBroken_ShouldReturnTheIndexForItemsInList_WhichWillFailBecauseOurFunctionUnderTestIsBroken, 30); in main()
52 RUN_TEST(test_FunctionWhichReturnsLocalVariable_ShouldReturnTheCurrentCounterValue, 41); in main()
53 RUN_TEST(test_FunctionWhichReturnsLocalVariable_ShouldReturnTheCurrentCounterValueAgain, 51); in main()
54 RUN_TEST(test_FunctionWhichReturnsLocalVariable_ShouldReturnCurrentCounter_ButFailsBecauseThisTestIsActuallyFlawed, 57); in main()
/third_party/cJSON/tests/unity/test/expectdata/
H A Dtestsample_new1.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()
H A 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()
H A 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()
H A 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()
H A Dtestsample_yaml.c4 #define RUN_TEST(TestFunc, TestLineNum) \ macro
65 RUN_TEST(test_TheFirstThingToTest, 21); in main()
66 RUN_TEST(test_TheSecondThingToTest, 43); in main()
67 RUN_TEST(test_TheThirdThingToTest, 53); in main()
68 RUN_TEST(test_TheFourthThingToTest, 58); in main()
H A 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()
H A 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()
H A 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()
H A 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()
/third_party/unity/test/expectdata/
H A 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()
H A 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()
H A 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()
H A Dtestsample_new1.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()
H A 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()
H A 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()

Completed in 5 milliseconds

123