/third_party/googletest/googletest/test/ |
D | gtest-unittest-api_test.cc | 58 UnitTest& unit_test = *UnitTest::GetInstance(); in GetSortedTestSuites() local 60 unit_test.total_test_suite_count())]; in GetSortedTestSuites() 62 for (int i = 0; i < unit_test.total_test_suite_count(); ++i) in GetSortedTestSuites() 63 test_suites[i] = unit_test.GetTestSuite(i); in GetSortedTestSuites() 65 std::sort(test_suites, test_suites + unit_test.total_test_suite_count(), in GetSortedTestSuites() 73 UnitTest& unit_test = *UnitTest::GetInstance(); in FindTestSuite() local 74 for (int i = 0; i < unit_test.total_test_suite_count(); ++i) { in FindTestSuite() 75 const TestSuite* test_suite = unit_test.GetTestSuite(i); in FindTestSuite() 109 const auto& unit_test = UnitTest::GetInstance(); in TEST() local 111 ASSERT_EQ(2 + kTypedTestSuites, unit_test->total_test_suite_count()); in TEST() [all …]
|
D | googletest-param-test-test.cc | 960 const auto& unit_test = ::testing::UnitTest::GetInstance(); in TEST() local 962 for (int suite_num = 0; suite_num < unit_test->total_test_suite_count(); in TEST() 964 const ::testing::TestSuite* test_suite = unit_test->GetTestSuite(suite_num); in TEST()
|
/third_party/googletest/googletest/samples/ |
D | sample9_unittest.cc | 54 void OnTestProgramEnd(const UnitTest& unit_test) override { in OnTestProgramEnd() argument 55 fprintf(stdout, "TEST %s\n", unit_test.Passed() ? "PASSED" : "FAILED"); in OnTestProgramEnd() 108 UnitTest& unit_test = *UnitTest::GetInstance(); in main() local 113 TestEventListeners& listeners = unit_test.listeners(); in main() 132 for (int i = 0; i < unit_test.total_test_suite_count(); ++i) { in main() 133 const testing::TestSuite& test_suite = *unit_test.GetTestSuite(i); in main()
|
/third_party/googletest/googletest/src/ |
D | gtest.cc | 1007 UnitTestImpl* unit_test) in DefaultGlobalTestPartResultReporter() argument 1008 : unit_test_(unit_test) {} in DefaultGlobalTestPartResultReporter() 1017 UnitTestImpl* unit_test) in DefaultPerThreadTestPartResultReporter() argument 1018 : unit_test_(unit_test) {} in DefaultPerThreadTestPartResultReporter() 3349 void OnTestIterationStart(const UnitTest& unit_test, int iteration) override; 3350 void OnEnvironmentsSetUpStart(const UnitTest& unit_test) override; 3369 void OnEnvironmentsTearDownStart(const UnitTest& unit_test) override; 3371 void OnTestIterationEnd(const UnitTest& unit_test, int iteration) override; 3375 static void PrintFailedTests(const UnitTest& unit_test); 3376 static void PrintFailedTestSuites(const UnitTest& unit_test); [all …]
|
D | gtest-internal-inl.h | 470 explicit DefaultGlobalTestPartResultReporter(UnitTestImpl* unit_test); 489 explicit DefaultPerThreadTestPartResultReporter(UnitTestImpl* unit_test); 1140 void OnTestProgramEnd(const UnitTest& unit_test) override { in OnTestProgramEnd() argument 1143 SendLn("event=TestProgramEnd&passed=" + FormatBool(unit_test.Passed())); in OnTestProgramEnd() 1155 void OnTestIterationEnd(const UnitTest& unit_test, in OnTestIterationEnd() argument 1157 SendLn("event=TestIterationEnd&passed=" + FormatBool(unit_test.Passed()) + in OnTestIterationEnd() 1158 "&elapsed_time=" + StreamableToString(unit_test.elapsed_time()) + in OnTestIterationEnd()
|
/third_party/node/deps/googletest/src/ |
D | gtest.cc | 1015 UnitTestImpl* unit_test) in DefaultGlobalTestPartResultReporter() argument 1016 : unit_test_(unit_test) {} in DefaultGlobalTestPartResultReporter() 1025 UnitTestImpl* unit_test) in DefaultPerThreadTestPartResultReporter() argument 1026 : unit_test_(unit_test) {} in DefaultPerThreadTestPartResultReporter() 3377 void OnTestIterationStart(const UnitTest& unit_test, int iteration) override; 3378 void OnEnvironmentsSetUpStart(const UnitTest& unit_test) override; 3397 void OnEnvironmentsTearDownStart(const UnitTest& unit_test) override; 3399 void OnTestIterationEnd(const UnitTest& unit_test, int iteration) override; 3403 static void PrintFailedTests(const UnitTest& unit_test); 3404 static void PrintFailedTestSuites(const UnitTest& unit_test); [all …]
|
D | gtest-internal-inl.h | 471 explicit DefaultGlobalTestPartResultReporter(UnitTestImpl* unit_test); 490 explicit DefaultPerThreadTestPartResultReporter(UnitTestImpl* unit_test); 1141 void OnTestProgramEnd(const UnitTest& unit_test) override { in OnTestProgramEnd() argument 1144 SendLn("event=TestProgramEnd&passed=" + FormatBool(unit_test.Passed())); in OnTestProgramEnd() 1156 void OnTestIterationEnd(const UnitTest& unit_test, in OnTestIterationEnd() argument 1158 SendLn("event=TestIterationEnd&passed=" + FormatBool(unit_test.Passed()) + in OnTestIterationEnd() 1159 "&elapsed_time=" + StreamableToString(unit_test.elapsed_time()) + in OnTestIterationEnd()
|
/third_party/mesa3d/src/gtest/src/ |
D | gtest.cc | 705 UnitTestImpl* unit_test) : unit_test_(unit_test) {} in DefaultGlobalTestPartResultReporter() argument 714 UnitTestImpl* unit_test) : unit_test_(unit_test) {} in DefaultPerThreadTestPartResultReporter() argument 3111 void OnTestIterationStart(const UnitTest& unit_test, int iteration) override; 3112 void OnEnvironmentsSetUpStart(const UnitTest& unit_test) override; 3130 void OnEnvironmentsTearDownStart(const UnitTest& unit_test) override; 3132 void OnTestIterationEnd(const UnitTest& unit_test, int iteration) override; 3136 static void PrintFailedTests(const UnitTest& unit_test); 3137 static void PrintSkippedTests(const UnitTest& unit_test); 3142 const UnitTest& unit_test, int iteration) { in OnTestIterationStart() argument 3166 unit_test.random_seed()); in OnTestIterationStart() [all …]
|
D | gtest-internal-inl.h | 479 explicit DefaultGlobalTestPartResultReporter(UnitTestImpl* unit_test); 495 explicit DefaultPerThreadTestPartResultReporter(UnitTestImpl* unit_test); 1134 void OnTestProgramEnd(const UnitTest& unit_test) override { in OnTestProgramEnd() argument 1137 SendLn("event=TestProgramEnd&passed=" + FormatBool(unit_test.Passed())); in OnTestProgramEnd() 1149 void OnTestIterationEnd(const UnitTest& unit_test, in OnTestIterationEnd() argument 1152 FormatBool(unit_test.Passed()) + "&elapsed_time=" + in OnTestIterationEnd() 1153 StreamableToString(unit_test.elapsed_time()) + "ms"); in OnTestIterationEnd()
|
/third_party/cef/tools/distrib/gtest/ |
D | gtest-all.cc | 869 explicit DefaultGlobalTestPartResultReporter(UnitTestImpl* unit_test); 885 explicit DefaultPerThreadTestPartResultReporter(UnitTestImpl* unit_test); 1532 void OnTestProgramEnd(const UnitTest& unit_test) override { in OnTestProgramEnd() argument 1535 SendLn("event=TestProgramEnd&passed=" + FormatBool(unit_test.Passed())); in OnTestProgramEnd() 1547 void OnTestIterationEnd(const UnitTest& unit_test, in OnTestIterationEnd() argument 1550 FormatBool(unit_test.Passed()) + "&elapsed_time=" + in OnTestIterationEnd() 1551 StreamableToString(unit_test.elapsed_time()) + "ms"); in OnTestIterationEnd() 2402 UnitTestImpl* unit_test) : unit_test_(unit_test) {} in DefaultGlobalTestPartResultReporter() argument 2411 UnitTestImpl* unit_test) : unit_test_(unit_test) {} in DefaultPerThreadTestPartResultReporter() argument 4848 void OnTestIterationStart(const UnitTest& unit_test, int iteration) override; [all …]
|
D | gtest.h | 4218 UnitTest* unit_test, int skip_count); 10983 virtual void OnTestProgramStart(const UnitTest& unit_test) = 0; 10988 virtual void OnTestIterationStart(const UnitTest& unit_test, 10992 virtual void OnEnvironmentsSetUpStart(const UnitTest& unit_test) = 0; 10995 virtual void OnEnvironmentsSetUpEnd(const UnitTest& unit_test) = 0; 11025 virtual void OnEnvironmentsTearDownStart(const UnitTest& unit_test) = 0; 11028 virtual void OnEnvironmentsTearDownEnd(const UnitTest& unit_test) = 0; 11031 virtual void OnTestIterationEnd(const UnitTest& unit_test, 11035 virtual void OnTestProgramEnd(const UnitTest& unit_test) = 0;
|
/third_party/skia/third_party/externals/sfntly/doc/ |
D | unit_tests.md | 17 unit_test --gtest_filter=NameEditing.* 28 valgrind --leak-check=full -v ./unit_test --gtest_filter=*.*-FontData.*
|
D | build_cpp.md | 148 A program named `unit_test` will be generated after a full compilation.
|
/third_party/skia/third_party/externals/sfntly/cpp/ |
D | CMakeLists.txt | 86 add_executable(unit_test target 90 target_link_libraries(unit_test sfntly icuuc tinyxml) 92 target_link_libraries(unit_test pthread)
|
/third_party/googletest/googletest/include/gtest/ |
D | gtest.h | 938 virtual void OnTestProgramStart(const UnitTest& unit_test) = 0; 943 virtual void OnTestIterationStart(const UnitTest& unit_test, 947 virtual void OnEnvironmentsSetUpStart(const UnitTest& unit_test) = 0; 950 virtual void OnEnvironmentsSetUpEnd(const UnitTest& unit_test) = 0; 983 virtual void OnEnvironmentsTearDownStart(const UnitTest& unit_test) = 0; 986 virtual void OnEnvironmentsTearDownEnd(const UnitTest& unit_test) = 0; 989 virtual void OnTestIterationEnd(const UnitTest& unit_test, int iteration) = 0; 992 virtual void OnTestProgramEnd(const UnitTest& unit_test) = 0;
|
/third_party/node/deps/googletest/include/gtest/ |
D | gtest.h | 931 virtual void OnTestProgramStart(const UnitTest& unit_test) = 0; 936 virtual void OnTestIterationStart(const UnitTest& unit_test, 940 virtual void OnEnvironmentsSetUpStart(const UnitTest& unit_test) = 0; 943 virtual void OnEnvironmentsSetUpEnd(const UnitTest& unit_test) = 0; 976 virtual void OnEnvironmentsTearDownStart(const UnitTest& unit_test) = 0; 979 virtual void OnEnvironmentsTearDownEnd(const UnitTest& unit_test) = 0; 982 virtual void OnTestIterationEnd(const UnitTest& unit_test, int iteration) = 0; 985 virtual void OnTestProgramEnd(const UnitTest& unit_test) = 0;
|
/third_party/mesa3d/src/gtest/include/gtest/ |
D | gtest.h | 1081 virtual void OnTestProgramStart(const UnitTest& unit_test) = 0; 1086 virtual void OnTestIterationStart(const UnitTest& unit_test, 1090 virtual void OnEnvironmentsSetUpStart(const UnitTest& unit_test) = 0; 1093 virtual void OnEnvironmentsSetUpEnd(const UnitTest& unit_test) = 0; 1123 virtual void OnEnvironmentsTearDownStart(const UnitTest& unit_test) = 0; 1126 virtual void OnEnvironmentsTearDownEnd(const UnitTest& unit_test) = 0; 1129 virtual void OnTestIterationEnd(const UnitTest& unit_test, 1133 virtual void OnTestProgramEnd(const UnitTest& unit_test) = 0;
|
/third_party/mesa3d/src/freedreno/decode/ |
D | cffdump.c | 132 { "unit-test", no_argument, &options.unit_test, 1 }, 268 if (!options.unit_test) in handle_file()
|
D | cffdec.h | 70 int unit_test; member
|
/third_party/mindspore/test/ |
D | BUILD.gn | 18 deps = [ "unittest:unit_test" ]
|
/third_party/mindspore/test/unittest/ |
D | BUILD.gn | 44 group("unit_test") {
|
/third_party/mesa3d/src/freedreno/afuc/ |
D | disasm.c | 896 bool unit_test = false; in main() local 915 unit_test = true; in main() 963 if (!unit_test) in main()
|
/third_party/googletest/docs/reference/ |
D | testing.md | 940 `virtual void TestEventListener::OnTestProgramStart(const UnitTest& unit_test)` 946 `virtual void TestEventListener::OnTestIterationStart(const UnitTest& unit_test, 956 unit_test)` 963 unit_test)` 1003 unit_test)` 1010 unit_test)` 1016 `virtual void TestEventListener::OnTestIterationEnd(const UnitTest& unit_test, 1023 `virtual void TestEventListener::OnTestProgramEnd(const UnitTest& unit_test)`
|
/third_party/mesa3d/src/gallium/drivers/r300/ |
D | meson.build | 158 'compiler/tests/unit_test.c',
|
/third_party/mesa3d/src/gtest/include/gtest/internal/ |
D | gtest-internal.h | 808 UnitTest* unit_test, int skip_count);
|