Home
last modified time | relevance | path

Searched defs:spy (Results 1 – 14 of 14) 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
172 Foo spy = spy(new Foo() { in shouldAllowSpyingAnonymousClasses() local
186 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/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/mockito/src/test/java/org/mockitousage/bugs/
DImplementationOfGenericAbstractMethodNotInvokedOnSpyTest.java30 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/
DSpyOn.java83 TestClass spy = spy(original); in spiesAreUsuallyClones() local
/external/mockito/src/test/java/org/mockitousage/strictness/
DStrictnessPerStubbingTest.java188 final Counter spy = spy(Counter.class); in doNothing_syntax() 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.java1978 public static <T> T spy(T object) { in spy() method in Mockito
2013 public static <T> T spy(Class<T> classToSpy) { in spy() method in Mockito
/external/javapoet/src/test/java/com/squareup/javapoet/
DClassNameTest.java134 TypeElement spy = Mockito.spy(object); in preventGetKind() local
/external/mockito/src/test/java/org/mockitousage/basicapi/
DMocksSerializationForAnnotationTest.java257 SerializableSample spy = mock(SerializableSample.class, withSettings() in should_serialize_with_real_object_spy() local
DMocksSerializationTest.java279 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/
DDfpMath.java347 Dfp[] spy = new Dfp[2]; in log() local