OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mocks
(Results
1 - 18
of
18
) sorted by null
/packages/apps/Contacts/tests/src/com/android/contacts/
ContactDetailTest.java
20
import com.android.contacts.tests.
mocks
.ContactsMockContext;
21
import com.android.contacts.tests.
mocks
.MockContentProvider;
ContactLoaderTest.java
23
import com.android.contacts.tests.
mocks
.ContactsMockContext;
24
import com.android.contacts.tests.
mocks
.MockAccountTypeManager;
25
import com.android.contacts.tests.
mocks
.MockContentProvider;
EntityModifierTests.java
35
import com.android.contacts.tests.
mocks
.ContactsMockContext;
36
import com.android.contacts.tests.
mocks
.MockAccountTypeManager;
37
import com.android.contacts.tests.
mocks
.MockContentProvider;
[
all
...]
/packages/apps/Contacts/tests/src/com/android/contacts/tests/mocks/
ContactsMockPackageManager.java
16
package com.android.contacts.tests.
mocks
;
MockContactPhotoManager.java
17
package com.android.contacts.tests.
mocks
;
ContactsMockContext.java
17
package com.android.contacts.tests.
mocks
;
MockAccountTypeManager.java
16
package com.android.contacts.tests.
mocks
;
MockSharedPreferences.java
17
package com.android.contacts.tests.
mocks
;
MockContentProvider.java
17
package com.android.contacts.tests.
mocks
;
/external/easymock/src/org/easymock/
EasyMock.java
[
all
...]
/packages/apps/Contacts/tests/src/com/android/contacts/interactions/
ContactDeletionInteractionTest.java
26
import com.android.contacts.tests.
mocks
.ContactsMockContext;
27
import com.android.contacts.tests.
mocks
.MockAccountTypeManager;
28
import com.android.contacts.tests.
mocks
.MockContentProvider;
29
import com.android.contacts.tests.
mocks
.MockContentProvider.Query;
PhoneNumberInteractionTest.java
21
import com.android.contacts.tests.
mocks
.ContactsMockContext;
22
import com.android.contacts.tests.
mocks
.MockContentProvider;
23
import com.android.contacts.tests.
mocks
.MockContentProvider.Query;
/packages/apps/Contacts/tests/src/com/android/contacts/activities/
PeopleActivityTest.java
30
import com.android.contacts.tests.
mocks
.ContactsMockContext;
31
import com.android.contacts.tests.
mocks
.MockAccountTypeManager;
32
import com.android.contacts.tests.
mocks
.MockContactPhotoManager;
33
import com.android.contacts.tests.
mocks
.MockContentProvider;
34
import com.android.contacts.tests.
mocks
.MockContentProvider.Query;
35
import com.android.contacts.tests.
mocks
.MockSharedPreferences;
/external/android-mock/src/com/google/android/testing/mocking/
AndroidFrameworkMockGenerator.java
37
* This class will pull pre-defined
mocks
for Android framework classes. This is
66
throw new ClassNotFoundException("Missing class while fetching prebuilt
mocks
: "
87
* @return a List of {@link GeneratedClassFile} objects representing the
mocks
for the specified
93
List<GeneratedClassFile>
mocks
= new ArrayList<GeneratedClassFile>();
local
94
mocks
.addAll(mockGenerator.createMocksForClass(clazz, version));
95
return
mocks
;
167
throw new RuntimeException("Internal error generating framework
mocks
", e);
AndroidMock.java
[
all
...]
/external/android-mock/tests/com/google/android/testing/mocking/
AndroidFrameworkMockGeneratorTest.java
145
List<GeneratedClassFile>
mocks
= mockGenerator.getMocksForClass(Vector.class);
local
160
assertEquals(expectedClassNames.length,
mocks
.size());
161
for (int i = 0; i <
mocks
.size(); ++i) {
162
assertEquals(expectedClassNames[i],
mocks
.get(i).getClassName());
/cts/tools/tradefed-host/tests/src/com/android/cts/tradefed/testtype/
CtsTestTest.java
333
private void replayMocks(Object...
mocks
) {
336
EasyMock.replay(
mocks
);
339
private void verifyMocks(Object...
mocks
) {
342
EasyMock.verify(
mocks
);
/packages/apps/Contacts/tests/src/com/android/contacts/editor/
ContactEditorUtilsTest.java
22
import com.android.contacts.tests.
mocks
.MockAccountTypeManager;
Completed in 132 milliseconds