HomeSort by relevance Sort by last modified time
    Searched defs:mocks (Results 1 - 25 of 28) sorted by null

1 2

  /packages/apps/ContactsCommon/TestCommon/src/com/android/contacts/common/test/mocks/
ContactsMockPackageManager.java 16 package com.android.contacts.common.test.mocks;
MockAccountTypeManager.java 16 package com.android.contacts.common.test.mocks;
MockContactPhotoManager.java 17 package com.android.contacts.common.test.mocks;
ContactsMockContext.java 17 package com.android.contacts.common.test.mocks;
MockSharedPreferences.java 17 package com.android.contacts.common.test.mocks;
MockContentProvider.java 17 package com.android.contacts.common.test.mocks;
  /external/mockito/src/org/mockito/internal/configuration/injection/scanner/
MockScanner.java 19 * Scan mocks, and prepare them if needed.
41 * The preparation of mocks consists only in defining a MockName if not already set.
44 * @param mocks Set of mocks
46 public void addPreparedMocks(Set<Object> mocks) {
47 mocks.addAll(scan());
51 * Scan and prepare mocks for the given <code>testClassInstance</code> and <code>clazz</code> in the type hierarchy.
56 Set<Object> mocks = newMockSafeHashSet(); local
63 mocks.add(mockInstance);
66 return mocks;
    [all...]
  /external/mockito/src/org/mockito/internal/configuration/
InjectingAnnotationEngine.java 39 * Process the fields of the test instance and create Mocks, Spies, Captors and inject them on fields
45 * <li>First create Mocks, Spies, Captors.</li>
70 //this will create @Mocks, @Captors, etc:
92 Set<Object> mocks = newMockSafeHashSet(); local
96 new MockScanner(testClassInstance, clazz).addPreparedMocks(mocks);
100 new DefaultInjectionEngine().injectMocksOnFields(mockDependentFields, mocks, testClassInstance);
  /frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
PhoneSwitcherMock.java 17 package com.android.internal.telephony.mocks;
SubscriptionMonitorMock.java 17 package com.android.internal.telephony.mocks;
DcTrackerMock.java 17 package com.android.internal.telephony.mocks;
SubscriptionControllerMock.java 17 package com.android.internal.telephony.mocks;
TelephonyRegistryMock.java 17 package com.android.internal.telephony.mocks;
ConnectivityServiceMock.java 17 package com.android.internal.telephony.mocks;
    [all...]
  /external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/test/
AbstractTestCase.java 64 private Map mocks = new HashMap(); field in class:AbstractTestCase
76 mocks.put(mock, control);
92 * Put all mocks created with createMock() into replay mode.
95 for (Iterator iter = mocks.keySet().iterator(); iter.hasNext();) {
113 * Verify all mocks created with createMock() into replay mode.
116 for (Iterator iter = mocks.keySet().iterator(); iter.hasNext();) {
132 MockControl control = (MockControl) mocks.get(mock);
  /external/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/test/
AbstractTest.java 65 private Map mocks = new HashMap(); field in class:AbstractTest
76 mocks.put(mock, control);
91 * Put all mocks created with createMock() into replay mode.
94 for (Iterator iter = mocks.keySet().iterator(); iter.hasNext();) {
110 * Verify all mocks created with createMock() into replay mode.
113 for (Iterator iter = mocks.keySet().iterator(); iter.hasNext();) {
128 MockControl control = (MockControl) mocks.get(mock);
  /external/mockito/src/org/mockito/internal/configuration/injection/
MockInjection.java 21 * Allow the user of this class to configure the way the injection of mocks will happen.
56 private Set<Object> mocks = newMockSafeHashSet(); field in class:MockInjection.OngoingMockInjection
70 public OngoingMockInjection withMocks(Set<Object> mocks) {
71 this.mocks.addAll(checkNotNull(mocks, "mocks"));
92 injectionStrategies.process(field, fieldOwner, mocks);
93 postInjectionStrategies.process(field, fieldOwner, mocks);
  /prebuilts/tools/common/easymock-tools/
easymock-3.1.jar 
  /prebuilts/tools/common/m2/repository/org/easymock/easymock/2.4/
easymock-2.4.jar 
  /prebuilts/tools/common/m2/repository/org/easymock/easymock/3.1/
easymock-3.1.jar 
  /external/guice/lib/build/
easymock.jar 
  /prebuilts/tools/common/m2/repository/org/mockito/mockito-all/1.9.5/
mockito-all-1.9.5.jar 
  /prebuilts/tools/common/m2/repository/org/mockito/mockito-core/1.9.5/
mockito-core-1.9.5.jar 
  /external/dexmaker/lib/
mockito-core-1.9.1-SNAPSHOT.jar 
  /prebuilts/devtools/tools/lib/
easymock-3.3.jar 

Completed in 405 milliseconds

1 2