/ndk/sources/third_party/googletest/googletest/test/ |
gtest_color_test_.cc | 32 // A helper program for testing how Google Test determines whether to use 49 using testing::internal::ShouldUseColor; 59 testing::InitGoogleTest(&argc, argv);
|
gtest_shuffle_test_.cc | 38 using ::testing::EmptyTestEventListener; 39 using ::testing::InitGoogleTest; 40 using ::testing::Message; 41 using ::testing::Test; 42 using ::testing::TestEventListeners; 43 using ::testing::TestInfo; 44 using ::testing::UnitTest; 45 using ::testing::internal::scoped_ptr;
|
/external/chromium_org/testing/ |
gtest_mac.h | 15 namespace testing { namespace 33 } // namespace testing 37 EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperNSEQ, expected, actual) 39 EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperNSNE, val1, val2) 42 ASSERT_PRED_FORMAT2(::testing::internal::CmpHelperNSEQ, expected, actual) 44 ASSERT_PRED_FORMAT2(::testing::internal::CmpHelperNSNE, val1, val2)
|
/external/chromium_org/third_party/libaddressinput/chromium/cpp/test/ |
region_data_constants_test.cc | 27 testing::AssertionResult HasCurlyBraces(const std::string& data) { 29 return testing::AssertionFailure() << "data is empty"; 32 return testing::AssertionFailure() << data << " does not start with '{'"; 35 return testing::AssertionFailure() << data << " does not end with '}'"; 37 return testing::AssertionSuccess();
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
SetRemoveTester.java | 17 package com.google.common.collect.testing.testers; 19 import static com.google.common.collect.testing.features.CollectionFeature.SUPPORTS_REMOVE; 20 import static com.google.common.collect.testing.features.CollectionSize.ZERO; 22 import com.google.common.collect.testing.features.CollectionFeature; 23 import com.google.common.collect.testing.features.CollectionSize; 28 * {@link com.google.common.collect.testing.ListTestSuiteBuilder}.
|
ListRemoveAllTester.java | 17 package com.google.common.collect.testing.testers; 19 import static com.google.common.collect.testing.features.CollectionFeature.SUPPORTS_REMOVE_ALL; 20 import static com.google.common.collect.testing.features.CollectionSize.ONE; 21 import static com.google.common.collect.testing.features.CollectionSize.ZERO; 23 import com.google.common.collect.testing.MinimalCollection; 24 import com.google.common.collect.testing.features.CollectionFeature; 25 import com.google.common.collect.testing.features.CollectionSize; 30 * {@link com.google.common.collect.testing.ListTestSuiteBuilder}.
|
MapContainsValueTester.java | 17 package com.google.common.collect.testing.testers; 19 import static com.google.common.collect.testing.features.CollectionSize.ZERO; 20 import static com.google.common.collect.testing.features.MapFeature.*; 22 import com.google.common.collect.testing.AbstractMapTester; 23 import com.google.common.collect.testing.WrongType; 24 import com.google.common.collect.testing.features.CollectionSize; 25 import com.google.common.collect.testing.features.MapFeature; 30 * {@link com.google.common.collect.testing.MapTestSuiteBuilder}.
|
QueueElementTester.java | 17 package com.google.common.collect.testing.testers; 19 import static com.google.common.collect.testing.features.CollectionFeature.KNOWN_ORDER; 20 import static com.google.common.collect.testing.features.CollectionSize.ONE; 21 import static com.google.common.collect.testing.features.CollectionSize.SEVERAL; 22 import static com.google.common.collect.testing.features.CollectionSize.ZERO; 24 import com.google.common.collect.testing.features.CollectionFeature; 25 import com.google.common.collect.testing.features.CollectionSize; 32 * {@link com.google.common.collect.testing.CollectionTestSuiteBuilder}.
|
/external/chromium_org/third_party/WebKit/Source/platform/geometry/ |
FloatBoxTestHelpers.cpp | 69 ::testing::AssertionResult WebCore::FloatBoxTest::AssertAlmostEqual(const char* m_expr, const char* n_expr, const FloatBox& m, const FloatBox& n) 72 return ::testing::AssertionFailure() << " Value of:" << n_expr << std::endl 73 << " Actual:" << testing::PrintToString(n) << std::endl 75 << " Which is:" << ::testing::PrintToString(m); 77 return ::testing::AssertionSuccess(); 80 ::testing::AssertionResult WebCore::FloatBoxTest::AssertContains(const char* m_expr, const char* n_expr, const FloatBox& m, const FloatBox& n) 85 return ::testing::AssertionFailure() << " Value of:" << n_expr << std::endl 86 << " Actual:" << testing::PrintToString(n) << std::endl 88 << " Which is:" << ::testing::PrintToString(m); 90 return ::testing::AssertionSuccess() [all...] |
/external/chromium_org/chrome/test/logging/win/ |
test_log_collector.cc | 24 #include "testing/gtest/include/gtest/gtest.h" 37 void Initialize(testing::UnitTest* unit_test); 40 void StartSessionForTest(const testing::TestInfo& test_info); 41 bool LogTestPartResult(const testing::TestPartResult& test_part_result); 42 void ProcessSessionForTest(const testing::TestInfo& test_info); 48 class EventListener : public testing::TestEventListener { 52 testing::TestEventListener* default_result_printer); 57 const testing::UnitTest& unit_test) OVERRIDE { 62 virtual void OnTestIterationStart(const testing::UnitTest& unit_test, 68 const testing::UnitTest& unit_test) OVERRIDE [all...] |
/external/chromium_org/third_party/mesa/src/src/gtest/include/gtest/internal/ |
gtest-death-test-internal.h | 32 // The Google C++ Testing Framework (Google Test) 44 namespace testing { namespace 139 // Factory interface for death tests. May be mocked out for 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, >est_regex, [all...] |
/external/clang/unittests/ASTMatchers/ |
ASTMatchersTest.h | 61 testing::AssertionResult matchesConditionally(const std::string &Code, 71 return testing::AssertionFailure() << "Could not add dynamic matcher"; 77 return testing::AssertionFailure() << "Parsing error in \"" << Code << "\""; 80 return testing::AssertionFailure() << "Dynamic match result (" 86 return testing::AssertionFailure() 89 return testing::AssertionFailure() 92 return testing::AssertionSuccess(); 96 testing::AssertionResult matches(const std::string &Code, const T &AMatcher) { 101 testing::AssertionResult notMatches(const std::string &Code, 107 testing::AssertionResul [all...] |
/external/llvm/utils/unittest/googletest/include/gtest/internal/ |
gtest-death-test-internal.h | 32 // The Google C++ Testing Framework (Google Test) 44 namespace testing { namespace 139 // Factory interface for death tests. May be mocked out for 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, >est_regex, [all...] |
/external/mesa3d/src/gtest/include/gtest/internal/ |
gtest-death-test-internal.h | 32 // The Google C++ Testing Framework (Google Test) 44 namespace testing { namespace 139 // Factory interface for death tests. May be mocked out for 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, >est_regex, [all...] |
/bionic/tests/ |
fortify_test.cpp | 36 class DEATHTEST : public testing::Test { 63 ::testing::FLAGS_gtest_death_test_style = "threadsafe"; 67 testing::KilledBySignal(SIGABRT), ""); 75 ::testing::FLAGS_gtest_death_test_style = "threadsafe"; 80 testing::KilledBySignal(SIGABRT), ""); 88 ::testing::FLAGS_gtest_death_test_style = "threadsafe"; 92 testing::KilledBySignal(SIGABRT), ""); 100 ::testing::FLAGS_gtest_death_test_style = "threadsafe"; 105 testing::KilledBySignal(SIGABRT), ""); 113 ::testing::FLAGS_gtest_death_test_style = "threadsafe" [all...] |
/frameworks/testing/espresso/libs/ |
testrunner-1.1.jar | |
/external/chromium_org/content/public/test/ |
browser_test.h | 17 #include "testing/gtest/include/gtest/gtest.h" 28 static ::testing::TestInfo* const test_info_;\ 33 ::testing::TestInfo* const GTEST_TEST_CLASS_NAME_(test_case_name, test_name)\ 35 ::testing::internal::MakeAndRegisterTestInfo(\ 40 new ::testing::internal::TestFactoryImpl<\ 46 ::testing::internal::GetTypeId<test_fixture>()) 58 ::testing::UnitTest::GetInstance()->parameterized_test_registry(). \ 63 new ::testing::internal::TestMetaFactory< \
|
/external/chromium_org/native_client_sdk/src/examples/tutorial/testing/ |
testing.cc | 18 ::testing::InitGoogleTest(&argc, argv); 33 class GTestEventListener : public ::testing::EmptyTestEventListener { 36 virtual void OnTestStart(const ::testing::TestInfo& test_info) { 43 const ::testing::TestPartResult& test_part_result) { 53 virtual void OnTestEnd(const ::testing::TestInfo& test_info) { 62 ::testing::InitGoogleTest(&argc, argv); 63 ::testing::UnitTest::GetInstance()->listeners()
|
/external/chromium_org/native_client_sdk/src/tests/nacl_io_socket_test/ |
main.cc | 12 ::testing::InitGoogleTest(&argc, argv); 27 class GTestEventListener : public ::testing::EmptyTestEventListener { 30 virtual void OnTestStart(const ::testing::TestInfo& test_info) { 37 const ::testing::TestPartResult& test_part_result) { 47 virtual void OnTestEnd(const ::testing::TestInfo& test_info) { 56 ::testing::InitGoogleTest(&argc, argv); 57 ::testing::UnitTest::GetInstance()->listeners()
|
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/ |
main.cc | 13 ::testing::InitGoogleTest(&argc, argv); 28 class GTestEventListener : public ::testing::EmptyTestEventListener { 31 virtual void OnTestStart(const ::testing::TestInfo& test_info) { 38 const ::testing::TestPartResult& test_part_result) { 48 virtual void OnTestEnd(const ::testing::TestInfo& test_info) { 57 ::testing::InitGoogleTest(&argc, argv); 58 ::testing::UnitTest::GetInstance()->listeners()
|
/external/chromium_org/native_client_sdk/src/tests/sdk_util_test/ |
main.cc | 12 ::testing::InitGoogleTest(&argc, argv); 27 class GTestEventListener : public ::testing::EmptyTestEventListener { 30 virtual void OnTestStart(const ::testing::TestInfo& test_info) { 37 const ::testing::TestPartResult& test_part_result) { 47 virtual void OnTestEnd(const ::testing::TestInfo& test_info) { 56 ::testing::InitGoogleTest(&argc, argv); 57 ::testing::UnitTest::GetInstance()->listeners()
|
/external/chromium_org/net/test/ |
gtest_util.h | 5 // Testing utilities that extend gtest. 12 #include "testing/gmock/include/gmock/gmock.h" 13 #include "testing/gtest/include/gtest/gtest.h" 25 using ::testing::_; \ 27 .WillRepeatedly(::testing::Return(false)); \ 29 .Times(::testing::AtLeast(1)) \ 30 .WillOnce(::testing::Return(false)); \ 34 if (!testing::Mock::VerifyAndClear(>est_log)) { \ 43 // are appropriate for testing that your code logs a message at the 61 EXPECT_DFATAL_WITH(statement, ::testing::ContainsRegex(regex) [all...] |
/external/chromium_org/testing/gtest/test/ |
gtest_list_tests_unittest_.cc | 62 class FooTest : public testing::Test { 94 class ValueParamTest : public testing::TestWithParam<MyType> { 105 testing::Values(MyType("one line"), 111 // A deliberately long type name for testing the line-truncating 117 class TypedTest : public testing::Test { 124 typedef testing::Types<VeryLoooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooogName, // NOLINT 138 class TypeParamTest : public testing::Test { 154 ::testing::InitGoogleTest(&argc, argv);
|
/external/gtest/test/ |
gtest_list_tests_unittest_.cc | 62 class FooTest : public testing::Test { 94 class ValueParamTest : public testing::TestWithParam<MyType> { 105 testing::Values(MyType("one line"), 111 // A deliberately long type name for testing the line-truncating 117 class TypedTest : public testing::Test { 124 typedef testing::Types<VeryLoooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooogName, // NOLINT 138 class TypeParamTest : public testing::Test { 154 ::testing::InitGoogleTest(&argc, argv);
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
SetTestSuiteBuilder.java | 17 package com.google.common.collect.testing; 19 import com.google.common.collect.testing.testers.SetAddAllTester; 20 import com.google.common.collect.testing.testers.SetAddTester; 21 import com.google.common.collect.testing.testers.SetCreationTester; 22 import com.google.common.collect.testing.testers.SetEqualsTester; 23 import com.google.common.collect.testing.testers.SetHashCodeTester; 24 import com.google.common.collect.testing.testers.SetRemoveTester;
|