/external/mockito/src/test/java/org/mockitousage/annotation/ |
D | SpyInjectionTest.java | 18 @Spy List<Object> spy = new LinkedList<Object>(); field in SpyInjectionTest 22 private List<?> spy; field in SpyInjectionTest.HasSpy 23 public void setSpy(List<?> spy) { in setSpy()
|
/external/mockito/src/test/java/org/mockitousage/spies/ |
D | SpyingOnRealObjectsTest.java | 29 List<String> spy = Mockito.spy(list); field in SpyingOnRealObjectsTest 172 Foo spy = spy(new Foo() { in shouldAllowSpyingAnonymousClasses() local 186 List<String> spy = spy(real); in shouldSayNiceMessageWhenSpyingOnPrivateClass() local
|
D | StubbingSpiesDoesNotYieldNPETest.java | 35 Foo spy = spy(foo); in shouldNotThrowNPE() local
|
D | PartialMockingWithSpiesTest.java | 69 Person spy = spy(new Person()); field in PartialMockingWithSpiesTest
|
/external/guava/android/guava-tests/test/com/google/common/util/concurrent/ |
D | JdkFutureAdaptersTest.java | 81 ExecutorSpy spy = new ExecutorSpy(directExecutor()); in testListenInPoolThreadIgnoresExecutorWhenDelegateIsDone() local 107 ExecutorSpy spy = new ExecutorSpy(executorService); in testListenInPoolThreadUsesGivenExecutor() local
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | JdkFutureAdaptersTest.java | 81 ExecutorSpy spy = new ExecutorSpy(directExecutor()); in testListenInPoolThreadIgnoresExecutorWhenDelegateIsDone() local 107 ExecutorSpy spy = new ExecutorSpy(executorService); in testListenInPoolThreadUsesGivenExecutor() local
|
/external/mockito/src/test/java/org/mockitousage/bugs/ |
D | ImplementationOfGenericAbstractMethodNotInvokedOnSpyTest.java | 30 GenericAbstract<Number> spy = spy(new ImplementsGenericMethodOfAbstract<Number>()); in should_invoke_method_to_implement() local
|
/external/dexmaker/dexmaker-mockito-inline-extended-tests/src/main/java/com/android/dx/mockito/inline/extended/tests/ |
D | SpyOn.java | 83 TestClass spy = spy(original); in spiesAreUsuallyClones() local
|
/external/mockito/src/test/java/org/mockitousage/strictness/ |
D | StrictnessPerStubbingTest.java | 188 final Counter spy = spy(Counter.class); in doNothing_syntax() local
|
/external/mockito/src/main/java/org/mockito/ |
D | Mockito.java | 1988 public static <T> T spy(T object) { in spy() method in Mockito 2023 public static <T> T spy(Class<T> classToSpy) { in spy() method in Mockito
|
/external/guava/android/guava-tests/test/com/google/common/io/ |
D | AppendableWriterTest.java | 93 SpyAppendable spy = new SpyAppendable(); in testCloseFlush() local
|
/external/guava/guava-tests/test/com/google/common/io/ |
D | AppendableWriterTest.java | 93 SpyAppendable spy = new SpyAppendable(); in testCloseFlush() local
|
/external/javapoet/src/test/java/com/squareup/javapoet/ |
D | ClassNameTest.java | 134 TypeElement spy = Mockito.spy(object); in preventGetKind() local
|
/external/mockito/src/test/java/org/mockitousage/basicapi/ |
D | MocksSerializationForAnnotationTest.java | 257 SerializableSample spy = mock(SerializableSample.class, withSettings() in should_serialize_with_real_object_spy() local
|
D | MocksSerializationTest.java | 279 SerializableClass spy = mock(SerializableClass.class, withSettings() in should_serialize_with_real_object_spy() local
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/dfp/ |
D | DfpMath.java | 347 Dfp[] spy = new Dfp[2]; in log() local
|