Home
last modified time | relevance | path

Searched refs:UnitTest (Results 1 – 25 of 188) sorted by relevance

12345678

/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dgoogle-upgrade-googletest-case.cpp470 class FooUnitTest : public testing::UnitTest {
516 class BarUnitTest : public testing::UnitTest {
518 using testing::UnitTest::current_test_case;
521 using testing::UnitTest::successful_test_case_count;
524 using testing::UnitTest::failed_test_case_count;
527 using testing::UnitTest::total_test_case_count;
530 using testing::UnitTest::test_case_to_run_count;
533 using testing::UnitTest::GetTestCase;
561 class BarUnitTest3 : public testing::UnitTest {
590 class UnitTest { class
[all …]
/external/googletest/googletest/test/
Dgoogletest-listener-test.cc48 using ::testing::UnitTest;
61 void OnTestProgramStart(const UnitTest& /*unit_test*/) override { in OnTestProgramStart() argument
65 void OnTestIterationStart(const UnitTest& /*unit_test*/, in OnTestIterationStart() argument
73 void OnEnvironmentsSetUpStart(const UnitTest& /*unit_test*/) override { in OnEnvironmentsSetUpStart() argument
77 void OnEnvironmentsSetUpEnd(const UnitTest& /*unit_test*/) override { in OnEnvironmentsSetUpEnd() argument
104 void OnEnvironmentsTearDownStart(const UnitTest& /*unit_test*/) override { in OnEnvironmentsTearDownStart() argument
108 void OnEnvironmentsTearDownEnd(const UnitTest& /*unit_test*/) override { in OnEnvironmentsTearDownEnd() argument
112 void OnTestIterationEnd(const UnitTest& /*unit_test*/, in OnTestIterationEnd() argument
120 void OnTestProgramEnd(const UnitTest& /*unit_test*/) override { in OnTestProgramEnd() argument
138 void OnTestProgramStart(const UnitTest& /*unit_test*/) override { in OnTestProgramStart() argument
[all …]
/external/rust/crates/quiche/deps/boringssl/src/third_party/googletest/test/
Dgoogletest-listener-test.cc47 using ::testing::UnitTest;
60 void OnTestProgramStart(const UnitTest& /*unit_test*/) override { in OnTestProgramStart() argument
64 void OnTestIterationStart(const UnitTest& /*unit_test*/, in OnTestIterationStart() argument
72 void OnEnvironmentsSetUpStart(const UnitTest& /*unit_test*/) override { in OnEnvironmentsSetUpStart() argument
76 void OnEnvironmentsSetUpEnd(const UnitTest& /*unit_test*/) override { in OnEnvironmentsSetUpEnd() argument
100 void OnEnvironmentsTearDownStart(const UnitTest& /*unit_test*/) override { in OnEnvironmentsTearDownStart() argument
104 void OnEnvironmentsTearDownEnd(const UnitTest& /*unit_test*/) override { in OnEnvironmentsTearDownEnd() argument
108 void OnTestIterationEnd(const UnitTest& /*unit_test*/, in OnTestIterationEnd() argument
116 void OnTestProgramEnd(const UnitTest& /*unit_test*/) override { in OnTestProgramEnd() argument
134 void OnTestProgramStart(const UnitTest& /*unit_test*/) override { in OnTestProgramStart() argument
[all …]
/external/libtextclassifier/native/utils/testing/
Dlogging_event_listener.h30 void OnTestProgramStart(const testing::UnitTest& unit_test) override;
32 void OnTestIterationStart(const testing::UnitTest& unit_test,
35 void OnEnvironmentsSetUpStart(const testing::UnitTest& unit_test) override;
37 void OnEnvironmentsSetUpEnd(const testing::UnitTest& unit_test) override;
50 void OnEnvironmentsTearDownStart(const testing::UnitTest& unit_test) override;
52 void OnEnvironmentsTearDownEnd(const testing::UnitTest& unit_test) override;
54 void OnTestIterationEnd(const testing::UnitTest& unit_test,
57 void OnTestProgramEnd(const testing::UnitTest& unit_test) override;
Dlogging_event_listener.cc24 const testing::UnitTest& /* unit_test */) {} in OnTestProgramStart() argument
27 const testing::UnitTest& unit_test, int iteration) { in OnTestIterationStart()
34 const testing::UnitTest& unit_test) { in OnEnvironmentsSetUpStart()
39 const testing::UnitTest& /* unit_test */) {} in OnEnvironmentsSetUpEnd() argument
81 const testing::UnitTest& unit_test) { in OnEnvironmentsTearDownStart()
86 const testing::UnitTest& /* unit_test */) {} in OnEnvironmentsTearDownEnd() argument
89 const testing::UnitTest& unit_test, int iteration) { in OnTestIterationEnd()
117 const testing::UnitTest& /* unit_test */) {} in OnTestProgramEnd() argument
/external/icing/icing/testing/
Dlogging-event-listener.h29 void OnTestProgramStart(const testing::UnitTest& unit_test) override;
31 void OnTestIterationStart(const testing::UnitTest& unit_test,
34 void OnEnvironmentsSetUpStart(const testing::UnitTest& unit_test) override;
36 void OnEnvironmentsSetUpEnd(const testing::UnitTest& unit_test) override;
49 void OnEnvironmentsTearDownStart(const testing::UnitTest& unit_test) override;
51 void OnEnvironmentsTearDownEnd(const testing::UnitTest& unit_test) override;
53 void OnTestIterationEnd(const testing::UnitTest& unit_test,
56 void OnTestProgramEnd(const testing::UnitTest& unit_test) override;
Dlogging-event-listener.cc24 const testing::UnitTest& /* unit_test */) {} in OnTestProgramStart() argument
27 const testing::UnitTest& unit_test, int iteration) { in OnTestIterationStart()
34 const testing::UnitTest& unit_test) { in OnEnvironmentsSetUpStart()
39 const testing::UnitTest& /* unit_test */) {} in OnEnvironmentsSetUpEnd() argument
82 const testing::UnitTest& unit_test) { in OnEnvironmentsTearDownStart()
87 const testing::UnitTest& /* unit_test */) {} in OnEnvironmentsTearDownEnd() argument
90 const testing::UnitTest& unit_test, int iteration) { in OnTestIterationEnd()
118 const testing::UnitTest& /* unit_test */) {} in OnTestProgramEnd() argument
/external/protobuf/csharp/src/Google.Protobuf.Test/TestProtos/
DUnittestCustomOptionsProto3.cs12 namespace UnitTest.Issues.TestProtos {
142 …::GeneratedClrTypeInfo(new[] {typeof(global::UnitTest.Issues.TestProtos.MethodOpt1), typeof(global… in UnittestCustomOptionsProto3Reflection()
143UnitTest.Issues.TestProtos.TestMessageWithCustomOptions), global::UnitTest.Issues.TestProtos.TestM… in UnittestCustomOptionsProto3Reflection()
144 … pbr::GeneratedClrTypeInfo(typeof(global::UnitTest.Issues.TestProtos.CustomOptionFooRequest), glob… in UnittestCustomOptionsProto3Reflection()
145 … pbr::GeneratedClrTypeInfo(typeof(global::UnitTest.Issues.TestProtos.CustomOptionFooResponse), glo… in UnittestCustomOptionsProto3Reflection()
146 …r::GeneratedClrTypeInfo(typeof(global::UnitTest.Issues.TestProtos.CustomOptionFooClientMessage), g… in UnittestCustomOptionsProto3Reflection()
147 …r::GeneratedClrTypeInfo(typeof(global::UnitTest.Issues.TestProtos.CustomOptionFooServerMessage), g… in UnittestCustomOptionsProto3Reflection()
148UnitTest.Issues.TestProtos.DummyMessageContainingEnum), global::UnitTest.Issues.TestProtos.DummyMe… in UnittestCustomOptionsProto3Reflection()
149 …::GeneratedClrTypeInfo(typeof(global::UnitTest.Issues.TestProtos.DummyMessageInvalidAsOptionType),… in UnittestCustomOptionsProto3Reflection()
150 …r::GeneratedClrTypeInfo(typeof(global::UnitTest.Issues.TestProtos.CustomOptionMinIntegerValues), g… in UnittestCustomOptionsProto3Reflection()
[all …]
DUnittestIssues.cs12 namespace UnitTest.Issues.TestProtos {
57 …:GeneratedClrTypeInfo(new[] {typeof(global::UnitTest.Issues.TestProtos.NegativeEnum), typeof(globa… in UnittestIssuesReflection()
58UnitTest.Issues.TestProtos.Issue307), global::UnitTest.Issues.TestProtos.Issue307.Parser, null, nu… in UnittestIssuesReflection()
59 …ew pbr::GeneratedClrTypeInfo(typeof(global::UnitTest.Issues.TestProtos.NegativeEnumMessage), globa… in UnittestIssuesReflection()
60 …new pbr::GeneratedClrTypeInfo(typeof(global::UnitTest.Issues.TestProtos.DeprecatedChild), global:: in UnittestIssuesReflection()
61 … pbr::GeneratedClrTypeInfo(typeof(global::UnitTest.Issues.TestProtos.DeprecatedFieldsMessage), glo… in UnittestIssuesReflection()
62 …new pbr::GeneratedClrTypeInfo(typeof(global::UnitTest.Issues.TestProtos.ItemField), global::UnitTe… in UnittestIssuesReflection()
63UnitTest.Issues.TestProtos.ReservedNames), global::UnitTest.Issues.TestProtos.ReservedNames.Parser… in UnittestIssuesReflection()
64 …w pbr::GeneratedClrTypeInfo(typeof(global::UnitTest.Issues.TestProtos.TestJsonFieldOrdering), glob… in UnittestIssuesReflection()
65 …new pbr::GeneratedClrTypeInfo(typeof(global::UnitTest.Issues.TestProtos.TestJsonName), global::Uni… in UnittestIssuesReflection()
[all …]
/external/llvm/utils/unittest/googletest/src/
Dgtest.cc353 UnitTest::GetInstance()-> in operator =()
356 UnitTest::GetInstance()->impl() in operator =()
406 UnitTest::GetInstance()->original_working_dir()), in GetAbsolutePathToOutputFile()
416 internal::FilePath(UnitTest::GetInstance()->original_working_dir()), in GetAbsolutePathToOutputFile()
1920 UnitTest::GetInstance()->RecordPropertyForCurrentTest(key, value); in RecordProperty()
1936 UnitTest::GetInstance()->AddTestPartResult( in ReportFailureInUnknownLocation()
2290 TestEventListener* repeater = UnitTest::GetInstance()->listeners().repeater(); in Run()
2407 TestEventListener* repeater = UnitTest::GetInstance()->listeners().repeater(); in Run()
2666 void OnTestProgramStart(const UnitTest & /*unit_test*/) override {} in OnTestProgramStart() argument
2667 void OnTestIterationStart(const UnitTest &unit_test, int iteration) override;
[all …]
/external/skqp/tools/skqp/src/
Dskqp.h51 using UnitTest = const skiatest::Test*; variable
57 static const char* GetUnitTestName(UnitTest);
85 std::vector<std::string> executeTest(UnitTest);
96 const std::vector<UnitTest>& getUnitTests() const { return fUnitTests; } in getUnitTests()
106 UnitTest fUnitTest;
114 std::vector<UnitTest> fUnitTests;
/external/skia/tools/skqp/src/
Dskqp.h51 using UnitTest = const skiatest::Test*; variable
57 static const char* GetUnitTestName(UnitTest);
86 std::vector<std::string> executeTest(UnitTest);
97 const std::vector<UnitTest>& getUnitTests() const { return fUnitTests; } in getUnitTests()
107 UnitTest fUnitTest;
115 std::vector<UnitTest> fUnitTests;
/external/llvm-project/llvm/utils/unittest/googletest/src/
Dgtest.cc374 UnitTest::GetInstance()-> in operator =()
377 UnitTest::GetInstance()->impl() in operator =()
435 UnitTest::GetInstance()->original_working_dir()), in GetAbsolutePathToOutputFile()
445 internal::FilePath(UnitTest::GetInstance()->original_working_dir()), in GetAbsolutePathToOutputFile()
2238 UnitTest::GetInstance()->RecordProperty(key, value); in RecordProperty()
2254 UnitTest::GetInstance()->AddTestPartResult( in ReportFailureInUnknownLocation()
2637 TestEventListener* repeater = UnitTest::GetInstance()->listeners().repeater(); in Run()
2765 TestEventListener* repeater = UnitTest::GetInstance()->listeners().repeater(); in Run()
3037 virtual void OnTestProgramStart(const UnitTest& /*unit_test*/) {} in OnTestProgramStart() argument
3038 virtual void OnTestIterationStart(const UnitTest& unit_test, int iteration);
[all …]
/external/googletest/googletest/src/
Dgtest.cc412 UnitTest::GetInstance()-> in operator =()
415 UnitTest::GetInstance()->impl() in operator =()
459 return UnitTest::GetInstance()->impl()->ignored_parameterized_test_suites(); in GetIgnoredParameterizedTestSuites()
630 UnitTest::GetInstance()->original_working_dir()), in GetAbsolutePathToOutputFile()
637 internal::FilePath(UnitTest::GetInstance()->original_working_dir()), in GetAbsolutePathToOutputFile()
2443 UnitTest::GetInstance()->RecordProperty(key, value); in RecordProperty()
2459 UnitTest::GetInstance()->AddTestPartResult( in ReportFailureInUnknownLocation()
2840 TestEventListener* repeater = UnitTest::GetInstance()->listeners().repeater(); in Run()
2888 TestEventListener* repeater = UnitTest::GetInstance()->listeners().repeater(); in Skip()
2999 TestEventListener* repeater = UnitTest::GetInstance()->listeners().repeater(); in Run()
[all …]
/external/rust/crates/quiche/deps/boringssl/src/third_party/googletest/samples/
Dsample9_unittest.cc45 using ::testing::UnitTest;
52 void OnTestProgramStart(const UnitTest& /* unit_test */) override {} in OnTestProgramStart() argument
55 void OnTestProgramEnd(const UnitTest& unit_test) override { in OnTestProgramEnd()
114 UnitTest& unit_test = *UnitTest::GetInstance(); in main()
/external/googletest/googletest/samples/
Dsample9_unittest.cc45 using ::testing::UnitTest;
52 void OnTestProgramStart(const UnitTest& /* unit_test */) override {} in OnTestProgramStart() argument
55 void OnTestProgramEnd(const UnitTest& unit_test) override { in OnTestProgramEnd()
114 UnitTest& unit_test = *UnitTest::GetInstance(); in main()
/external/rust/crates/quiche/deps/boringssl/src/third_party/googletest/src/
Dgtest.cc404 UnitTest::GetInstance()-> in operator =()
407 UnitTest::GetInstance()->impl() in operator =()
465 UnitTest::GetInstance()->original_working_dir()), in GetAbsolutePathToOutputFile()
472 internal::FilePath(UnitTest::GetInstance()->original_working_dir()), in GetAbsolutePathToOutputFile()
2273 UnitTest::GetInstance()->RecordProperty(key, value); in RecordProperty()
2289 UnitTest::GetInstance()->AddTestPartResult( in ReportFailureInUnknownLocation()
2668 TestEventListener* repeater = UnitTest::GetInstance()->listeners().repeater(); in Run()
2803 TestEventListener* repeater = UnitTest::GetInstance()->listeners().repeater(); in Run()
3112 void OnTestProgramStart(const UnitTest& /*unit_test*/) override {} in OnTestProgramStart() argument
3113 void OnTestIterationStart(const UnitTest& unit_test, int iteration) override;
[all …]
/external/mesa3d/src/gtest/src/
Dgtest.cc397 UnitTest::GetInstance()-> in operator =()
400 UnitTest::GetInstance()->impl() in operator =()
459 UnitTest::GetInstance()->original_working_dir()), in GetAbsolutePathToOutputFile()
466 internal::FilePath(UnitTest::GetInstance()->original_working_dir()), in GetAbsolutePathToOutputFile()
2269 UnitTest::GetInstance()->RecordProperty(key, value); in RecordProperty()
2285 UnitTest::GetInstance()->AddTestPartResult( in ReportFailureInUnknownLocation()
2664 TestEventListener* repeater = UnitTest::GetInstance()->listeners().repeater(); in Run()
2801 TestEventListener* repeater = UnitTest::GetInstance()->listeners().repeater(); in Run()
3110 void OnTestProgramStart(const UnitTest& /*unit_test*/) override {} in OnTestProgramStart() argument
3111 void OnTestIterationStart(const UnitTest& unit_test, int iteration) override;
[all …]
/external/llvm/utils/unittest/googletest/include/gtest/
Dgtest.h184 class UnitTest; variable
550 friend class UnitTest; variable
934 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;
[all …]
/external/libvpx/libvpx/third_party/googletest/src/src/
Dgtest.cc417 UnitTest::GetInstance()-> in operator =()
420 UnitTest::GetInstance()->impl() in operator =()
481 UnitTest::GetInstance()->original_working_dir()), in GetAbsolutePathToOutputFile()
492 internal::FilePath(UnitTest::GetInstance()->original_working_dir()), in GetAbsolutePathToOutputFile()
2279 UnitTest::GetInstance()->RecordProperty(key, value); in RecordProperty()
2295 UnitTest::GetInstance()->AddTestPartResult( in ReportFailureInUnknownLocation()
2674 TestEventListener* repeater = UnitTest::GetInstance()->listeners().repeater(); in Run()
2802 TestEventListener* repeater = UnitTest::GetInstance()->listeners().repeater(); in Run()
3106 virtual void OnTestProgramStart(const UnitTest& /*unit_test*/) {} in OnTestProgramStart() argument
3107 virtual void OnTestIterationStart(const UnitTest& unit_test, int iteration);
[all …]
/external/libaom/libaom/third_party/googletest/src/googletest/src/
Dgtest.cc388 UnitTest::GetInstance()->AddTestPartResult( in operator =()
391 UnitTest::GetInstance()->impl()->CurrentOsStackTraceExceptTop(1) in operator =()
432 return UnitTest::GetInstance()->impl()->ignored_parameterized_test_suites(); in GetIgnoredParameterizedTestSuites()
602 UnitTest::GetInstance()->original_working_dir()), in GetAbsolutePathToOutputFile()
609 internal::FilePath(UnitTest::GetInstance()->original_working_dir()), in GetAbsolutePathToOutputFile()
2352 UnitTest::GetInstance()->RecordProperty(key, value); in RecordProperty()
2368 UnitTest::GetInstance()->AddTestPartResult( in ReportFailureInUnknownLocation()
2743 TestEventListener *repeater = UnitTest::GetInstance()->listeners().repeater(); in Run()
2877 TestEventListener *repeater = UnitTest::GetInstance()->listeners().repeater(); in Run()
3182 void OnTestProgramStart(const UnitTest & /*unit_test*/) override {} in OnTestProgramStart() argument
[all …]
/external/llvm-project/llvm/utils/unittest/googletest/include/gtest/
Dgtest.h175 class UnitTest; variable
566 friend class UnitTest; variable
996 virtual void OnTestProgramStart(const UnitTest& unit_test) = 0;
1001 virtual void OnTestIterationStart(const UnitTest& unit_test,
1005 virtual void OnEnvironmentsSetUpStart(const UnitTest& unit_test) = 0;
1008 virtual void OnEnvironmentsSetUpEnd(const UnitTest& unit_test) = 0;
1026 virtual void OnEnvironmentsTearDownStart(const UnitTest& unit_test) = 0;
1029 virtual void OnEnvironmentsTearDownEnd(const UnitTest& unit_test) = 0;
1032 virtual void OnTestIterationEnd(const UnitTest& unit_test,
1036 virtual void OnTestProgramEnd(const UnitTest& unit_test) = 0;
[all …]
/external/libvpx/libvpx/third_party/googletest/src/include/gtest/
Dgtest.h200 class UnitTest; variable
603 friend class UnitTest; variable
1049 virtual void OnTestProgramStart(const UnitTest& unit_test) = 0;
1054 virtual void OnTestIterationStart(const UnitTest& unit_test,
1058 virtual void OnEnvironmentsSetUpStart(const UnitTest& unit_test) = 0;
1061 virtual void OnEnvironmentsSetUpEnd(const UnitTest& unit_test) = 0;
1081 virtual void OnEnvironmentsTearDownStart(const UnitTest& unit_test) = 0;
1084 virtual void OnEnvironmentsTearDownEnd(const UnitTest& unit_test) = 0;
1087 virtual void OnTestIterationEnd(const UnitTest& unit_test,
1091 virtual void OnTestProgramEnd(const UnitTest& unit_test) = 0;
[all …]
/external/libaom/libaom/third_party/googletest/src/googletest/include/gtest/
Dgtest.h194 class UnitTest; variable
605 friend class UnitTest; variable
1078 virtual void OnTestProgramStart(const UnitTest &unit_test) = 0;
1083 virtual void OnTestIterationStart(const UnitTest &unit_test,
1087 virtual void OnEnvironmentsSetUpStart(const UnitTest &unit_test) = 0;
1090 virtual void OnEnvironmentsSetUpEnd(const UnitTest &unit_test) = 0;
1120 virtual void OnEnvironmentsTearDownStart(const UnitTest &unit_test) = 0;
1123 virtual void OnEnvironmentsTearDownEnd(const UnitTest &unit_test) = 0;
1126 virtual void OnTestIterationEnd(const UnitTest &unit_test, int iteration) = 0;
1129 virtual void OnTestProgramEnd(const UnitTest &unit_test) = 0;
[all …]
/external/mesa3d/src/gtest/include/gtest/
Dgtest.h194 class UnitTest; variable
611 friend class UnitTest; variable
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;
[all …]

12345678