HomeSort by relevance Sort by last modified time
    Searched defs:mock (Results 76 - 100 of 114) sorted by null

1 2 34 5

  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/mock/
MockXmlNode.java 17 package com.android.ide.eclipse.adt.internal.editors.mock;
30 * A mock XML node with only a minimal set of information.
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/
EnumTest.java 232 MockEnum mock = new MockEnum(); local
233 MockEnum test = (MockEnum) SerializationTest.copySerializable(mock);
234 assertEquals(mock.i, test.i);
235 assertEquals(mock.str, test.str);
236 assertEquals(mock.samEnum, test.samEnum);
  /libcore/harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/spi/
AbstractSelectableChannelTest.java 277 MockSelectableChannel mock = new MockSelectableChannel(SelectorProvider local
281 mock.configureBlocking(true);
282 assertFalse(mock.implConfigureBlockingCalled);
283 mock.configureBlocking(false);
284 assertTrue(mock.implConfigureBlockingCalled);
  /packages/apps/UnifiedEmail/tests/src/com/android/mail/providers/protos/mock/
MockUiProviderTests.java 17 package com.android.mail.providers.protos.mock;
  /external/chromium/testing/gmock/test/
gmock-actions_test.cc 32 // Google Mock - a framework for writing C++ mock classes.
612 // Tests that DoDefault() does the default action for the mock method.
630 MockClass mock; local
631 EXPECT_CALL(mock, IntFunc(_))
633 EXPECT_EQ(0, mock.IntFunc(true));
639 MockClass mock; local
640 EXPECT_CALL(mock, Foo())
643 mock.Foo();
653 MockClass mock; local
671 MockClass mock; local
680 MockClass mock; local
690 MockClass mock; local
    [all...]
  /external/chromium-trace/trace-viewer/third_party/pywebsocket/src/test/
test_msgutil.py 54 from test import mock namespace
83 req = mock.MockRequest(connection=mock.MockConn(''.join(read_data)))
125 req = mock.MockRequest(connection=mock.MockBlockingConn())
133 req = mock.MockRequest(connection=mock.MockConn(read_data))
139 req = mock.MockRequest(connection=mock.MockBlockingConn())
    [all...]
  /frameworks/base/test-runner/src/android/test/mock/
MockContext.java 17 package android.test.mock;
53 * A mock {@link android.content.Context} class. All methods are non-functional and throw
MockPackageManager.java 17 package android.test.mock;
55 * A mock {@link android.content.pm.PackageManager} class. All methods are non-functional and throw
  /packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/mock/
MockUiProvider.java 17 package com.android.mail.providers.protos.mock;
190 "account1@mock.com, account2@mock.com");
262 messageMap.put(MessageColumns.TO, "account1@mock.com, account2@mock.com");
263 messageMap.put(MessageColumns.FROM, "fromaccount1@mock.com");
305 // Temporarily made this public to allow the Gmail accounts to use the mock ui provider uris
311 accountMap.put(AccountColumns.TYPE, "com.android.mail.providers.protos.mock");
356 accountMap.put(AccountColumns.MIME_TYPE, "account/mock");
  /prebuilts/tools/common/easymock-tools/
easymock-3.1.jar 
easymock-3.1-samples.jar 
  /prebuilts/tools/common/m2/internal/org/easymock/easymock/3.1/
easymock-3.1.jar 
  /external/android-mock/tests/com/google/android/testing/mocking/
AndroidMockTest.java 457 ClassDoesWorkInConstructor mock = AndroidMock.createMock(ClassDoesWorkInConstructor.class); local
    [all...]
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
HashMapTest.java 251 MockClonable mock = new MockClonable(1); local
252 hashmap.put(1, mock);
256 mock.i = 0;
  /external/chromium_org/chrome/browser/apps/
web_view_browsertest.cc 264 // Mock out geolocation for geolocation specific tests.
1505 MockWebContentsDelegate* mock = new MockWebContentsDelegate; local
    [all...]
  /external/chromium_org/chrome/third_party/mock4js/
