Home
last modified time | relevance | path

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

/external/mockito-kotlin/mockito-kotlin/src/main/kotlin/org/mockito/kotlin/
DSpying.kt35 inline fun <reified T : Any> spy(): T { in spy() method
43 inline fun <reified T : Any> spy(stubbing: KStubbing<T>.(T) -> Unit): T { in spy() method
51 fun <T> spy(value: T): T { in spy() method
59 inline fun <reified T> spy(value: T, stubbing: KStubbing<T>.(T) -> Unit): T { in spy() method
/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/mobile-data-download/javatests/com/google/android/libraries/mobiledatadownload/file/common/internal/
DLazyByteArrayInputStreamTest.java38 SpyCallable<byte[]> spy = new SpyCallable<byte[]>(CONTENT_CALLABLE); in callableIsCalledLazilyExactlyOnce() local
68 SpyCallable<byte[]> spy = new SpyCallable<byte[]>(CONTENT_CALLABLE); in available_onStreamThatHasNotBeenRead_returnsZero() local
85 SpyCallable<byte[]> spy = new SpyCallable<byte[]>(CONTENT_CALLABLE); in close_callsCallable() local
/external/mockito-kotlin/tests/src/test/kotlin/test/
DStubberTest.kt33 val spy = spy(Open()) in testDoNothing() constant
/external/guava/android/guava-tests/test/com/google/common/util/concurrent/
DJdkFutureAdaptersTest.java81 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/
DJdkFutureAdaptersTest.java81 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/
DImplementationOfGenericAbstractMethodNotInvokedOnSpyTest.java30 GenericAbstract<Number> spy = spy(new ImplementsGenericMethodOfAbstract<Number>()); in should_invoke_method_to_implement() local
/external/python/pyserial/documentation/
Durl_handlers.rst126 .. _spy: target in ``hwgrep://``
/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/pigweed/ts/transport/
Dweb_serial_transport_test.ts95 const spy = jest.spyOn(serialMock, 'requestPort').mockImplementation(() => { constant
/external/mockito/src/main/java/org/mockito/
DMockito.java1988 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/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.java93 SpyAppendable spy = new SpyAppendable(); in testCloseFlush() local
/external/guava/android/guava-tests/test/com/google/common/io/
DAppendableWriterTest.java93 SpyAppendable spy = new SpyAppendable(); in testCloseFlush() local
/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
/external/python/setuptools/setuptools/_vendor/more_itertools/
Dmore.py946 def spy(iterable, n=1): function
/external/python/setuptools/pkg_resources/_vendor/more_itertools/
Dmore.py1038 def spy(iterable, n=1): function