/external/mockito-kotlin/mockito-kotlin/src/main/kotlin/org/mockito/kotlin/ |
D | Spying.kt | 35 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/ |
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/mobile-data-download/javatests/com/google/android/libraries/mobiledatadownload/file/common/internal/ |
D | LazyByteArrayInputStreamTest.java | 38 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/ |
D | StubberTest.kt | 33 val spy = spy(Open()) in testDoNothing() constant
|
/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/python/pyserial/documentation/ |
D | url_handlers.rst | 126 .. _spy: target in ``hwgrep://``
|
/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/pigweed/ts/transport/ |
D | web_serial_transport_test.ts | 95 const spy = jest.spyOn(serialMock, 'requestPort').mockImplementation(() => { constant
|
/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/mockito/src/test/java/org/mockitousage/strictness/ |
D | StrictnessPerStubbingTest.java | 188 final Counter spy = spy(Counter.class); in doNothing_syntax() local
|
/external/guava/guava-tests/test/com/google/common/io/ |
D | AppendableWriterTest.java | 93 SpyAppendable spy = new SpyAppendable(); in testCloseFlush() local
|
/external/guava/android/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
|
/external/python/setuptools/setuptools/_vendor/more_itertools/ |
D | more.py | 946 def spy(iterable, n=1): function
|
/external/python/setuptools/pkg_resources/_vendor/more_itertools/ |
D | more.py | 1038 def spy(iterable, n=1): function
|