Home
last modified time | relevance | path

Searched refs:unit_test (Results 1 – 25 of 45) sorted by relevance

12

/external/cmockery/cmockery_0_1_2/src/example/
Dcalculator_test.c401 unit_test(test_add), in main()
402 unit_test(test_subtract), in main()
403 unit_test(test_multiply), in main()
404 unit_test(test_divide), in main()
405 unit_test(test_divide_by_zero), in main()
406 unit_test(test_find_operator_function_by_string_null_functions), in main()
407 unit_test(test_find_operator_function_by_string_null_string), in main()
408 unit_test(test_find_operator_function_by_string_valid_null_functions), in main()
409 unit_test(test_find_operator_function_by_string_not_found), in main()
410 unit_test(test_find_operator_function_by_string_found), in main()
[all …]
Dallocate_module_test.c42 unit_test(leak_memory_test), in main()
43 unit_test(buffer_overflow_test), in main()
44 unit_test(buffer_underflow_test), in main()
Dproduct_database_test.c61 unit_test(test_connect_to_product_database), in main()
62 unit_test(test_connect_to_product_database_bad_url), in main()
63 unit_test(test_connect_to_product_database_missing_parameter), in main()
Dassert_macro_test.c40 unit_test(get_status_code_string_test), in main()
41 unit_test(string_to_status_code_test), in main()
Dcustomer_database_test.c65 unit_test(test_connect_to_customer_database), in main()
66 unit_test(test_get_customer_id_by_name), in main()
Drun_tests.c27 unit_test(null_test_success), in main()
/external/libyuv/files/
Dlibyuv_test.gyp26 'unit_test/unit_test.h',
29 'unit_test/compare_test.cc',
30 'unit_test/cpu_test.cc',
31 'unit_test/planar_test.cc',
32 'unit_test/rotate_argb_test.cc',
33 'unit_test/rotate_test.cc',
34 'unit_test/scale_argb_test.cc',
35 'unit_test/scale_test.cc',
36 'unit_test/unit_test.cc',
37 'unit_test/version_test.cc',
/external/google-breakpad/src/testing/gtest/test/
Dgtest-unittest-api_test.cc58 UnitTest& unit_test = *UnitTest::GetInstance(); in GetSortedTestCases() local
60 new const TestCase*[unit_test.total_test_case_count()]; in GetSortedTestCases()
62 for (int i = 0; i < unit_test.total_test_case_count(); ++i) in GetSortedTestCases()
63 test_cases[i] = unit_test.GetTestCase(i); in GetSortedTestCases()
66 test_cases + unit_test.total_test_case_count(), in GetSortedTestCases()
74 UnitTest& unit_test = *UnitTest::GetInstance(); in FindTestCase() local
75 for (int i = 0; i < unit_test.total_test_case_count(); ++i) { in FindTestCase()
76 const TestCase* test_case = unit_test.GetTestCase(i); in FindTestCase()
115 UnitTest* unit_test = UnitTest::GetInstance(); in TEST() local
117 ASSERT_EQ(2 + kTypedTestCases, unit_test->total_test_case_count()); in TEST()
[all …]
/external/gtest/test/
Dgtest-unittest-api_test.cc58 UnitTest& unit_test = *UnitTest::GetInstance(); in GetSortedTestCases() local
60 new const TestCase*[unit_test.total_test_case_count()]; in GetSortedTestCases()
62 for (int i = 0; i < unit_test.total_test_case_count(); ++i) in GetSortedTestCases()
63 test_cases[i] = unit_test.GetTestCase(i); in GetSortedTestCases()
66 test_cases + unit_test.total_test_case_count(), in GetSortedTestCases()
74 UnitTest& unit_test = *UnitTest::GetInstance(); in FindTestCase() local
75 for (int i = 0; i < unit_test.total_test_case_count(); ++i) { in FindTestCase()
76 const TestCase* test_case = unit_test.GetTestCase(i); in FindTestCase()
115 UnitTest* unit_test = UnitTest::GetInstance(); in TEST() local
117 ASSERT_EQ(2 + kTypedTestCases, unit_test->total_test_case_count()); in TEST()
[all …]
/external/protobuf/gtest/test/
Dgtest-unittest-api_test.cc58 UnitTest& unit_test = *UnitTest::GetInstance(); in GetSortedTestCases() local
60 new const TestCase*[unit_test.total_test_case_count()]; in GetSortedTestCases()
62 for (int i = 0; i < unit_test.total_test_case_count(); ++i) in GetSortedTestCases()
63 test_cases[i] = unit_test.GetTestCase(i); in GetSortedTestCases()
66 test_cases + unit_test.total_test_case_count(), in GetSortedTestCases()
74 UnitTest& unit_test = *UnitTest::GetInstance(); in FindTestCase() local
75 for (int i = 0; i < unit_test.total_test_case_count(); ++i) { in FindTestCase()
76 const TestCase* test_case = unit_test.GetTestCase(i); in FindTestCase()
121 UnitTest* unit_test = UnitTest::GetInstance(); in TEST() local
123 ASSERT_EQ(2 + kTypedTestCases, unit_test->total_test_case_count()); in TEST()
[all …]
/external/google-breakpad/src/testing/gtest/samples/
Dsample9_unittest.cc58 virtual void OnTestProgramEnd(const UnitTest& unit_test) { in OnTestProgramEnd() argument
59 fprintf(stdout, "TEST %s\n", unit_test.Passed() ? "PASSED" : "FAILED"); in OnTestProgramEnd()
118 UnitTest& unit_test = *UnitTest::GetInstance(); in main() local
123 TestEventListeners& listeners = unit_test.listeners(); in main()
142 for (int i = 0; i < unit_test.total_test_case_count(); ++i) { in main()
143 const TestCase& test_case = *unit_test.GetTestCase(i); in main()
/external/protobuf/gtest/samples/
Dsample9_unittest.cc58 virtual void OnTestProgramEnd(const UnitTest& unit_test) { in OnTestProgramEnd() argument
59 fprintf(stdout, "TEST %s\n", unit_test.Passed() ? "PASSED" : "FAILED"); in OnTestProgramEnd()
118 UnitTest& unit_test = *UnitTest::GetInstance(); in main() local
123 TestEventListeners& listeners = unit_test.listeners(); in main()
142 for (int i = 0; i < unit_test.total_test_case_count(); ++i) { in main()
143 const TestCase& test_case = *unit_test.GetTestCase(i); in main()
/external/google-breakpad/src/testing/gtest/src/
Dgtest.cc662 UnitTestImpl* unit_test) : unit_test_(unit_test) {} in DefaultGlobalTestPartResultReporter() argument
671 UnitTestImpl* unit_test) : unit_test_(unit_test) {} in DefaultPerThreadTestPartResultReporter() argument
2696 virtual void OnTestIterationStart(const UnitTest& unit_test, int iteration);
2697 virtual void OnEnvironmentsSetUpStart(const UnitTest& unit_test);
2704 virtual void OnEnvironmentsTearDownStart(const UnitTest& unit_test);
2706 virtual void OnTestIterationEnd(const UnitTest& unit_test, int iteration);
2710 static void PrintFailedTests(const UnitTest& unit_test);
2715 const UnitTest& unit_test, int iteration) { in OnTestIterationStart() argument
2739 unit_test.random_seed()); in OnTestIterationStart()
2744 FormatTestCount(unit_test.test_to_run_count()).c_str(), in OnTestIterationStart()
[all …]
/external/llvm/utils/unittest/googletest/src/
Dgtest.cc661 UnitTestImpl* unit_test) : unit_test_(unit_test) {} in DefaultGlobalTestPartResultReporter() argument
670 UnitTestImpl* unit_test) : unit_test_(unit_test) {} in DefaultPerThreadTestPartResultReporter() argument
2667 void OnTestIterationStart(const UnitTest &unit_test, int iteration) override;
2668 void OnEnvironmentsSetUpStart(const UnitTest &unit_test) override;
2675 void OnEnvironmentsTearDownStart(const UnitTest &unit_test) override;
2677 void OnTestIterationEnd(const UnitTest &unit_test, int iteration) override;
2681 static void PrintFailedTests(const UnitTest& unit_test);
2688 const UnitTest& unit_test, int iteration) { in OnTestIterationStart() argument
2712 unit_test.random_seed()); in OnTestIterationStart()
2717 FormatTestCount(unit_test.test_to_run_count()).c_str(), in OnTestIterationStart()
[all …]
/external/mesa3d/src/gtest/src/
Dgtest.cc661 UnitTestImpl* unit_test) : unit_test_(unit_test) {} in DefaultGlobalTestPartResultReporter() argument
670 UnitTestImpl* unit_test) : unit_test_(unit_test) {} in DefaultPerThreadTestPartResultReporter() argument
2695 virtual void OnTestIterationStart(const UnitTest& unit_test, int iteration);
2696 virtual void OnEnvironmentsSetUpStart(const UnitTest& unit_test);
2703 virtual void OnEnvironmentsTearDownStart(const UnitTest& unit_test);
2705 virtual void OnTestIterationEnd(const UnitTest& unit_test, int iteration);
2709 static void PrintFailedTests(const UnitTest& unit_test);
2716 const UnitTest& unit_test, int iteration) { in OnTestIterationStart() argument
2740 unit_test.random_seed()); in OnTestIterationStart()
2745 FormatTestCount(unit_test.test_to_run_count()).c_str(), in OnTestIterationStart()
[all …]
/external/protobuf/gtest/src/
Dgtest.cc639 UnitTestImpl* unit_test) : unit_test_(unit_test) {} in DefaultGlobalTestPartResultReporter() argument
648 UnitTestImpl* unit_test) : unit_test_(unit_test) {} in DefaultPerThreadTestPartResultReporter() argument
2672 virtual void OnTestIterationStart(const UnitTest& unit_test, int iteration);
2673 virtual void OnEnvironmentsSetUpStart(const UnitTest& unit_test);
2680 virtual void OnEnvironmentsTearDownStart(const UnitTest& unit_test);
2682 virtual void OnTestIterationEnd(const UnitTest& unit_test, int iteration);
2686 static void PrintFailedTests(const UnitTest& unit_test);
2693 const UnitTest& unit_test, int iteration) { in OnTestIterationStart() argument
2716 unit_test.random_seed()); in OnTestIterationStart()
2721 FormatTestCount(unit_test.test_to_run_count()).c_str(), in OnTestIterationStart()
[all …]
/external/gtest/src/
Dgtest.cc665 UnitTestImpl* unit_test) : unit_test_(unit_test) {} in DefaultGlobalTestPartResultReporter() argument
674 UnitTestImpl* unit_test) : unit_test_(unit_test) {} in DefaultPerThreadTestPartResultReporter() argument
2701 virtual void OnTestIterationStart(const UnitTest& unit_test, int iteration);
2702 virtual void OnEnvironmentsSetUpStart(const UnitTest& unit_test);
2709 virtual void OnEnvironmentsTearDownStart(const UnitTest& unit_test);
2711 virtual void OnTestIterationEnd(const UnitTest& unit_test, int iteration);
2715 static void PrintFailedTests(const UnitTest& unit_test);
2720 const UnitTest& unit_test, int iteration) { in OnTestIterationStart() argument
2744 unit_test.random_seed()); in OnTestIterationStart()
2749 FormatTestCount(unit_test.test_to_run_count()).c_str(), in OnTestIterationStart()
[all …]
Dgtest-internal-inl.h477 explicit DefaultGlobalTestPartResultReporter(UnitTestImpl* unit_test);
493 explicit DefaultPerThreadTestPartResultReporter(UnitTestImpl* unit_test);
1148 void OnTestProgramEnd(const UnitTest& unit_test) { in OnTestProgramEnd() argument
1151 SendLn("event=TestProgramEnd&passed=" + FormatBool(unit_test.Passed())); in OnTestProgramEnd()
1162 void OnTestIterationEnd(const UnitTest& unit_test, int /* iteration */) { in OnTestIterationEnd() argument
1164 FormatBool(unit_test.Passed()) + "&elapsed_time=" + in OnTestIterationEnd()
1165 StreamableToString(unit_test.elapsed_time()) + "ms"); in OnTestIterationEnd()
/external/protobuf/gtest/fused-src/gtest/
Dgtest-all.cc928 explicit DefaultGlobalTestPartResultReporter(UnitTestImpl* unit_test);
944 explicit DefaultPerThreadTestPartResultReporter(UnitTestImpl* unit_test);
1979 UnitTestImpl* unit_test) : unit_test_(unit_test) {} in DefaultGlobalTestPartResultReporter() argument
1988 UnitTestImpl* unit_test) : unit_test_(unit_test) {} in DefaultPerThreadTestPartResultReporter() argument
4012 virtual void OnTestIterationStart(const UnitTest& unit_test, int iteration);
4013 virtual void OnEnvironmentsSetUpStart(const UnitTest& unit_test);
4020 virtual void OnEnvironmentsTearDownStart(const UnitTest& unit_test);
4022 virtual void OnTestIterationEnd(const UnitTest& unit_test, int iteration);
4026 static void PrintFailedTests(const UnitTest& unit_test);
4033 const UnitTest& unit_test, int iteration) { in OnTestIterationStart() argument
[all …]
/external/libvpx/libvpx/third_party/googletest/src/src/
Dgtest-all.cc878 explicit DefaultGlobalTestPartResultReporter(UnitTestImpl* unit_test);
894 explicit DefaultPerThreadTestPartResultReporter(UnitTestImpl* unit_test);
1549 void OnTestProgramEnd(const UnitTest& unit_test) { in OnTestProgramEnd() argument
1552 SendLn("event=TestProgramEnd&passed=" + FormatBool(unit_test.Passed())); in OnTestProgramEnd()
1563 void OnTestIterationEnd(const UnitTest& unit_test, int /* iteration */) { in OnTestIterationEnd() argument
1565 FormatBool(unit_test.Passed()) + "&elapsed_time=" + in OnTestIterationEnd()
1566 StreamableToString(unit_test.elapsed_time()) + "ms"); in OnTestIterationEnd()
2149 UnitTestImpl* unit_test) : unit_test_(unit_test) {} in DefaultGlobalTestPartResultReporter() argument
2158 UnitTestImpl* unit_test) : unit_test_(unit_test) {} in DefaultPerThreadTestPartResultReporter() argument
4185 virtual void OnTestIterationStart(const UnitTest& unit_test, int iteration);
[all …]
/external/protobuf/gtest/include/gtest/
Dgtest.h859 virtual void OnTestProgramStart(const UnitTest& unit_test) = 0;
864 virtual void OnTestIterationStart(const UnitTest& unit_test,
868 virtual void OnEnvironmentsSetUpStart(const UnitTest& unit_test) = 0;
871 virtual void OnEnvironmentsSetUpEnd(const UnitTest& unit_test) = 0;
889 virtual void OnEnvironmentsTearDownStart(const UnitTest& unit_test) = 0;
892 virtual void OnEnvironmentsTearDownEnd(const UnitTest& unit_test) = 0;
895 virtual void OnTestIterationEnd(const UnitTest& unit_test,
899 virtual void OnTestProgramEnd(const UnitTest& unit_test) = 0;
/external/sfntly/cpp/
DCMakeLists.txt84 add_executable(unit_test target
88 target_link_libraries(unit_test sfntly icuuc tinyxml)
90 target_link_libraries(unit_test pthread)
/external/mesa3d/src/gtest/include/gtest/
Dgtest.h934 virtual void OnTestProgramStart(const UnitTest& unit_test) = 0;
939 virtual void OnTestIterationStart(const UnitTest& unit_test,
943 virtual void OnEnvironmentsSetUpStart(const UnitTest& unit_test) = 0;
946 virtual void OnEnvironmentsSetUpEnd(const UnitTest& unit_test) = 0;
964 virtual void OnEnvironmentsTearDownStart(const UnitTest& unit_test) = 0;
967 virtual void OnEnvironmentsTearDownEnd(const UnitTest& unit_test) = 0;
970 virtual void OnTestIterationEnd(const UnitTest& unit_test,
974 virtual void OnTestProgramEnd(const UnitTest& unit_test) = 0;
/external/llvm/utils/unittest/googletest/include/gtest/
Dgtest.h934 virtual void OnTestProgramStart(const UnitTest& unit_test) = 0;
939 virtual void OnTestIterationStart(const UnitTest& unit_test,
943 virtual void OnEnvironmentsSetUpStart(const UnitTest& unit_test) = 0;
946 virtual void OnEnvironmentsSetUpEnd(const UnitTest& unit_test) = 0;
964 virtual void OnEnvironmentsTearDownStart(const UnitTest& unit_test) = 0;
967 virtual void OnEnvironmentsTearDownEnd(const UnitTest& unit_test) = 0;
970 virtual void OnTestIterationEnd(const UnitTest& unit_test,
974 virtual void OnTestProgramEnd(const UnitTest& unit_test) = 0;
/external/google-breakpad/src/testing/gtest/include/gtest/
Dgtest.h934 virtual void OnTestProgramStart(const UnitTest& unit_test) = 0;
939 virtual void OnTestIterationStart(const UnitTest& unit_test,
943 virtual void OnEnvironmentsSetUpStart(const UnitTest& unit_test) = 0;
946 virtual void OnEnvironmentsSetUpEnd(const UnitTest& unit_test) = 0;
964 virtual void OnEnvironmentsTearDownStart(const UnitTest& unit_test) = 0;
967 virtual void OnEnvironmentsTearDownEnd(const UnitTest& unit_test) = 0;
970 virtual void OnTestIterationEnd(const UnitTest& unit_test,
974 virtual void OnTestProgramEnd(const UnitTest& unit_test) = 0;

12