Home
last modified time | relevance | path

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

12

/external/chromium/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/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/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/samples/
Dsample9_unittest.cc55 virtual void OnTestProgramStart(const UnitTest& unit_test) {} in OnTestProgramStart() argument
58 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/chromium/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/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/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 …]
Dgtest-internal-inl.h466 explicit DefaultGlobalTestPartResultReporter(UnitTestImpl* unit_test);
482 explicit DefaultPerThreadTestPartResultReporter(UnitTestImpl* unit_test);
/external/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
2667 virtual void OnTestIterationStart(const UnitTest& unit_test, int iteration);
2668 virtual void OnEnvironmentsSetUpStart(const UnitTest& unit_test);
2675 virtual void OnEnvironmentsTearDownStart(const UnitTest& unit_test);
2677 virtual void OnTestIterationEnd(const UnitTest& unit_test, int iteration);
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/chromium/testing/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 …]
Dgtest-internal-inl.h459 explicit DefaultGlobalTestPartResultReporter(UnitTestImpl* unit_test);
475 explicit DefaultPerThreadTestPartResultReporter(UnitTestImpl* unit_test);
/external/protobuf/gtest/src/
Dgtest.cc631 UnitTestImpl* unit_test) : unit_test_(unit_test) {} in DefaultGlobalTestPartResultReporter() argument
640 UnitTestImpl* unit_test) : unit_test_(unit_test) {} in DefaultPerThreadTestPartResultReporter() argument
2643 virtual void OnTestIterationStart(const UnitTest& unit_test, int iteration);
2644 virtual void OnEnvironmentsSetUpStart(const UnitTest& unit_test);
2651 virtual void OnEnvironmentsTearDownStart(const UnitTest& unit_test);
2653 virtual void OnTestIterationEnd(const UnitTest& unit_test, int iteration);
2657 static void PrintFailedTests(const UnitTest& unit_test);
2664 const UnitTest& unit_test, int iteration) { in OnTestIterationStart() argument
2687 unit_test.random_seed()); in OnTestIterationStart()
2692 FormatTestCount(unit_test.test_to_run_count()).c_str(), in OnTestIterationStart()
[all …]
Dgtest-internal-inl.h705 explicit DefaultGlobalTestPartResultReporter(UnitTestImpl* unit_test);
721 explicit DefaultPerThreadTestPartResultReporter(UnitTestImpl* unit_test);
/external/chromium/sdch/open-vcdiff/src/gtest/
Dgtest.cc1709 UnitTest* const unit_test = UnitTest::GetInstance(); in AddExceptionThrownFailure() local
1710 unit_test->AddTestPartResult( in AddExceptionThrownFailure()
2295 virtual void OnUnitTestStart(const UnitTest * unit_test);
2302 virtual void OnUnitTestEnd(const UnitTest * unit_test);
2310 const UnitTest * unit_test) { in OnUnitTestStart() argument
2320 const internal::UnitTestImpl* const impl = unit_test->impl(); in OnUnitTestStart()
2411 const UnitTest * unit_test) { in OnUnitTestEnd() argument
2412 const internal::UnitTestImpl* const impl = unit_test->impl(); in OnUnitTestEnd()
2458 virtual void OnUnitTestStart(const UnitTest* unit_test);
2459 virtual void OnUnitTestEnd(const UnitTest* unit_test);
[all …]
/external/protobuf/gtest/include/gtest/
Dgtest.h780 virtual void OnTestProgramStart(const UnitTest& unit_test) = 0;
785 virtual void OnTestIterationStart(const UnitTest& unit_test,
789 virtual void OnEnvironmentsSetUpStart(const UnitTest& unit_test) = 0;
792 virtual void OnEnvironmentsSetUpEnd(const UnitTest& unit_test) = 0;
810 virtual void OnEnvironmentsTearDownStart(const UnitTest& unit_test) = 0;
813 virtual void OnEnvironmentsTearDownEnd(const UnitTest& unit_test) = 0;
816 virtual void OnTestIterationEnd(const UnitTest& unit_test,
820 virtual void OnTestProgramEnd(const UnitTest& unit_test) = 0;
/external/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/chromium/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;
/external/webrtc/src/modules/audio_processing/
Dapm_tests.gypi32 'sources': [ 'test/unit_test.cc', ],
DAndroid.mk110 test/unit_test.cc \
/external/valgrind/unittest/
Dold_test_suite.cc91 virtual void OnTestProgramEnd(const ::testing::UnitTest& unit_test) { in OnTestProgramEnd() argument
/external/llvm/utils/unittest/googletest/include/gtest/internal/
Dgtest-internal-inl.h466 explicit DefaultGlobalTestPartResultReporter(UnitTestImpl* unit_test);
482 explicit DefaultPerThreadTestPartResultReporter(UnitTestImpl* unit_test);
Dgtest-internal.h744 GTEST_API_ String GetCurrentOsStackTraceExceptTop(UnitTest* unit_test,
/external/protobuf/gtest/include/gtest/internal/
Dgtest-internal.h746 String GetCurrentOsStackTraceExceptTop(UnitTest* unit_test, int skip_count);
/external/gtest/include/gtest/internal/
Dgtest-internal.h724 GTEST_API_ String GetCurrentOsStackTraceExceptTop(UnitTest* unit_test,

12