/system/core/libion/tests/ |
ion_test_fixture.h | 22 using ::testing::Test;
|
/external/chromium_org/content/browser/media/capture/ |
desktop_capture_device_aura_unittest.cc | 11 #include "testing/gmock/include/gmock/gmock.h" 12 #include "testing/gtest/include/gtest/gtest.h" 20 using ::testing::_; 21 using ::testing::AnyNumber; 22 using ::testing::DoAll; 23 using ::testing::Expectation; 24 using ::testing::InvokeWithoutArgs; 25 using ::testing::SaveArg; 56 class DesktopCaptureDeviceAuraTest : public testing::Test {
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
Canvas2DLayerBridgeTest.cpp | 45 using testing::InSequence; 46 using testing::Return; 47 using testing::Test; 122 ::testing::Mock::VerifyAndClearExpectations(&mainMock); 127 ::testing::Mock::VerifyAndClearExpectations(&mainMock); 133 ::testing::Mock::VerifyAndClearExpectations(&mainMock); 136 ::testing::Mock::VerifyAndClearExpectations(&mainMock);
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
ListSetTester.java | 17 package com.google.common.collect.testing.testers; 19 import static com.google.common.collect.testing.features.CollectionFeature.ALLOWS_NULL_VALUES; 20 import static com.google.common.collect.testing.features.CollectionSize.ZERO; 21 import static com.google.common.collect.testing.features.ListFeature.SUPPORTS_SET; 23 import com.google.common.collect.testing.features.CollectionFeature; 24 import com.google.common.collect.testing.features.CollectionSize; 25 import com.google.common.collect.testing.features.ListFeature; 32 * {@link com.google.common.collect.testing.ListTestSuiteBuilder}.
|
CollectionIteratorTester.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.KNOWN_ORDER; 22 import static com.google.common.collect.testing.features.CollectionFeature.SUPPORTS_REMOVE; 24 import com.google.common.collect.testing.AbstractCollectionTester; 25 import com.google.common.collect.testing.Helpers; 26 import com.google.common.collect.testing.IteratorFeature; 27 import com.google.common.collect.testing.IteratorTester; 28 import com.google.common.collect.testing.features.CollectionFeature [all...] |
CollectionRemoveAllTester.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.CollectionFeature.ALLOWS_NULL_VALUES; 21 import static com.google.common.collect.testing.features.CollectionFeature.SUPPORTS_REMOVE_ALL; 22 import static com.google.common.collect.testing.features.CollectionSize.ZERO; 24 import com.google.common.collect.testing.AbstractCollectionTester; 25 import com.google.common.collect.testing.MinimalCollection; 26 import com.google.common.collect.testing.WrongType; 27 import com.google.common.collect.testing.features.CollectionFeature; 28 import com.google.common.collect.testing.features.CollectionSize [all...] |
/system/core/liblog/tests/ |
benchmark.h | 27 namespace testing { namespace 127 } // namespace testing 130 static inline void BenchmarkAddArg(::testing::Benchmark* b, const char* name, T arg) { 131 ::testing::BenchmarkWantsArg<T>* ba; 132 ba = static_cast< ::testing::BenchmarkWantsArg<T>* >(b); 144 static ::testing::Benchmark* _benchmark_##f __attribute__((unused)) = \ 145 (::testing::Benchmark*)::testing::BenchmarkFactory(#f, f)
|
/external/chromium_org/android_webview/browser/net/ |
input_stream_reader_unittest.cc | 14 #include "testing/gmock/include/gmock/gmock.h" 15 #include "testing/gtest/include/gtest/gtest.h" 19 using testing::DoAll; 20 using testing::Ge; 21 using testing::InSequence; 22 using testing::Lt; 23 using testing::Ne; 24 using testing::NotNull; 25 using testing::Return; 26 using testing::SetArgPointee [all...] |
/external/chromium_org/android_webview/native/ |
input_stream_unittest.cc | 14 #include "testing/gmock/include/gmock/gmock.h" 15 #include "testing/gtest/include/gtest/gtest.h" 22 using testing::DoAll; 23 using testing::Ge; 24 using testing::InSequence; 25 using testing::Lt; 26 using testing::Ne; 27 using testing::NotNull; 28 using testing::Return; 29 using testing::SetArgPointee [all...] |
/external/chromium_org/third_party/webrtc/modules/remote_bitrate_estimator/test/ |
bwe_test_logging.h | 107 webrtc::testing::bwe::Logging::GetInstance()->SetGlobalContext(name); \ 112 webrtc::testing::bwe::Logging::GetInstance()->SetGlobalEnable(enabled); \ 117 webrtc::testing::bwe::Logging::Context \ 132 webrtc::testing::bwe::Logging::GetInstance()->Log(format, _1); \ 137 webrtc::testing::bwe::Logging::GetInstance()->Log(format, _1, _2); \ 142 webrtc::testing::bwe::Logging::GetInstance()->Log(format, _1, _2, _3); \ 147 webrtc::testing::bwe::Logging::GetInstance()->Log(format, _1, _2, _3, \ 153 webrtc::testing::bwe::Logging::GetInstance()->Log(format, _1, _2, _3, \ 161 webrtc::testing::bwe::Logging::GetInstance()->Plot(value); \ 168 namespace testing { namespace in namespace:webrtc [all...] |
/external/clang/unittests/AST/ |
StmtPrinterTest.cpp | 69 ::testing::AssertionResult 80 return testing::AssertionFailure() 84 return testing::AssertionFailure() 88 return testing::AssertionFailure() 93 return ::testing::AssertionFailure() 97 return ::testing::AssertionSuccess(); 100 ::testing::AssertionResult 109 ::testing::AssertionResult PrintedStmtCXX98Matches( 123 ::testing::AssertionResult 132 ::testing::AssertionResult PrintedStmtMSMatches [all...] |
/frameworks/testing/espresso/espresso-lib/src/main/java/com/google/android/apps/common/testing/ui/espresso/action/ |
KeyEventAction.java | 17 package com.google.android.apps.common.testing.ui.espresso.action; 19 import static com.google.android.apps.common.testing.ui.espresso.matcher.ViewMatchers.isDisplayed; 22 import com.google.android.apps.common.testing.testrunner.ActivityLifecycleMonitorRegistry; 23 import com.google.android.apps.common.testing.testrunner.Stage; 24 import com.google.android.apps.common.testing.ui.espresso.InjectEventSecurityException; 25 import com.google.android.apps.common.testing.ui.espresso.NoActivityResumedException; 26 import com.google.android.apps.common.testing.ui.espresso.PerformException; 27 import com.google.android.apps.common.testing.ui.espresso.UiController; 28 import com.google.android.apps.common.testing.ui.espresso.ViewAction; 29 import com.google.android.apps.common.testing.ui.espresso.util.HumanReadables [all...] |
TypeTextAction.java | 17 package com.google.android.apps.common.testing.ui.espresso.action; 19 import static com.google.android.apps.common.testing.ui.espresso.matcher.ViewMatchers.hasFocus; 20 import static com.google.android.apps.common.testing.ui.espresso.matcher.ViewMatchers.isAssignableFrom; 21 import static com.google.android.apps.common.testing.ui.espresso.matcher.ViewMatchers.isDisplayed; 22 import static com.google.android.apps.common.testing.ui.espresso.matcher.ViewMatchers.supportsInputMethods; 27 import com.google.android.apps.common.testing.ui.espresso.InjectEventSecurityException; 28 import com.google.android.apps.common.testing.ui.espresso.PerformException; 29 import com.google.android.apps.common.testing.ui.espresso.UiController; 30 import com.google.android.apps.common.testing.ui.espresso.ViewAction; 31 import com.google.android.apps.common.testing.ui.espresso.util.HumanReadables [all...] |
/frameworks/testing/espresso/espresso-lib-tests/src/androidTest/java/com/google/android/apps/common/testing/ui/espresso/action/ |
AdapterDataIntegrationTest.java | 17 package com.google.android.apps.common.testing.ui.espresso.action; 19 import static com.google.android.apps.common.testing.ui.espresso.Espresso.onData; 20 import static com.google.android.apps.common.testing.ui.espresso.Espresso.onView; 21 import static com.google.android.apps.common.testing.ui.espresso.action.ViewActions.click; 22 import static com.google.android.apps.common.testing.ui.espresso.assertion.ViewAssertions.matches; 23 import static com.google.android.apps.common.testing.ui.espresso.matcher.ViewMatchers.hasSibling; 24 import static com.google.android.apps.common.testing.ui.espresso.matcher.ViewMatchers.withId; 25 import static com.google.android.apps.common.testing.ui.espresso.matcher.ViewMatchers.withText; 31 import com.google.android.apps.common.testing.ui.testapp.LongListActivity; 32 import com.google.android.apps.common.testing.ui.testapp.R [all...] |
/frameworks/testing/espresso/espresso-lib-tests/src/androidTest/java/com/google/android/apps/common/testing/ui/espresso/base/ |
IdlingResourceIntegrationTest.java | 17 package com.google.android.apps.common.testing.ui.espresso.base; 19 import static com.google.android.apps.common.testing.ui.espresso.Espresso.onView; 20 import static com.google.android.apps.common.testing.ui.espresso.Espresso.pressBack; 21 import static com.google.android.apps.common.testing.ui.espresso.Espresso.registerIdlingResources; 22 import static com.google.android.apps.common.testing.ui.espresso.action.ViewActions.click; 23 import static com.google.android.apps.common.testing.ui.espresso.assertion.ViewAssertions.matches; 24 import static com.google.android.apps.common.testing.ui.espresso.matcher.ViewMatchers.isDisplayed; 25 import static com.google.android.apps.common.testing.ui.espresso.matcher.ViewMatchers.withText; 29 import com.google.android.apps.common.testing.ui.espresso.IdlingResource; 30 import com.google.android.apps.common.testing.ui.testapp.SendActivity [all...] |
/frameworks/testing/espresso/espresso-sample/src/androidTest/java/com/google/android/apps/common/testing/ui/testapp/ |
AdapterViewTest.java | 17 package com.google.android.apps.common.testing.ui.testapp; 19 import static com.google.android.apps.common.testing.ui.espresso.Espresso.onData; 20 import static com.google.android.apps.common.testing.ui.espresso.Espresso.onView; 21 import static com.google.android.apps.common.testing.ui.espresso.action.ViewActions.click; 22 import static com.google.android.apps.common.testing.ui.espresso.assertion.ViewAssertions.matches; 23 import static com.google.android.apps.common.testing.ui.espresso.matcher.ViewMatchers.withId; 24 import static com.google.android.apps.common.testing.ui.espresso.matcher.ViewMatchers.withText; 25 import static com.google.android.apps.common.testing.ui.testapp.LongListMatchers.isFooter; 26 import static com.google.android.apps.common.testing.ui.testapp.LongListMatchers.withItemContent; 27 import static com.google.android.apps.common.testing.ui.testapp.LongListMatchers.withItemSize [all...] |
/external/chromium_org/cc/layers/ |
ui_resource_layer_unittest.cc | 19 #include "testing/gmock/include/gmock/gmock.h" 20 #include "testing/gtest/include/gtest/gtest.h" 23 using ::testing::Mock; 24 using ::testing::_; 25 using ::testing::AtLeast; 26 using ::testing::AnyNumber; 31 class UIResourceLayerTest : public testing::Test {
|
/external/chromium_org/chrome/test/base/ |
chrome_unit_test_suite.cc | 16 #include "testing/gtest/include/gtest/gtest.h" 39 class ChromeUnitTestSuiteInitializer : public testing::EmptyTestEventListener { 44 virtual void OnTestStart(const testing::TestInfo& test_info) OVERRIDE { 58 virtual void OnTestEnd(const testing::TestInfo& test_info) OVERRIDE { 93 testing::TestEventListeners& listeners = 94 testing::UnitTest::GetInstance()->listeners();
|
/external/chromium_org/components/test/ |
run_all_unittests.cc | 11 #include "testing/gtest/include/gtest/gtest.h" 93 class ComponentsUnitTestEventListener : public testing::EmptyTestEventListener { 98 virtual void OnTestStart(const testing::TestInfo& test_info) OVERRIDE { 102 virtual void OnTestEnd(const testing::TestInfo& test_info) OVERRIDE { 119 testing::TestEventListeners& listeners = 120 testing::UnitTest::GetInstance()->listeners();
|
/external/chromium_org/extensions/browser/api/storage/ |
storage_api_unittest.cc | 62 testing::AssertionResult RunGetFunction(const std::string& key, 68 return testing::AssertionFailure() << "No result"; 71 return testing::AssertionFailure() << result << " was not a dictionary."; 73 return testing::AssertionFailure() << " could not retrieve a string from" 76 return testing::AssertionSuccess();
|
/external/chromium_org/remoting/protocol/ |
monitored_video_stub_unittest.cc | 12 #include "testing/gmock/include/gmock/gmock.h" 13 #include "testing/gtest/include/gtest/gtest.h" 15 using ::testing::_; 16 using ::testing::AnyNumber; 17 using ::testing::AtMost; 18 using ::testing::InvokeWithoutArgs; 25 class MonitoredVideoStubTest : public testing::Test {
|
/external/chromium_org/third_party/WebKit/Source/core/animation/ |
AnimatableValueTestHelperTest.cpp | 51 class AnimationAnimatableValueTestHelperTest : public ::testing::Test { 55 return ::testing::PrintToString(*animValue.get()); 63 testing::StartsWith("AnimatableClipPathOperation") 72 testing::StartsWith("AnimatableNeutral@")); 85 testing::StartsWith("AnimatableShapeValue@"));
|
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/ |
remote_ntp_time_estimator_unittest.cc | 11 #include "testing/gmock/include/gmock/gmock.h" 12 #include "testing/gtest/include/gtest/gtest.h" 17 using ::testing::_; 18 using ::testing::DoAll; 19 using ::testing::Return; 20 using ::testing::SetArgPointee; 30 class RemoteNtpTimeEstimatorTest : public ::testing::Test {
|
/frameworks/testing/espresso/espresso-lib/src/main/java/com/google/android/apps/common/testing/ui/espresso/base/ |
DefaultFailureHandler.java | 17 package com.google.android.apps.common.testing.ui.espresso.base; 22 import com.google.android.apps.common.testing.testrunner.inject.TargetContext; 23 import com.google.android.apps.common.testing.ui.espresso.EspressoException; 24 import com.google.android.apps.common.testing.ui.espresso.FailureHandler; 25 import com.google.android.apps.common.testing.ui.espresso.PerformException;
|
/external/chromium_org/chrome/browser/extensions/ |
extension_notification_observer.cc | 47 testing::AssertionResult ExtensionNotificationObserver::CheckNotifications() { 51 testing::AssertionResult ExtensionNotificationObserver::CheckNotifications( 56 testing::AssertionResult ExtensionNotificationObserver::CheckNotifications( 65 testing::AssertionResult ExtensionNotificationObserver::CheckNotifications( 76 testing::AssertionResult ExtensionNotificationObserver::CheckNotifications( 134 testing::AssertionResult ExtensionNotificationObserver::CheckNotifications( 136 testing::AssertionResult result = (notifications_ == types) ? 137 testing::AssertionSuccess() : 138 testing::AssertionFailure() << "Expected " << Str(types) << ", " <<
|