Searched defs:isMock (Results 1 - 14 of 14) sorted by relevance

/external/mockito/src/main/java/org/mockito/
H A DMockingDetails.java25 * Informs if the object is a mock. isMock() for null input returns false.
30 boolean isMock(); method in interface:MockingDetails
/external/mockito/src/main/java/org/mockito/internal/creation/bytebuddy/
H A DMockMethodDispatcher.java30 public abstract boolean isMock(Object instance); method in class:MockMethodDispatcher
H A DMockMethodAdvice.java117 public boolean isMock(Object instance) { method in class:MockMethodAdvice
125 return selfCallInfo.checkSuperCall(instance) && isMock(instance);
283 return dispatcher != null && dispatcher.isMock(self);
304 return dispatcher != null && dispatcher.isMock(self);
/external/mockito/src/main/java/org/mockito/internal/util/
H A DDefaultMockingDetails.java34 public boolean isMock(){ method in class:DefaultMockingDetails
35 return MockUtil.isMock(toInspect);
90 } else if (!isMock()) {
H A DMockUtil.java58 if (isMock(mock)) {
70 return isMock(mock) && getMockSettings(mock).getDefaultAnswer() == Mockito.CALLS_REAL_METHODS;
73 public static boolean isMock(Object mock) { method in class:MockUtil
76 // The frequent pattern in the codebase are separate calls to: 1) isMock(mock) then 2) getMockHandler(mock)
77 // We could replace it with using mockingDetails().isMock()
/external/dexmaker/dexmaker-mockito-inline-dispatcher/src/main/java/com/android/dx/mockito/inline/
H A DMockMethodDispatcher.java86 * Calls {@code MockMethodAdvice#isMock}
88 public boolean isMock(Object instance) { method in class:MockMethodDispatcher
90 return (Boolean) mAdvice.getClass().getMethod("isMock", Object.class).invoke(mAdvice,
/external/dexmaker/dexmaker-mockito-inline/src/main/java/com/android/dx/mockito/inline/
H A DMockMethodAdvice.java210 public boolean isMock(Object instance) { method in class:MockMethodAdvice
215 * Check if this method call should be mocked. Usually the same as {@link #isMock(Object)} but
226 return selfCallInfo.shouldMockMethod(instance) && isMock(instance);
/external/robolectric/v1/lib/test/
H A Dmockito-core-1.8.5.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/mockito/ org/mockito/asm/ org/mockito/asm/signature/ ...
/external/robolectric/v3/runtime/
H A Dandroid-all-4.1.2_r1-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.2.2_r1.2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.3_r2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...
H A Dandroid-all-5.0.0_r2-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...
H A Dandroid-all-5.1.1_r9-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...

Completed in 918 milliseconds