Home
last modified time | relevance | path

Searched defs:spy (Results 1 – 11 of 11) sorted by relevance

/external/mockito/src/test/java/org/mockitousage/annotation/
DSpyInjectionTest.java18 @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/
DSpyingOnRealObjectsTest.java29 List<String> spy = Mockito.spy(list); field in SpyingOnRealObjectsTest
171 Foo spy = spy(new Foo() { in shouldAllowSpyingAnonymousClasses() local
185 List<String> spy = spy(real); in shouldSayNiceMessageWhenSpyingOnPrivateClass() local
DStubbingSpiesDoesNotYieldNPETest.java35 Foo spy = spy(foo); in shouldNotThrowNPE() local
DPartialMockingWithSpiesTest.java69 Person spy = spy(new Person()); field in PartialMockingWithSpiesTest
/external/mockito/src/test/java/org/mockitousage/bugs/
DImplementationOfGenericAbstractMethodNotInvokedOnSpyTest.java26 GenericAbstract<Number> spy = spy(new ImplementsGenericMethodOfAbstract<Number>()); in should_invoke_method_to_implement() local
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DJdkFutureAdaptersTest.java59 ExecutorSpy spy = new ExecutorSpy(directExecutor()); in testListenInPoolThreadIgnoresExecutorWhenDelegateIsDone() local
87 ExecutorSpy spy = new ExecutorSpy(executorService); in testListenInPoolThreadUsesGivenExecutor() local
/external/guava/guava-tests/test/com/google/common/io/
DAppendableWriterTest.java88 SpyAppendable spy = new SpyAppendable(); in testCloseFlush() local
/external/mockito/src/main/java/org/mockito/
DMockito.java1787 public static <T> T spy(T object) { in spy() method in Mockito
1821 public static <T> T spy(Class<T> classToSpy) { in spy() method in Mockito
/external/mockito/src/test/java/org/mockitousage/basicapi/
DMocksSerializationForAnnotationTest.java258 List<Object> spy = mock(ArrayList.class, withSettings() in should_serialize_with_real_object_spy() local
DMocksSerializationTest.java279 List<Object> spy = mock(ArrayList.class, withSettings() in should_serialize_with_real_object_spy() local
/external/apache-commons-math/src/main/java/org/apache/commons/math/dfp/
DDfpMath.java347 Dfp[] spy = new Dfp[2]; in log() local