/external/gtest/test/ |
gtest-typed-test2_test.cc | 43 testing::Types<std::vector<int> >);
|
gtest_xml_output_unittest_.cc | 36 // flag. This is used for testing such functionality. 43 class SuccessfulTest : public testing::Test { 51 class FailedTest : public testing::Test { 58 class DisabledTest : public testing::Test { 79 class PropertyRecordingTest : public testing::Test { 106 testing::Test::RecordProperty(key, value); 111 testing::Test::RecordProperty(key, value);
|
gtest_repeat_test.cc | 47 namespace testing { namespace 53 } // namespace testing 55 using testing::GTEST_FLAG(death_test_style); 56 using testing::GTEST_FLAG(filter); 57 using testing::GTEST_FLAG(repeat); 61 // We need this when we are testing Google Test itself and therefore 83 class MyEnvironment : public testing::Environment { 129 class MyParamTest : public testing::TestWithParam<int> {}; 139 testing::Range(0, kNumberOfParamTests)); 232 testing::InitGoogleTest(&argc, argv) [all...] |
gtest_environment_test.cc | 38 namespace testing { namespace 48 // For testing using global test environments. 49 class MyEnvironment : public testing::Environment { 132 testing::InitGoogleTest(&argc, argv); 137 Check(testing::AddGlobalTestEnvironment(env) == env, 175 testing::GTEST_FLAG(filter) = "-*";
|
gtest_filter_unittest_.cc | 36 // flag. This is used for testing such functionality. 48 class FooTest : public testing::Test { 130 class ParamTest : public testing::TestWithParam<int> { 139 INSTANTIATE_TEST_CASE_P(SeqP, ParamTest, testing::Values(1, 2)); 140 INSTANTIATE_TEST_CASE_P(SeqQ, ParamTest, testing::Values(5, 6)); 147 testing::InitGoogleTest(&argc, argv);
|
gtest_output_test_.cc | 60 using testing::ScopedFakeTestPartResultReporter; 61 using testing::TestPartResultArray; 63 using testing::internal::String; 80 // The testing::Test:: prefix is necessary when calling 82 if (testing::Test::HasFatalFailure()) return; 111 // fixture, the testing::Test:: prefix is not needed. 140 // A helper function for testing SCOPED_TRACE. 146 // Another helper function for testing SCOPED_TRACE. 148 SCOPED_TRACE(testing::Message() << "n = " << n); 177 SCOPED_TRACE(testing::Message() << "i = " << i) [all...] |
gtest_list_tests_unittest_.cc | 65 class FooTest : public testing::Test { 84 testing::InitGoogleTest(&argc, argv);
|
gtest_throw_on_failure_ex_test.cc | 54 testing::GTEST_FLAG(throw_on_failure) = true; 82 testing::InitGoogleTest(&argc, argv); 85 // other testing frameworks, as long as they initialize Google Test
|
/external/protobuf/gtest/samples/ |
sample10_unittest.cc | 39 using ::testing::EmptyTestEventListener; 40 using ::testing::InitGoogleTest; 41 using ::testing::Test; 42 using ::testing::TestCase; 43 using ::testing::TestEventListeners; 44 using ::testing::TestInfo; 45 using ::testing::TestPartResult; 46 using ::testing::UnitTest;
|
sample9_unittest.cc | 39 using ::testing::EmptyTestEventListener; 40 using ::testing::InitGoogleTest; 41 using ::testing::Test; 42 using ::testing::TestCase; 43 using ::testing::TestEventListeners; 44 using ::testing::TestInfo; 45 using ::testing::TestPartResult; 46 using ::testing::UnitTest;
|
/external/protobuf/gtest/test/ |
gtest-typed-test2_test.cc | 43 testing::Types<std::vector<int> >);
|
gtest-listener_test.cc | 31 // The Google C++ Testing Framework (Google Test) 47 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 62 namespace testing { namespace [all...] |
gtest_output_test_.cc | 53 using testing::ScopedFakeTestPartResultReporter; 54 using testing::TestPartResultArray; 56 namespace posix = ::testing::internal::posix; 57 using testing::internal::String; 74 // The testing::Test:: prefix is necessary when calling 76 if (testing::Test::HasFatalFailure()) return; 105 // fixture, the testing::Test:: prefix is not needed. 134 // A helper function for testing SCOPED_TRACE. 140 // Another helper function for testing SCOPED_TRACE. 142 SCOPED_TRACE(testing::Message() << "n = " << n) [all...] |
gtest_environment_test.cc | 38 namespace testing { namespace 48 // For testing using global test environments. 49 class MyEnvironment : public testing::Environment { 132 testing::InitGoogleTest(&argc, argv); 137 Check(testing::AddGlobalTestEnvironment(env) == env, 175 testing::GTEST_FLAG(filter) = "-*";
|
gtest_filter_unittest_.cc | 36 // flag. This is used for testing such functionality. 47 class FooTest : public testing::Test { 121 class ParamTest : public testing::TestWithParam<int> { 130 INSTANTIATE_TEST_CASE_P(SeqP, ParamTest, testing::Values(1, 2)); 131 INSTANTIATE_TEST_CASE_P(SeqQ, ParamTest, testing::Values(5, 6)); 137 ::testing::InitGoogleTest(&argc, argv);
|
gtest_list_tests_unittest_.cc | 64 class FooTest : public testing::Test { 82 ::testing::InitGoogleTest(&argc, argv);
|
gtest_throw_on_failure_ex_test.cc | 54 testing::GTEST_FLAG(throw_on_failure) = true; 82 testing::InitGoogleTest(&argc, argv); 85 // other testing frameworks, as long as they initialize Google Test
|
/external/chromium/sdch/open-vcdiff/src/gtest/ |
gtest-spi.h | 32 // Utilities for testing Google Test itself and code that uses Google Test 40 namespace testing { namespace 191 } // namespace testing 193 // A macro for testing Google Test assertions or code that's expected to 212 ::testing::TestPartResultArray gtest_failures;\ 213 ::testing::internal::SingleFailureChecker gtest_checker(\ 214 >est_failures, ::testing::TPRT_FATAL_FAILURE, (substr));\ 216 ::testing::ScopedFakeTestPartResultReporter gtest_reporter(\ 222 // A macro for testing Google Test assertions or code that's expected to 237 ::testing::TestPartResultArray gtest_failures; [all...] |
/external/protobuf/gtest/include/gtest/internal/ |
gtest-death-test-internal.h | 32 // The Google C++ Testing Framework (Google Test) 42 namespace testing { namespace 133 // Factory interface for death tests. May be mocked out for 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, >est_regex, \ 164 ::testing::internal::scoped_ptr< ::testing::internal::DeathTest> \ 167 case ::testing::internal::DeathTest::OVERSEE_TEST: [all...] |
/external/chromium/net/base/ |
load_log_unittest.h | 10 #include "testing/gtest/include/gtest/gtest.h" 21 inline ::testing::AssertionResult LogContainsEventHelper( 31 return ::testing::AssertionFailure() << j << " is out of bounds."; 34 return ::testing::AssertionFailure() << "Not a TYPE_EVENT entry"; 37 return ::testing::AssertionFailure() 43 return ::testing::AssertionFailure() 49 return ::testing::AssertionFailure() 55 return ::testing::AssertionSuccess(); 58 inline ::testing::AssertionResult LogContainsEventAtTime( 69 inline ::testing::AssertionResult LogContainsEvent [all...] |
/external/gtest/include/gtest/internal/ |
gtest-death-test-internal.h | 32 // The Google C++ Testing Framework (Google Test) 46 namespace testing { namespace 137 // Factory interface for death tests. May be mocked out for testing. 161 const ::testing::internal::RE& gtest_regex = (regex); \ 162 ::testing::internal::DeathTest* gtest_dt; \ 163 if (!::testing::internal::DeathTest::Create(#statement, >est_regex, \ 168 ::testing::internal::scoped_ptr< ::testing::internal::DeathTest> \ 171 case ::testing::internal::DeathTest::OVERSEE_TEST: \ 176 case ::testing::internal::DeathTest::EXECUTE_TEST: { [all...] |
/external/chromium/base/test/ |
test_suite.h | 23 #include "testing/gtest/include/gtest/gtest.h" 24 #include "testing/multiprocess_func_list.h" 31 typedef bool (*TestMatch)(const testing::TestInfo&); 36 class TestIsolationEnforcer : public testing::EmptyTestEventListener { 38 virtual void OnTestStart(const testing::TestInfo& test_info) { 43 virtual void OnTestEnd(const testing::TestInfo& test_info) { 57 testing::InitGoogleTest(&argc, argv); 76 static bool FlakyTest(const testing::TestInfo& test) { 81 static bool NonFlakyFailures(const testing::TestInfo& test) { 87 testing::UnitTest* instance = testing::UnitTest::GetInstance() [all...] |
/external/protobuf/gtest/include/gtest/ |
gtest-death-test.h | 32 // The Google C++ Testing Framework (Google Test) 43 namespace testing { namespace 81 // ASSERT_EXIT(server.ExitNow(), ::testing::ExitedWithCode(0), "Exiting"); 169 ASSERT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, regex) 174 EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, regex) 203 // The death testing framework causes this to have interesting semantics, 248 do { statement; } while (::testing::internal::AlwaysFalse()) 251 do { statement; } while (::testing::internal::AlwaysFalse()) 281 } // namespace testing
|
/external/expat/conftools/ |
get-version.sh | 39 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
|
/external/gtest/include/gtest/ |
gtest-typed-test.h | 44 // by a type. Remember to derive it from testing::Test. 46 class FooTest : public testing::Test { 57 typedef testing::Types<char, int, unsigned int> MyTypes; 104 // by a type. Remember to derive it from testing::Test. 106 class FooTest : public testing::Test { 140 typedef testing::Types<char, int, unsigned int> MyTypes; 163 typedef ::testing::internal::TypeList<Types>::type \ 176 ::testing::internal::TypeParameterizedTest< \ 178 ::testing::internal::TemplateSel< \ 217 static ::testing::internal::TypedTestCasePState [all...] |