Home
last modified time | relevance | path

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

1234

/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()
/external/googletest/googletest/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/v8/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/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/vulkan-validation-layers/tests/gtest-1.7.0/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/libyuv/files/
Dlibyuv_test.gyp34 'unit_test/unit_test.h',
37 'unit_test/basictypes_test.cc',
38 'unit_test/compare_test.cc',
39 'unit_test/color_test.cc',
40 'unit_test/convert_test.cc',
41 'unit_test/cpu_test.cc',
42 'unit_test/math_test.cc',
43 'unit_test/planar_test.cc',
44 'unit_test/rotate_argb_test.cc',
45 'unit_test/rotate_test.cc',
[all …]
DBUILD.gn215 "unit_test/basictypes_test.cc",
216 "unit_test/color_test.cc",
217 "unit_test/compare_test.cc",
218 "unit_test/convert_test.cc",
219 "unit_test/cpu_test.cc",
220 "unit_test/math_test.cc",
221 "unit_test/planar_test.cc",
222 "unit_test/rotate_argb_test.cc",
223 "unit_test/rotate_test.cc",
224 "unit_test/scale_argb_test.cc",
[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/v8/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/vulkan-validation-layers/tests/gtest-1.7.0/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/googletest/googletest/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/autotest/client/site_tests/example_UnitTest/
Dexample_UnitTest.py5 from autotest_lib.client.bin import unit_test
7 class example_UnitTest(unit_test.unit_test):
/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/swiftshader/third_party/LLVM/utils/unittest/googletest/
Dgtest.cc661 UnitTestImpl* unit_test) : unit_test_(unit_test) {} in DefaultGlobalTestPartResultReporter() argument
670 UnitTestImpl* unit_test) : unit_test_(unit_test) {} in DefaultPerThreadTestPartResultReporter() argument
2666 virtual void OnTestIterationStart(const UnitTest& unit_test, int iteration);
2667 virtual void OnEnvironmentsSetUpStart(const UnitTest& unit_test);
2674 virtual void OnEnvironmentsTearDownStart(const UnitTest& unit_test);
2676 virtual void OnTestIterationEnd(const UnitTest& unit_test, int iteration);
2680 static void PrintFailedTests(const UnitTest& unit_test);
2687 const UnitTest& unit_test, int iteration) { in OnTestIterationStart() argument
2711 unit_test.random_seed()); in OnTestIterationStart()
2716 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/vulkan-validation-layers/tests/gtest-1.7.0/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 …]
/external/v8/testing/gtest/src/
Dgtest.cc687 UnitTestImpl* unit_test) : unit_test_(unit_test) {} in DefaultGlobalTestPartResultReporter() argument
696 UnitTestImpl* unit_test) : unit_test_(unit_test) {} in DefaultPerThreadTestPartResultReporter() argument
3036 virtual void OnTestIterationStart(const UnitTest& unit_test, int iteration);
3037 virtual void OnEnvironmentsSetUpStart(const UnitTest& unit_test);
3044 virtual void OnEnvironmentsTearDownStart(const UnitTest& unit_test);
3046 virtual void OnTestIterationEnd(const UnitTest& unit_test, int iteration);
3050 static void PrintFailedTests(const UnitTest& unit_test);
3055 const UnitTest& unit_test, int iteration) { in OnTestIterationStart() argument
3079 unit_test.random_seed()); in OnTestIterationStart()
3084 FormatTestCount(unit_test.test_to_run_count()).c_str(), in OnTestIterationStart()
[all …]
/external/libvpx/libvpx/third_party/googletest/src/src/
Dgtest.cc687 UnitTestImpl* unit_test) : unit_test_(unit_test) {} in DefaultGlobalTestPartResultReporter() argument
696 UnitTestImpl* unit_test) : unit_test_(unit_test) {} in DefaultPerThreadTestPartResultReporter() argument
3038 virtual void OnTestIterationStart(const UnitTest& unit_test, int iteration);
3039 virtual void OnEnvironmentsSetUpStart(const UnitTest& unit_test);
3046 virtual void OnEnvironmentsTearDownStart(const UnitTest& unit_test);
3048 virtual void OnTestIterationEnd(const UnitTest& unit_test, int iteration);
3052 static void PrintFailedTests(const UnitTest& unit_test);
3057 const UnitTest& unit_test, int iteration) { in OnTestIterationStart() argument
3081 unit_test.random_seed()); in OnTestIterationStart()
3086 FormatTestCount(unit_test.test_to_run_count()).c_str(), in OnTestIterationStart()
[all …]
/external/googletest/googletest/src/
Dgtest.cc687 UnitTestImpl* unit_test) : unit_test_(unit_test) {} in DefaultGlobalTestPartResultReporter() argument
696 UnitTestImpl* unit_test) : unit_test_(unit_test) {} in DefaultPerThreadTestPartResultReporter() argument
3036 virtual void OnTestIterationStart(const UnitTest& unit_test, int iteration);
3037 virtual void OnEnvironmentsSetUpStart(const UnitTest& unit_test);
3044 virtual void OnEnvironmentsTearDownStart(const UnitTest& unit_test);
3046 virtual void OnTestIterationEnd(const UnitTest& unit_test, int iteration);
3050 static void PrintFailedTests(const UnitTest& unit_test);
3055 const UnitTest& unit_test, int iteration) { in OnTestIterationStart() argument
3079 unit_test.random_seed()); in OnTestIterationStart()
3084 FormatTestCount(unit_test.test_to_run_count()).c_str(), in OnTestIterationStart()
[all …]

1234