mock4js.js 16 // mock creation
17 object.mock = function(mockedType) {
19 throw new Mock4JSException("Cannot create mock: type to mock cannot be found or is null");
21 var newMock = new Mock(mockedType);
497 * Mock
499 function Mock(mockedType) {
501 throw new Mock4JSException("Unable to create Mock: must create Mock using a class not prototype, eg. 'new Mock(TypeToMock)' or using the convenience method 'mock(TypeToMock)'");
14 }, function
    [all...]
  /libcore/luni/src/test/java/libcore/java/sql/
OldPreparedStatementTest.java 2078 Blob mock = new MockBlob(); local
2092 Clob mock = new MockClob(); local
2197 Ref mock = new MockRef(); local
    [all...]
  /libcore/luni/src/test/java/tests/api/java/util/
HashMapTest.java 171 MockClonable mock = new MockClonable(1); local
172 hashmap.put(1, mock);
176 mock.i = 0;
  /external/littlemock/tests/com/google/testing/littlemock/
LittleMockTest.java 44 import static com.google.testing.littlemock.LittleMock.mock;
78 @Mock private Foo mFoo;
79 @Mock private Bar mBar;
80 @Mock private BarSubtype mBarSubtype;
880 // call on the mock object.
928 @Mock protected Foo outerMock;
931 @Mock protected Foo innerMock;
1562 Jim mock = mock(Jim.class); local
    [all...]
  /packages/apps/Email/tests/src/com/android/email/mail/store/
ImapStoreUnitTests.java 101 /** The tag for the current IMAP command; used for mock transport responses */
296 // Prepare mock result
471 // configure mock server to return malformed ID response
524 * TODO: Test this with multiple folders provided by mock server
557 // Create mock transport and inject it into the ImapStore that's already set up
560 mockTransport.setHost("mock.server.com");
566 * Helper which stuffs the mock with enough strings to satisfy a call to ImapFolder.open()
568 * @param mockTransport the mock transport we're using
575 * Helper which stuffs the mock with enough strings to satisfy a call to ImapFolder.open()
577 * @param mockTransport the mock transport we're usin
715 MockTransport mock = openAndInjectMockTransport(); local
726 MockTransport mock = openAndInjectMockTransport(); local
736 MockTransport mock = openAndInjectMockTransport(); local
752 MockTransport mock = openAndInjectMockTransport(); local
766 final MockTransport mock = openAndInjectMockTransport(); local
807 final MockTransport mock = openAndInjectMockTransport(); local
846 final MockTransport mock = openAndInjectMockTransport(); local
968 final MockTransport mock = openAndInjectMockTransport(); local
991 final MockTransport mock = openAndInjectMockTransport(); local
1014 MockTransport mock = openAndInjectMockTransport(); local
1064 MockTransport mock = openAndInjectMockTransport(); local
1121 MockTransport mock = openAndInjectMockTransport(); local
1182 MockTransport mock = openAndInjectMockTransport(); local
1198 MockTransport mock = openAndInjectMockTransport(); local
1232 MockTransport mock = openAndInjectMockTransport(); local
1260 MockTransport mock = openAndInjectMockTransport(); local
1447 MockTransport mock = openAndInjectMockTransport(); local
1508 MockTransport mock = openAndInjectMockTransport(); local
1535 MockTransport mock = openAndInjectMockTransport(); local
1792 MockTransport mock = openAndInjectMockTransport(); local
1806 MockTransport mock = openAndInjectMockTransport(); local
1821 MockTransport mock = openAndInjectMockTransport(); local
1850 MockTransport mock = openAndInjectMockTransport(); local
1911 MockTransport mock = openAndInjectMockTransport(); local
1935 MockTransport mock = openAndInjectMockTransport(); local
1964 MockTransport mock = openAndInjectMockTransport(); local
1988 MockTransport mock = openAndInjectMockTransport(); local
2055 MockTransport mock = openAndInjectMockTransport(); local
2076 MockTransport mock = openAndInjectMockTransport(); local
2103 final MockTransport mock = openAndInjectMockTransport(); local
2141 MockTransport mock = openAndInjectMockTransport(); local
    [all...]
  /external/dexmaker/lib/
mockito-core-1.9.1-SNAPSHOT.jar 
  /external/robolectric/lib/test/
mockito-core-1.8.5.jar 
  /prebuilts/misc/common/groovy/
groovy-all-1.7.0.jar 
  /prebuilts/sdk/10/
android.jar 
  /prebuilts/sdk/11/
android.jar 

Completed in 1311 milliseconds

1 2 34 5