Home
last modified time | relevance | path

Searched refs:testing (Results 1 – 25 of 1309) sorted by relevance

12345678910>>...53

/external/protobuf/gtest/include/gtest/
Dgtest-spi.h40 namespace testing {
144 ::testing::TestPartResultArray gtest_failures;\
145 ::testing::internal::SingleFailureChecker gtest_checker(\
146 &gtest_failures, ::testing::TestPartResult::kFatalFailure, (substr));\
148 ::testing::ScopedFakeTestPartResultReporter gtest_reporter(\
149 ::testing::ScopedFakeTestPartResultReporter:: \
153 } while (::testing::internal::AlwaysFalse())
161 ::testing::TestPartResultArray gtest_failures;\
162 ::testing::internal::SingleFailureChecker gtest_checker(\
163 &gtest_failures, ::testing::TestPartResult::kFatalFailure, (substr));\
[all …]
/external/llvm/utils/unittest/googletest/include/gtest/
Dgtest-spi.h40 namespace testing {
144 ::testing::TestPartResultArray gtest_failures;\
145 ::testing::internal::SingleFailureChecker gtest_checker(\
146 &gtest_failures, ::testing::TestPartResult::kFatalFailure, (substr));\
148 ::testing::ScopedFakeTestPartResultReporter gtest_reporter(\
149 ::testing::ScopedFakeTestPartResultReporter:: \
153 } while (::testing::internal::AlwaysFalse())
161 ::testing::TestPartResultArray gtest_failures;\
162 ::testing::internal::SingleFailureChecker gtest_checker(\
163 &gtest_failures, ::testing::TestPartResult::kFatalFailure, (substr));\
[all …]
/external/chromium/testing/gtest/include/gtest/
Dgtest-spi.h40 namespace testing {
144 ::testing::TestPartResultArray gtest_failures;\
145 ::testing::internal::SingleFailureChecker gtest_checker(\
146 &gtest_failures, ::testing::TestPartResult::kFatalFailure, (substr));\
148 ::testing::ScopedFakeTestPartResultReporter gtest_reporter(\
149 ::testing::ScopedFakeTestPartResultReporter:: \
153 } while (::testing::internal::AlwaysFalse())
161 ::testing::TestPartResultArray gtest_failures;\
162 ::testing::internal::SingleFailureChecker gtest_checker(\
163 &gtest_failures, ::testing::TestPartResult::kFatalFailure, (substr));\
[all …]
/external/protobuf/gtest/test/
Dgtest_nc.cc48 testing::InitGoogleTest(&argc, argv); in main()
63 class MyTest : public testing::Test {
74 class MyTest : public testing::Test {
77 testing::Test::Setup(); // Tries to call SetUp() in the parent class. in SetUp()
87 class MyEnvironment : public testing::Environment {
98 class MyEnvironment : public testing::Environment {
102 testing::Environment::Setup(); in SetUp()
113 class FooTest : public testing::Test {
117 class BarTest : public testing::Test {
123 INSTANTIATE_TYPED_TEST_CASE_P(My, FooTest, testing::Types<int>);
[all …]
Dgtest-death-test_test.cc38 using testing::internal::AlwaysFalse;
39 using testing::internal::AlwaysTrue;
66 namespace posix = ::testing::internal::posix;
68 using testing::Message;
69 using testing::internal::DeathTest;
70 using testing::internal::DeathTestFactory;
71 using testing::internal::FilePath;
72 using testing::internal::GetLastErrnoDescription;
73 using testing::internal::GetUnitTestImpl;
74 using testing::internal::ParseNaturalNumber;
[all …]
Dgtest_output_test_.cc53 using testing::ScopedFakeTestPartResultReporter;
54 using testing::TestPartResultArray;
56 namespace posix = ::testing::internal::posix;
57 using testing::internal::String;
76 if (testing::Test::HasFatalFailure()) return; in TryTestSubroutine()
142 SCOPED_TRACE(testing::Message() << "n = " << n); in SubWithTrace()
171 SCOPED_TRACE(testing::Message() << "i = " << i); in TEST()
241 class NonFatalFailureInFixtureConstructorTest : public testing::Test {
266 class FatalFailureInFixtureConstructorTest : public testing::Test {
301 class NonFatalFailureInSetUpTest : public testing::Test {
[all …]
Dgtest-listener_test.cc47 using ::testing::AddGlobalTestEnvironment;
48 using ::testing::Environment;
49 using ::testing::InitGoogleTest;
50 using ::testing::Test;
51 using ::testing::TestCase;
52 using ::testing::TestEventListener;
53 using ::testing::TestInfo;
54 using ::testing::TestPartResult;
55 using ::testing::UnitTest;
56 using ::testing::internal::String;
[all …]
/external/gtest/test/
Dgtest_nc.cc48 testing::InitGoogleTest(&argc, argv); in main()
63 class MyTest : public testing::Test {
74 class MyTest : public testing::Test {
77 testing::Test::Setup(); // Tries to call SetUp() in the parent class. in SetUp()
87 class MyEnvironment : public testing::Environment {
98 class MyEnvironment : public testing::Environment {
102 testing::Environment::Setup(); in SetUp()
113 class FooTest : public testing::Test {
117 class BarTest : public testing::Test {
123 INSTANTIATE_TYPED_TEST_CASE_P(My, FooTest, testing::Types<int>);
[all …]
Dgtest-death-test_test.cc63 using testing::Message;
65 using testing::internal::DeathTest;
66 using testing::internal::DeathTestFactory;
67 using testing::internal::FilePath;
68 using testing::internal::GetLastSystemErrorMessage;
69 using testing::internal::ParseNaturalNumber;
70 using testing::internal::String;
72 namespace testing { namespace
103 class TestForDeathTest : public testing::Test {
204 EXPECT_TRUE(testing::ExitedWithCode(0)(0)); in TEST()
[all …]
Dgtest_output_test_.cc60 using testing::ScopedFakeTestPartResultReporter;
61 using testing::TestPartResultArray;
63 using testing::internal::String;
82 if (testing::Test::HasFatalFailure()) return; in TryTestSubroutine()
148 SCOPED_TRACE(testing::Message() << "n = " << n); in SubWithTrace()
177 SCOPED_TRACE(testing::Message() << "i = " << i); in TEST()
248 class NonFatalFailureInFixtureConstructorTest : public testing::Test {
273 class FatalFailureInFixtureConstructorTest : public testing::Test {
308 class NonFatalFailureInSetUpTest : public testing::Test {
333 class FatalFailureInSetUpTest : public testing::Test {
[all …]
/external/gtest/include/gtest/
Dgtest-spi.h40 namespace testing {
144 ::testing::TestPartResultArray gtest_failures;\
145 ::testing::internal::SingleFailureChecker gtest_checker(\
146 &gtest_failures, ::testing::TPRT_FATAL_FAILURE, (substr));\
148 ::testing::ScopedFakeTestPartResultReporter gtest_reporter(\
149 ::testing::ScopedFakeTestPartResultReporter:: \
161 ::testing::TestPartResultArray gtest_failures;\
162 ::testing::internal::SingleFailureChecker gtest_checker(\
163 &gtest_failures, ::testing::TPRT_FATAL_FAILURE, (substr));\
165 ::testing::ScopedFakeTestPartResultReporter gtest_reporter(\
[all …]
Dgtest.h94 namespace testing {
1128 EXPECT_PRED_FORMAT2(::testing::internal:: \
1132 EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperNE, expected, actual)
1134 EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperLE, val1, val2)
1136 EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperLT, val1, val2)
1138 EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperGE, val1, val2)
1140 EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperGT, val1, val2)
1143 ASSERT_PRED_FORMAT2(::testing::internal:: \
1147 ASSERT_PRED_FORMAT2(::testing::internal::CmpHelperNE, val1, val2)
1149 ASSERT_PRED_FORMAT2(::testing::internal::CmpHelperLE, val1, val2)
[all …]
/external/chromium/testing/gmock/test/
Dgmock_link_test.h128 using testing::_;
129 using testing::A;
130 using testing::AllOf;
131 using testing::AnyOf;
132 using testing::Assign;
133 using testing::ContainerEq;
134 using testing::DoAll;
135 using testing::DoDefault;
136 using testing::DoubleEq;
137 using testing::ElementsAre;
[all …]
/external/chromium/testing/gtest/test/
Dgtest_output_test_.cc50 using testing::ScopedFakeTestPartResultReporter;
51 using testing::TestPartResultArray;
53 using testing::internal::Notification;
54 using testing::internal::ThreadWithParam;
57 namespace posix = ::testing::internal::posix;
58 using testing::internal::String;
59 using testing::internal::scoped_ptr;
78 if (testing::Test::HasFatalFailure()) return; in TryTestSubroutine()
92 class FailingParamTest : public testing::TestWithParam<int> {};
102 testing::Values(2));
[all …]
Dgtest-death-test_test.cc38 using testing::internal::AlwaysFalse;
39 using testing::internal::AlwaysTrue;
66 namespace posix = ::testing::internal::posix;
68 using testing::Message;
69 using testing::internal::DeathTest;
70 using testing::internal::DeathTestFactory;
71 using testing::internal::FilePath;
72 using testing::internal::GetLastErrnoDescription;
73 using testing::internal::GetUnitTestImpl;
74 using testing::internal::ParseNaturalNumber;
[all …]
Dgtest_repeat_test.cc47 namespace testing { namespace
55 using testing::GTEST_FLAG(death_test_style);
56 using testing::GTEST_FLAG(filter);
57 using testing::GTEST_FLAG(repeat);
67 if (::testing::internal::IsTrue(expected_val != actual_val)) {\
72 ::testing::internal::posix::Abort();\
74 } while(::testing::internal::AlwaysFalse())
83 class MyEnvironment : public testing::Environment {
116 EXPECT_DEATH_IF_SUPPORTED(::testing::internal::posix::Abort(), ""); in TEST()
119 EXPECT_DEATH_IF_SUPPORTED(::testing::internal::posix::Abort(), ""); in TEST()
[all …]
Dgtest-listener_test.cc39 using ::testing::AddGlobalTestEnvironment;
40 using ::testing::Environment;
41 using ::testing::InitGoogleTest;
42 using ::testing::Test;
43 using ::testing::TestCase;
44 using ::testing::TestEventListener;
45 using ::testing::TestInfo;
46 using ::testing::TestPartResult;
47 using ::testing::UnitTest;
48 using ::testing::internal::String;
[all …]
/external/chromium/testing/gtest/include/gtest/internal/
Dgtest-death-test-internal.h44 namespace testing {
169 ::testing::internal::FormatFileLocation(__FILE__, __LINE__).c_str(), \
172 death_test->Abort(::testing::internal::DeathTest::TEST_THREW_EXCEPTION); \
174 death_test->Abort(::testing::internal::DeathTest::TEST_THREW_EXCEPTION); \
187 if (::testing::internal::AlwaysTrue()) { \
188 const ::testing::internal::RE& gtest_regex = (regex); \
189 ::testing::internal::DeathTest* gtest_dt; \
190 if (!::testing::internal::DeathTest::Create(#statement, &gtest_regex, \
195 ::testing::internal::scoped_ptr< ::testing::internal::DeathTest> \
198 case ::testing::internal::DeathTest::OVERSEE_TEST: \
[all …]
/external/protobuf/gtest/include/gtest/internal/
Dgtest-death-test-internal.h42 namespace testing {
156 if (::testing::internal::AlwaysTrue()) { \
157 const ::testing::internal::RE& gtest_regex = (regex); \
158 ::testing::internal::DeathTest* gtest_dt; \
159 if (!::testing::internal::DeathTest::Create(#statement, &gtest_regex, \
164 ::testing::internal::scoped_ptr< ::testing::internal::DeathTest> \
167 case ::testing::internal::DeathTest::OVERSEE_TEST: \
172 case ::testing::internal::DeathTest::EXECUTE_TEST: { \
173 ::testing::internal::DeathTest::ReturnSentinel \
176 gtest_dt->Abort(::testing::internal::DeathTest::TEST_DID_NOT_DIE); \
[all …]
/external/llvm/utils/unittest/googletest/include/gtest/internal/
Dgtest-death-test-internal.h42 namespace testing {
156 if (::testing::internal::AlwaysTrue()) { \
157 const ::testing::internal::RE& gtest_regex = (regex); \
158 ::testing::internal::DeathTest* gtest_dt; \
159 if (!::testing::internal::DeathTest::Create(#statement, &gtest_regex, \
164 ::testing::internal::scoped_ptr< ::testing::internal::DeathTest> \
167 case ::testing::internal::DeathTest::OVERSEE_TEST: \
172 case ::testing::internal::DeathTest::EXECUTE_TEST: { \
173 ::testing::internal::DeathTest::ReturnSentinel \
176 gtest_dt->Abort(::testing::internal::DeathTest::TEST_DID_NOT_DIE); \
[all …]
/external/chromium/chrome/browser/automation/
Dautomation_tab_helper_unittest.cc17 using testing::_;
61 testing::MockFunction<void()> check; in TEST_F()
64 testing::InSequence expect_in_sequence; in TEST_F()
76 testing::MockFunction<void()> check; in TEST_F()
78 testing::InSequence expect_in_sequence; in TEST_F()
94 testing::InSequence expect_in_sequence; in TEST_F()
105 testing::MockFunction<void()> check; in TEST_F()
107 testing::InSequence expect_in_sequence; in TEST_F()
134 testing::MockFunction<void()> check; in TEST_F()
136 testing::InSequence expect_in_sequence; in TEST_F()
[all …]
/external/chromium/sdch/open-vcdiff/src/gtest/
Dgtest.h91 namespace testing {
1001 EXPECT_PRED_FORMAT2(::testing::internal:: \
1005 EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperNE, expected, actual)
1007 EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperLE, val1, val2)
1009 EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperLT, val1, val2)
1011 EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperGE, val1, val2)
1013 EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperGT, val1, val2)
1016 ASSERT_PRED_FORMAT2(::testing::internal:: \
1020 ASSERT_PRED_FORMAT2(::testing::internal::CmpHelperNE, val1, val2)
1022 ASSERT_PRED_FORMAT2(::testing::internal::CmpHelperLE, val1, val2)
[all …]
/external/chromium/net/base/
Dnet_log_unittest.h23 inline ::testing::AssertionResult LogContainsEventHelper( in LogContainsEventHelper()
35 return ::testing::AssertionFailure() << j << " is out of bounds."; in LogContainsEventHelper()
38 return ::testing::AssertionFailure() in LogContainsEventHelper()
44 return ::testing::AssertionFailure() in LogContainsEventHelper()
50 return ::testing::AssertionFailure() in LogContainsEventHelper()
56 return ::testing::AssertionSuccess(); in LogContainsEventHelper()
59 inline ::testing::AssertionResult LogContainsEventAtTime( in LogContainsEventAtTime()
70 inline ::testing::AssertionResult LogContainsEvent( in LogContainsEvent()
80 inline ::testing::AssertionResult LogContainsBeginEvent( in LogContainsBeginEvent()
88 inline ::testing::AssertionResult LogContainsEndEvent( in LogContainsEndEvent()
[all …]
/external/chromium/base/test/
Dtest_suite.cc36 class MaybeTestDisabler : public testing::EmptyTestEventListener {
38 virtual void OnTestStart(const testing::TestInfo& test_info) { in OnTestStart()
52 testing::GTEST_FLAG(catch_exceptions) = false; in TestSuite()
56 testing::InitGoogleTest(&argc, argv); in TestSuite()
70 bool TestSuite::IsMarkedFlaky(const testing::TestInfo& test) { in IsMarkedFlaky()
75 bool TestSuite::IsMarkedFailing(const testing::TestInfo& test) { in IsMarkedFailing()
80 bool TestSuite::IsMarkedMaybe(const testing::TestInfo& test) { in IsMarkedMaybe()
85 bool TestSuite::ShouldIgnoreFailure(const testing::TestInfo& test) { in ShouldIgnoreFailure()
92 bool TestSuite::NonIgnoredFailures(const testing::TestInfo& test) { in NonIgnoredFailures()
98 testing::UnitTest* instance = testing::UnitTest::GetInstance(); in GetTestCount()
[all …]
/external/chromium/sdch/open-vcdiff/src/gtest/internal/
Dgtest-death-test-internal.h42 namespace testing {
151 const ::testing::internal::RE& gtest_regex = (regex); \
152 ::testing::internal::DeathTest* gtest_dt; \
153 if (!::testing::internal::DeathTest::Create(#statement, &gtest_regex, \
158 ::testing::internal::scoped_ptr< ::testing::internal::DeathTest> \
161 case ::testing::internal::DeathTest::OVERSEE_TEST: \
166 case ::testing::internal::DeathTest::EXECUTE_TEST: { \
167 ::testing::internal::DeathTest::ReturnSentinel \
170 gtest_dt->Abort(::testing::internal::DeathTest::TEST_DID_NOT_DIE); \
177 fail(::testing::internal::DeathTest::LastMessage())

12345678910>>...53