Home
last modified time | relevance | path

Searched refs:UnitTest (Results 1 - 25 of 65) sorted by relevance

123

/third_party/googletest/googletest/test/
H A Dgoogletest-listener-test.cc48 using ::testing::UnitTest;
61 void OnTestProgramStart(const UnitTest& /*unit_test*/) override {
65 void OnTestIterationStart(const UnitTest& /*unit_test*/,
73 void OnEnvironmentsSetUpStart(const UnitTest& /*unit_test*/) override {
77 void OnEnvironmentsSetUpEnd(const UnitTest& /*unit_test*/) override {
104 void OnEnvironmentsTearDownStart(const UnitTest& /*unit_test*/) override {
108 void OnEnvironmentsTearDownEnd(const UnitTest& /*unit_test*/) override {
112 void OnTestIterationEnd(const UnitTest& /*unit_test*/,
120 void OnTestProgramEnd(const UnitTest& /*unit_test*/) override {
136 void OnTestProgramStart(const UnitTest
[all...]
H A Dgoogletest-shuffle-test_.cc42 using ::testing::UnitTest;
78 void OnTestIterationStart(const UnitTest& /* unit_test */,
95 TestEventListeners& listeners = UnitTest::GetInstance()->listeners(); in main()
H A Dgtest-unittest-api_test.cc33 // UnitTest's public methods.
58 UnitTest& unit_test = *UnitTest::GetInstance(); in GetSortedTestSuites()
73 UnitTest& unit_test = *UnitTest::GetInstance(); in FindTestSuite()
109 const auto& unit_test = UnitTest::GetInstance(); in TEST()
227 const auto& unit_test = UnitTest::GetInstance();
H A Dgtest-typed-test_test.cc184 EXPECT_STREQ(::testing::UnitTest::GetInstance() in TYPED_TEST()
190 EXPECT_STREQ(::testing::UnitTest::GetInstance() in TYPED_TEST()
300 EXPECT_STREQ(::testing::UnitTest::GetInstance() in TYPED_TEST_P()
306 EXPECT_STREQ(::testing::UnitTest::GetInstance() in TYPED_TEST_P()
404 return testing::UnitTest::GetInstance()->current_test_info()->name(); in GetTestName()
H A Dgoogletest-param-test-test.cc840 ::testing::UnitTest::GetInstance()->current_test_info(); in TEST_P()
861 ::testing::UnitTest::GetInstance()->current_test_info(); in PREFIX_WITH_FOO()
875 ::testing::UnitTest::GetInstance()->current_test_info(); in PREFIX_WITH_FOO()
884 const auto& ins = testing::UnitTest::GetInstance(); in TEST()
960 const auto& unit_test = ::testing::UnitTest::GetInstance(); in TEST()
983 ::testing::UnitTest::GetInstance()->current_test_info(); in TEST_P()
1008 ::testing::UnitTest::GetInstance()->current_test_info(); in TEST_P()
1038 ::testing::UnitTest::GetInstance()->current_test_info(); in TEST_P()
1066 ::testing::UnitTest::GetInstance()->current_test_info(); in TEST_P()
/third_party/protobuf/csharp/src/Google.Protobuf.Test.TestProtos/
H A DUnittestCustomOptionsProto3.cs12 namespace UnitTest.Issues.TestProtos {
142 new pbr::GeneratedClrTypeInfo(new[] {typeof(global::UnitTest.Issues.TestProtos.MethodOpt1), typeof(global::UnitTest.Issues.TestProtos.AggregateEnum), }, new pb::Extension[] { UnittestCustomOptionsProto3Extensions.FileOpt1, UnittestCustomOptionsProto3Extensions.MessageOpt1, UnittestCustomOptionsProto3Extensions.FieldOpt1, UnittestCustomOptionsProto3Extensions.OneofOpt1, UnittestCustomOptionsProto3Extensions.EnumOpt1, UnittestCustomOptionsProto3Extensions.EnumValueOpt1, UnittestCustomOptionsProto3Extensions.ServiceOpt1, UnittestCustomOptionsProto3Extensions.MethodOpt1, UnittestCustomOptionsProto3Extensions.BoolOpt, UnittestCustomOptionsProto3Extensions.Int32Opt, UnittestCustomOptionsProto3Extensions.Int64Opt, UnittestCustomOptionsProto3Extensions.Uint32Opt, UnittestCustomOptionsProto3Extensions.Uint64Opt, UnittestCustomOptionsProto3Extensions.Sint32Opt, UnittestCustomOptionsProto3Extensions.Sint64Opt, UnittestCustomOptionsProto3Extensions.Fixed32Opt, UnittestCustomOptionsProto3Extensions.Fixed64Opt, UnittestCustomOptionsProto3Extensions.Sfixed32Opt, UnittestCustomOptionsProto3Extensions.Sfixed64Opt, UnittestCustomOptionsProto3Extensions.FloatOpt, UnittestCustomOptionsProto3Extensions.DoubleOpt, UnittestCustomOptionsProto3Extensions.StringOpt, UnittestCustomOptionsProto3Extensions.BytesOpt, UnittestCustomOptionsProto3Extensions.EnumOpt, UnittestCustomOptionsProto3Extensions.MessageTypeOpt, UnittestCustomOptionsProto3Extensions.ComplexOpt1, UnittestCustomOptionsProto3Extensions.ComplexOpt2, UnittestCustomOptionsProto3Extensions.ComplexOpt3, UnittestCustomOptionsProto3Extensions.Fileopt, UnittestCustomOptionsProto3Extensions.Msgopt, UnittestCustomOptionsProto3Extensions.Fieldopt, UnittestCustomOptionsProto3Extensions.Enumopt, UnittestCustomOptionsProto3Extensions.Enumvalopt, UnittestCustomOptionsProto3Extensions.Serviceopt, UnittestCustomOptionsProto3Extensions.Methodopt }, new pbr::GeneratedClrTypeInfo[] { in UnittestCustomOptionsProto3Reflection()
143 new pbr::GeneratedClrTypeInfo(typeof(global::UnitTest.Issues.TestProtos.TestMessageWithCustomOptions), global::UnitTest.Issues.TestProtos.TestMessageWithCustomOptions.Parser, new[]{ "Field1", "OneofField" }, new[]{ "AnOneof" }, new[]{ typeof(global::UnitTest.Issues.TestProtos.TestMessageWithCustomOptions.Types.AnEnum) }, null, null), in UnittestCustomOptionsProto3Reflection()
144 new pbr::GeneratedClrTypeInfo(typeof(global::UnitTest.Issues.TestProtos.CustomOptionFooRequest), global::UnitTest.Issues.TestProtos.CustomOptionFooRequest.Parser, null, null, null, null, null), in UnittestCustomOptionsProto3Reflection()
145 new pbr::GeneratedClrTypeInfo(typeof(global::UnitTest.Issues.TestProtos.CustomOptionFooResponse), global::UnitTest in UnittestCustomOptionsProto3Reflection()
[all...]
H A DUnittestIssue6936C.cs12 namespace UnitTest.Issues.TestProtos {
33 new pbr::FileDescriptor[] { global::UnitTest.Issues.TestProtos.UnittestIssue6936AReflection.Descriptor, global::UnitTest.Issues.TestProtos.UnittestIssue6936BReflection.Descriptor, }, in UnittestIssue6936CReflection()
35 new pbr::GeneratedClrTypeInfo(typeof(global::UnitTest.Issues.TestProtos.Bar), global::UnitTest.Issues.TestProtos.Bar.Parser, new[]{ "Foo" }, null, null, null, null) in UnittestIssue6936CReflection()
54 get { return global::UnitTest.Issues.TestProtos.UnittestIssue6936CReflection.Descriptor.MessageTypes[0]; }
82 private global::UnitTest.Issues.TestProtos.Foo foo_;
84 public global::UnitTest.Issues.TestProtos.Foo Foo {
170 Foo = new global::UnitTest.Issues.TestProtos.Foo(); in MergeFrom()
190 Foo = new global::UnitTest in MergeFrom()
[all...]
H A DUnittestIssues.cs12 namespace UnitTest.Issues.TestProtos {
64 new pbr::GeneratedClrTypeInfo(new[] {typeof(global::UnitTest.Issues.TestProtos.NegativeEnum), typeof(global::UnitTest.Issues.TestProtos.DeprecatedEnum), }, null, new pbr::GeneratedClrTypeInfo[] { in UnittestIssuesReflection()
65 new pbr::GeneratedClrTypeInfo(typeof(global::UnitTest.Issues.TestProtos.Issue307), global::UnitTest.Issues.TestProtos.Issue307.Parser, null, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::UnitTest.Issues.TestProtos.Issue307.Types.NestedOnce), global::UnitTest.Issues.TestProtos.Issue307.Types.NestedOnce.Parser, null, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::UnitTest.Issues.TestProtos.Issue307.Types.NestedOnce.Types.NestedTwice), global::UnitTest.Issues.TestProtos.Issue307.Types.NestedOnce.Types.NestedTwice.Parser, null, null, null, null, null)})}), in UnittestIssuesReflection()
66 new pbr::GeneratedClrTypeInfo(typeof(global::UnitTest in UnittestIssuesReflection()
[all...]
H A DUnittestSelfreferentialOptions.cs12 namespace UnitTest.Issues.TestProtos.SelfreferentialOptions {
44 new pbr::GeneratedClrTypeInfo(typeof(global::UnitTest.Issues.TestProtos.SelfreferentialOptions.FooOptions), global::UnitTest.Issues.TestProtos.SelfreferentialOptions.FooOptions.Parser, new[]{ "IntOpt", "Foo" }, null, null, null, null) in UnittestSelfreferentialOptionsReflection()
57 public static readonly pb::Extension<global::Google.Protobuf.Reflection.FieldOptions, global::UnitTest.Issues.TestProtos.SelfreferentialOptions.FooOptions> FooOptions =
58 new pb::Extension<global::Google.Protobuf.Reflection.FieldOptions, global::UnitTest.Issues.TestProtos.SelfreferentialOptions.FooOptions>(1001, pb::FieldCodec.ForMessage(8010, global::UnitTest.Issues.TestProtos.SelfreferentialOptions.FooOptions.Parser));
59 public static readonly pb::Extension<global::UnitTest.Issues.TestProtos.SelfreferentialOptions.FooOptions, int> FooIntOpt =
60 new pb::Extension<global::UnitTest.Issues.TestProtos.SelfreferentialOptions.FooOptions, int>(1000, pb::FieldCodec.ForInt32(8000, 0));
61 public static readonly pb::Extension<global::UnitTest.Issues.TestProtos.SelfreferentialOptions.FooOptions, global::UnitTest
[all...]
H A DUnittestIssue6936B.cs12 namespace UnitTest.Issues.TestProtos {
31 new pbr::FileDescriptor[] { global::UnitTest.Issues.TestProtos.UnittestIssue6936AReflection.Descriptor, }, in UnittestIssue6936BReflection()
33 new pbr::GeneratedClrTypeInfo(typeof(global::UnitTest.Issues.TestProtos.Foo), global::UnitTest.Issues.TestProtos.Foo.Parser, null, null, null, null, null) in UnittestIssue6936BReflection()
52 get { return global::UnitTest.Issues.TestProtos.UnittestIssue6936BReflection.Descriptor.MessageTypes[0]; }
/third_party/skia/tools/skqp/src/
H A Dskqp.h51 using UnitTest = const skiatest::Test*;
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;
/third_party/protobuf/csharp/src/Google.Protobuf.Test/Reflection/
H A DCustomOptionsTest.cs39 using UnitTest.Issues.TestProtos;
41 using static UnitTest.Issues.TestProtos.ComplexOptionType2.Types;
42 using static UnitTest.Issues.TestProtos.UnittestCustomOptionsProto3Extensions;
43 using static UnitTest.Issues.TestProtos.DummyMessageContainingEnum.Types;
154 AssertOption(UnitTest.Issues.TestProtos.MethodOpt1.Val2, EnumFetcher<UnitTest.Issues.TestProtos.MethodOpt1>(methodDescriptor.CustomOptions), UnittestCustomOptionsProto3Extensions.MethodOpt1, methodDescriptor.GetOption, methodDescriptor.GetOptions().GetExtension); in OptionLocations()
233 var fooField = UnitTest.Issues.TestProtos.SelfreferentialOptions.FooOptions.Descriptor.FindFieldByName("foo"); in SelfReferentialOptions()
234 var fooFieldFooExtensionValue = fooField.GetOptions().GetExtension(UnitTest.Issues.TestProtos.SelfreferentialOptions.UnittestSelfreferentialOptionsExtensions.FooOptions); in SelfReferentialOptions()
238 var fileDescriptor = UnitTest.Issues.TestProtos.SelfreferentialOptions.UnittestSelfreferentialOptionsReflection.Descriptor; in SelfReferentialOptions()
240 var barExtensionValue = barOptionsField.GetOptions().GetExtension(UnitTest in SelfReferentialOptions()
[all...]
/third_party/googletest/googletest/samples/
H A Dsample9_unittest.cc30 // an alternative console output and how to use the UnitTest reflection API
44 using ::testing::UnitTest;
51 void OnTestProgramStart(const UnitTest& /* unit_test */) override {}
54 void OnTestProgramEnd(const UnitTest& unit_test) override {
108 UnitTest& unit_test = *UnitTest::GetInstance(); in main()
129 // This is an example of using the UnitTest reflection API to inspect test in main()
H A Dsample10_unittest.cc42 using ::testing::UnitTest;
120 TestEventListeners& listeners = UnitTest::GetInstance()->listeners(); in main()
/third_party/googletest/googletest/src/
H A Dgtest.cc450 UnitTest::GetInstance()->AddTestPartResult( in operator =()
453 UnitTest::GetInstance()->impl()->CurrentOsStackTraceExceptTop(1) in operator =()
495 return UnitTest::GetInstance()->impl()->ignored_parameterized_test_suites(); in GetIgnoredParameterizedTestSuites()
670 UnitTest::GetInstance()->original_working_dir()), in GetAbsolutePathToOutputFile()
677 internal::FilePath(UnitTest::GetInstance()->original_working_dir()), in GetAbsolutePathToOutputFile()
2460 UnitTest::GetInstance()->RecordProperty(key, value);
2472 // This function is a friend of UnitTest and as such has access to
2474 UnitTest::GetInstance()->AddTestPartResult(
2819 TestEventListener* repeater = UnitTest::GetInstance()->listeners().repeater();
2825 // Tells UnitTest wher
[all...]
H A Dgtest-internal-inl.h503 // The private implementation of the UnitTest class. We don't protect
505 // user and the UnitTest class that delegates work to this class does
509 explicit UnitTestImpl(UnitTest* parent);
731 // Runs all tests in this UnitTest object, prints the result, and
833 // UnitTest::Run() starts.
837 friend class ::testing::UnitTest;
839 // Used by UnitTest::Run() to capture the state of
843 // The UnitTest object that owns this implementation object.
844 UnitTest* const parent_;
923 // The OS stack trace getter. Will be deleted when the UnitTest
[all...]
/third_party/node/deps/googletest/src/
H A Dgtest.cc458 UnitTest::GetInstance()->AddTestPartResult( in operator =()
461 UnitTest::GetInstance()->impl()->CurrentOsStackTraceExceptTop(1) in operator =()
503 return UnitTest::GetInstance()->impl()->ignored_parameterized_test_suites(); in GetIgnoredParameterizedTestSuites()
678 UnitTest::GetInstance()->original_working_dir()), in GetAbsolutePathToOutputFile()
685 internal::FilePath(UnitTest::GetInstance()->original_working_dir()), in GetAbsolutePathToOutputFile()
2480 UnitTest::GetInstance()->RecordProperty(key, value);
2487 // This function is a friend of UnitTest and as such has access to
2489 UnitTest::GetInstance()->AddTestPartResult(
2809 TestEventListener* repeater = UnitTest::GetInstance()->listeners().repeater();
2815 // Tells UnitTest wher
[all...]
H A Dgtest-internal-inl.h504 // The private implementation of the UnitTest class. We don't protect
506 // user and the UnitTest class that delegates work to this class does
510 explicit UnitTestImpl(UnitTest* parent);
732 // Runs all tests in this UnitTest object, prints the result, and
834 // UnitTest::Run() starts.
838 friend class ::testing::UnitTest;
840 // Used by UnitTest::Run() to capture the state of
844 // The UnitTest object that owns this implementation object.
845 UnitTest* const parent_;
924 // The OS stack trace getter. Will be deleted when the UnitTest
[all...]
/third_party/googletest/googletest/include/gtest/
H A Dgtest.h231 class UnitTest;
456 friend class UnitTest;
538 // The constructor of TestInfo registers itself with the UnitTest
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
1118 class GTEST_API_ UnitTest { global() class
[all...]
/third_party/node/deps/googletest/include/gtest/
H A Dgtest.h217 class UnitTest;
448 friend class UnitTest;
530 // The constructor of TestInfo registers itself with the UnitTest
930 virtual void OnTestProgramStart(const UnitTest& unit_test) = 0;
935 virtual void OnTestIterationStart(const UnitTest& unit_test,
939 virtual void OnEnvironmentsSetUpStart(const UnitTest& unit_test) = 0;
942 virtual void OnEnvironmentsSetUpEnd(const UnitTest& unit_test) = 0;
975 virtual void OnEnvironmentsTearDownStart(const UnitTest& unit_test) = 0;
978 virtual void OnEnvironmentsTearDownEnd(const UnitTest& unit_test) = 0;
981 virtual void OnTestIterationEnd(const UnitTest
1113 class GTEST_API_ UnitTest { global() class
[all...]
/third_party/mesa3d/src/gtest/src/
H A 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()
2283 // This function is a friend of UnitTest and as such has access to in ReportFailureInUnknownLocation()
2285 UnitTest::GetInstance()->AddTestPartResult( in ReportFailureInUnknownLocation()
2660 // Tells UnitTest where to store test result. in Run()
2664 TestEventListener* repeater = UnitTest::GetInstance()->listeners().repeater(); in Run()
2700 // Tells UnitTest t in Run()
4973 UnitTest::UnitTest() { UnitTest() function in testing::UnitTest
[all...]
H A Dgtest-internal-inl.h506 // The private implementation of the UnitTest class. We don't protect
508 // user and the UnitTest class that delegates work to this class does
512 explicit UnitTestImpl(UnitTest* parent);
720 // Runs all tests in this UnitTest object, prints the result, and
827 // UnitTest::Run() starts.
831 friend class ::testing::UnitTest;
833 // Used by UnitTest::Run() to capture the state of
837 // The UnitTest object that owns this implementation object.
838 UnitTest* const parent_;
909 // The OS stack trace getter. Will be deleted when the UnitTest
[all...]
/third_party/mesa3d/src/gtest/include/gtest/
H A Dgtest.h194 class UnitTest;
611 friend class UnitTest;
692 // The constructor of TestInfo registers itself with the UnitTest
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
1257 class GTEST_API_ UnitTest { global() class
[all...]
/third_party/protobuf/csharp/src/Google.Protobuf.Test/
H A DIssuesTest.cs34 using UnitTest.Issues.TestProtos;
37 using static UnitTest.Issues.TestProtos.OneofMerging.Types;
/third_party/googletest/googletest/src/hwext/
H A Dgtest-multithread.cpp62 testing::UnitTest::GetInstance()->listeners().Append(listener); in runTask()
79 testing::UnitTest::GetInstance()->listeners().Release(listener); in runTask()

Completed in 39 milliseconds

123