/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
H A D | 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}.
|
H A D | 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}.
|
H A D | 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}.
|
H A D | 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}.
|
H A D | QueuePeekTester.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; 30 * {@link com.google.common.collect.testing.CollectionTestSuiteBuilder}.
|
H A D | MapGetTester.java | 17 package com.google.common.collect.testing.testers; 19 import static com.google.common.collect.testing.features.CollectionFeature.ALLOWS_NULL_QUERIES; 20 import static com.google.common.collect.testing.features.CollectionSize.ZERO; 21 import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_KEYS; 23 import com.google.common.collect.testing.AbstractMapTester; 24 import com.google.common.collect.testing.WrongType; 25 import com.google.common.collect.testing.features.CollectionFeature; 26 import com.google.common.collect.testing.features.CollectionSize; 27 import com.google.common.collect.testing.features.MapFeature; 32 * {@link com.google.common.collect.testing [all...] |
H A D | ListListIteratorTester.java | 17 package com.google.common.collect.testing.testers; 19 import static com.google.common.collect.testing.IteratorFeature.MODIFIABLE; 20 import static com.google.common.collect.testing.IteratorFeature.UNMODIFIABLE; 21 import static com.google.common.collect.testing.features.CollectionFeature.SUPPORTS_REMOVE; 22 import static com.google.common.collect.testing.features.ListFeature.SUPPORTS_ADD_WITH_INDEX; 23 import static com.google.common.collect.testing.features.ListFeature.SUPPORTS_SET; 24 import static com.google.common.collect.testing.testers.Platform.listListIteratorTesterNumIterations; 27 import com.google.common.collect.testing.Helpers; 28 import com.google.common.collect.testing.IteratorFeature; 29 import com.google.common.collect.testing [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/geometry/ |
H A D | FloatBoxTestHelpers.cpp | 69 ::testing::AssertionResult blink::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 blink::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 [all...] |
/external/chromium_org/chrome/test/logging/win/ |
H A D | 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 [all...] |
/external/chromium_org/extensions/browser/api/bluetooth_socket/ |
H A D | bluetooth_socket_apitest.cc | 22 #include "testing/gmock/include/gmock/gmock.h" 51 mock_adapter_ = new testing::StrictMock<MockBluetoothAdapter>(); 55 new testing::NiceMock<MockBluetoothDevice>(mock_adapter_.get(), 62 new testing::NiceMock<MockBluetoothDevice>(mock_adapter_.get(), 71 scoped_refptr<testing::StrictMock<MockBluetoothAdapter> > mock_adapter_; 72 scoped_ptr<testing::NiceMock<MockBluetoothDevice> > mock_device1_; 73 scoped_ptr<testing::NiceMock<MockBluetoothDevice> > mock_device2_; 79 // testing::InvokeArgument<N> does not work with base::Callback, fortunately 109 .WillRepeatedly(testing::Return(mock_device1_.get())); 111 .WillOnce(testing [all...] |
/external/chromium_org/third_party/mesa/src/src/gtest/include/gtest/internal/ |
H A D | gtest-death-test-internal.h | 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, \ 195 ::testing [all...] |
/external/clang/unittests/ASTMatchers/ |
H A D | 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 [all...] |
/external/llvm/utils/unittest/googletest/include/gtest/internal/ |
H A D | gtest-death-test-internal.h | 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, \ 195 ::testing [all...] |
/external/mesa3d/src/gtest/include/gtest/internal/ |
H A D | gtest-death-test-internal.h | 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, \ 195 ::testing [all...] |
/external/chromium_org/net/test/ |
H A D | gtest_util.h | 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)) 64 ASSERT_DFATAL_WITH(statement, ::testing [all...] |
/external/chromium_org/testing/gtest/test/ |
H A D | 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/ |
H A D | 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/ |
H A D | 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;
|
/external/chromium_org/chrome/browser/sync_file_system/ |
H A D | mock_local_change_processor.cc | 15 using ::testing::_; 16 using ::testing::Invoke; 17 using ::testing::Return;
|
/external/chromium_org/v8/src/libplatform/ |
H A D | worker-thread-unittest.cc | 8 #include "testing/gmock/include/gmock/gmock.h" 10 using testing::InSequence; 11 using testing::IsNull; 12 using testing::StrictMock;
|
/external/chromium_org/net/base/ |
H A D | net_log_unittest.h | 11 #include "testing/gtest/include/gtest/gtest.h" 22 inline ::testing::AssertionResult LogContainsEventHelper( 34 return ::testing::AssertionFailure() << j << " is out of bounds."; 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( 79 inline ::testing [all...] |
/external/chromium_org/base/i18n/ |
H A D | number_formatting.h | 24 namespace testing { namespace in namespace:base 27 // testing. 30 } // namespace testing
|
/external/chromium_org/base/test/ |
H A D | test_pending_task_unittest.cc | 9 #include "testing/gmock/include/gmock/gmock.h" 10 #include "testing/gtest/include/gtest/gtest-spi.h" 11 #include "testing/gtest/include/gtest/gtest.h" 22 EXPECT_THAT(task.AsValue()->ToString(), ::testing::HasSubstr("post_time")); 29 EXPECT_THAT(task.ToString(), ::testing::StartsWith("TestPendingTask(")); 36 EXPECT_THAT(::testing::PrintToString(task), 37 ::testing::StartsWith("TestPendingTask("));
|
/external/chromium_org/chrome/browser/ui/webui/options/ |
H A D | search_engine_manager_browsertest.js | 6 * TestFixture for search engine manager WebUI testing. 7 * @extends {testing.Test} 13 __proto__: testing.Test.prototype,
|
/external/chromium_org/chrome/test/base/ |
H A D | web_ui_browser_test_browsertest.cc | 15 #include "testing/gmock/include/gmock/gmock.h" 16 #include "testing/gtest/include/gtest/gtest-spi.h" 137 ::testing::StrictMock<AsyncWebUIMessageHandler> message_handler_; 164 EXPECT_CALL(message_handler_, HandleTestFails(::testing::_)); 171 ::testing::InSequence s; 172 EXPECT_CALL(message_handler_, HandleTestContinues(::testing::_)); 173 EXPECT_CALL(message_handler_, HandleTestFails(::testing::_)); 180 EXPECT_CALL(message_handler_, HandleTestContinues(::testing::_)); 186 ::testing::InSequence s; 187 EXPECT_CALL(message_handler_, HandleTestContinues(::testing [all...] |