/external/webkit/Source/WebKit/chromium/tests/ |
CCThreadTaskTest.cpp | 37 class Mock { 48 Mock mock; local 49 EXPECT_CALL(mock, method0()).Times(1); 50 EXPECT_CALL(mock, method1(9)).Times(1); 51 EXPECT_CALL(mock, method2(9, 8)).Times(1); 52 EXPECT_CALL(mock, method3(9, 8, 7)).Times(1); 53 EXPECT_CALL(mock, method4(9, 8, 7, 6)).Times(1); 55 createCCThreadTask(&mock, &Mock::method0)->performTask() [all...] |
/frameworks/base/test-runner/src/android/test/mock/ |
MockDialogInterface.java | 3 package android.test.mock; 8 * A mock {@link android.content.DialogInterface} class. All methods are non-functional and throw
|
MockApplication.java | 17 package android.test.mock; 23 * A mock {@link android.app.Application} class. All methods are non-functional and throw
|
MockContentResolver.java | 17 package android.test.mock;
|
MockIContentProvider.java | 17 package android.test.mock; 36 * Mock implementation of IContentProvider. All methods are non-functional and throw 44 throw new UnsupportedOperationException("unimplemented mock method"); 50 throw new UnsupportedOperationException("unimplemented mock method"); 54 throw new UnsupportedOperationException("unimplemented mock method"); 59 throw new UnsupportedOperationException("unimplemented mock method"); 63 throw new UnsupportedOperationException("unimplemented mock method"); 67 throw new UnsupportedOperationException("unimplemented mock method"); 71 throw new UnsupportedOperationException("unimplemented mock method"); 76 throw new UnsupportedOperationException("unimplemented mock method") [all...] |
MockContentProvider.java | 17 package android.test.mock; 40 * Mock implementation of ContentProvider. All methods are non-functional and throw 149 * @param context A Context object which should be some mock instance (like the 150 * instance of {@link android.test.mock.MockContext}). 167 throw new UnsupportedOperationException("unimplemented mock method"); 172 throw new UnsupportedOperationException("unimplemented mock method"); 177 throw new UnsupportedOperationException("unimplemented mock method"); 182 throw new UnsupportedOperationException("unimplemented mock method"); 188 throw new UnsupportedOperationException("unimplemented mock method"); 193 throw new UnsupportedOperationException("unimplemented mock method") [all...] |
MockResources.java | 17 package android.test.mock; 35 * A mock {@link android.content.res.Resources} class. All methods are non-functional and throw 52 throw new UnsupportedOperationException("mock object, not implemented"); 57 throw new UnsupportedOperationException("mock object, not implemented"); 62 throw new UnsupportedOperationException("mock object, not implemented"); 67 throw new UnsupportedOperationException("mock object, not implemented"); 73 throw new UnsupportedOperationException("mock object, not implemented"); 78 throw new UnsupportedOperationException("mock object, not implemented"); 83 throw new UnsupportedOperationException("mock object, not implemented"); 88 throw new UnsupportedOperationException("mock object, not implemented") [all...] |
/external/apache-harmony/beans/src/test/support/java/org/apache/harmony/beans/tests/support/mock/ |
MockFakeEvent.java | 18 package org.apache.harmony.beans.tests.support.mock;
|
MockPropertyChangeEvent.java | 18 package org.apache.harmony.beans.tests.support.mock; 23 * This is a mock class for EventSetDescriptor testing
|
MockPropertyChangeListener2.java | 18 package org.apache.harmony.beans.tests.support.mock; 28 org.apache.harmony.beans.tests.support.mock.MockPropertyChangeEvent e);
|
MockPropertyChangeListener.java | 18 package org.apache.harmony.beans.tests.support.mock;
|
MockPropertyChangeValidListener.java | 18 package org.apache.harmony.beans.tests.support.mock;
|
/external/apache-harmony/beans/src/test/support/java/org/apache/harmony/beans/tests/support/beancontext/mock/ |
MockPropertyChangeListener.java | 18 package org.apache.harmony.beans.tests.support.beancontext.mock; 24 * Mock of PropertyChangeListener
|
MockPropertyChangeListenerS.java | 18 package org.apache.harmony.beans.tests.support.beancontext.mock; 25 * Mock of PropertyChangeListener
|
/external/chromium/base/ |
gmock_unittest.cc | 6 // correctly. It just instantiates a mock object and runs through a couple of 7 // the basic mock features. 22 // Simple class that we can mock out the behavior for. Everything is virtual 44 // Declare a mock for the class. 54 // more complex behavior into your mock...though if you start needing these, ask 55 // if you're asking your mock to do too much. 68 MockSampleClass mock; local 70 EXPECT_CALL(mock, ReturnSomething()) 74 EXPECT_EQ(1, mock.ReturnSomething()); 75 EXPECT_EQ(2, mock.ReturnSomething()) 85 MockSampleClass mock; local 97 MockSampleClass mock; local 112 MockSampleClass mock; local 126 MockSampleClass mock; local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/mock/ |
MockNodeList.java | 17 package com.android.ide.eclipse.adt.internal.editors.mock; 26 * A quick mock implementation of NodeList on top of ArrayList.
|
MockNamedNodeMap.java | 17 package com.android.ide.eclipse.adt.internal.editors.mock;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/mock/ |
TestLogger.java | 17 package com.android.ide.eclipse.mock;
|
Mocks.java | 17 package com.android.ide.eclipse.mock; 110 * Creates a mock implementation of {@link IFile}. 127 * Creates a mock implementation of {@link IFolder}. 145 * Mock implementation of {@link IProject}. 162 * Creates a mock implementation of an {@link IClasspathEntry}, which supports
|
/sdk/sdkmanager/libs/sdklib/tests/src/com/android/sdklib/mock/ |
MockLog.java | 17 package com.android.sdklib.mock;
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/ |
AuthenticatorTest.java | 77 MockAuthenticator mock = new MockAuthenticator(); local 79 Authenticator.setDefault(mock); 81 assertEquals(mock.getRequestorType(), RequestorType.SERVER); 89 MockAuthenticator mock = new MockAuthenticator(); local 91 Authenticator.setDefault(mock); 93 assertEquals(mock.getRequestorType(), RequestorType.SERVER); 103 MockAuthenticator mock = new MockAuthenticator(); local 108 assertNull(mock.getRequestingURL()); 109 assertNull(mock.getRequestorType()); 117 MockAuthenticator mock = new MockAuthenticator() local 126 MockAuthenticator mock = new MockAuthenticator(); local [all...] |
/libcore/luni/src/test/java/libcore/java/net/ |
OldAuthenticatorTest.java | 34 MockAuthenticator mock = new MockAuthenticator(); local 35 Authenticator.setDefault(mock);
|
/external/chromium/testing/gmock/test/ |
gmock-generated-function-mockers_test.cc | 32 // Google Mock - a framework for writing C++ mock classes. 51 // mock for a function with const arguments, so we don't test such 119 // Makes sure that a mock function parameter can be named. 124 // Makes sure that a mock function parameter can be unnamed. 369 // Tests that template mock works. 371 MockStack<int> mock; local 373 EXPECT_CALL(mock, GetSize()) 377 EXPECT_CALL(mock, Push(_)); 379 EXPECT_CALL(mock, GetTop() 424 MockStackWithCallType<int> mock; local 462 MockOverloadedOnArgNumber mock; local 487 MockOverloadedOnConstness mock; local [all...] |
gmock-internal-utils_test.cc | 32 // Google Mock - a framework for writing C++ mock classes. 521 DummyMock mock; local 522 EXPECT_CALL(mock, TestMethod()); 523 mock.TestMethod(); 529 HasSubstr("EXPECT_CALL(mock, TestMethod())")); 545 DummyMock mock; local 546 ON_CALL(mock, TestMethod()); 552 HasSubstr("ON_CALL(mock, TestMethod())")); 568 DummyMock mock; local [all...] |
gmock_link_test.h | 32 // Google Mock - a framework for writing C++ mock classes. 35 // a. A header file defining a mock class can be included in multiple 104 // This test requires identical definitions of Interface and Mock to be 109 // definitions of Interface and Mock tests MUST be kept in the SAME 205 class Mock: public Interface { 207 Mock() {} 220 GTEST_DISALLOW_COPY_AND_ASSIGN_(Mock); 243 Mock mock; local 251 Mock mock; local 260 Mock mock; local 268 Mock mock; local 277 Mock mock; local 286 Mock mock; local 295 Mock mock; local 308 Mock mock; local 320 Mock mock; local 332 Mock mock; local 345 Mock mock; local 354 Mock mock; local 363 Mock mock; local 372 Mock mock; local 380 Mock mock; local 390 Mock mock; local 400 Mock mock; local 409 Mock mock; local 432 Mock mock; local 444 Mock mock; local 462 Mock mock; local 472 Mock mock; local 479 Mock mock; local 486 Mock mock; local 496 Mock mock; local 507 Mock mock; local 514 Mock mock; local 521 Mock mock; local 529 Mock mock; local 538 Mock mock; local 550 Mock mock; local 557 Mock mock; local 564 Mock mock; local 573 Mock mock; local 582 Mock mock; local 589 Mock mock; local 597 Mock mock; local [all...] |