HomeSort by relevance Sort by last modified time
    Searched full:spies (Results 1 - 25 of 34) sorted by null

1 2

  /external/mockito/src/main/java/org/mockito/internal/configuration/
DefaultInjectionEngine.java 13 * Inject mock/spies dependencies for fields annotated with @InjectMocks
InjectingAnnotationEngine.java 25 * Process the fields of the test instance and create Mocks, Spies, Captors and inject them on fields
31 * <li>First create Mocks, Spies, Captors.</li>
58 //this will create @Spies:
67 * Initializes mock/spies dependencies for objects annotated with
  /external/mockito/src/test/java/org/mockitousage/spies/
StubbingSpiesDoesNotYieldNPETest.java 5 package org.mockitousage.spies;
PartialMockingWithSpiesTest.java 6 package org.mockitousage.spies;
SpyingOnInterfacesTest.java 6 package org.mockitousage.spies;
SpyingOnRealObjectsTest.java 6 package org.mockitousage.spies;
  /external/syslinux/core/lwip/src/include/ipv4/lwip/
autoip.h 9 * Copyright (c) 2007 Dominik Spies <kontakt@dspies.de>
34 * Author: Dominik Spies <kontakt@dspies.de>
40 * Please coordinate changes and requests with Dominik Spies
  /external/mockito/src/main/java/org/mockito/internal/invocation/
RealMethod.java 16 * Needed for test spies or {@link InvocationOnMock#callRealMethod()}.
  /frameworks/opt/car/setupwizard/library/tests/robotests/src/com/android/car/setupwizardlib/robolectric/
TestHelper.java 26 * Helper for commonly used assertions and mocks/spies.
  /external/mockito/src/main/java/org/mockito/internal/configuration/injection/scanner/
MockScanner.java 56 // mock or spies only
  /external/mockito/src/main/java/org/mockito/mock/
MockCreationSettings.java 44 * the spied instance - needed for spies.
  /external/dexmaker/dexmaker-mockito/src/main/java/com/android/dx/mockito/
DexmakerMockMaker.java 63 + "allow spies to copy blacklisted fields.");
72 Log.w(LOG_TAG, "Cannot allow LenientCopyTool to copy spies of blacklisted fields. "
  /external/mockito/src/main/java/org/mockito/
InjectMocks.java 140 * Again, note that &#064;InjectMocks will only inject mocks/spies created using the &#64;Spy or &#64;Mock annotation.
153 * be it mocks/spies or real objects.
Spy.java 56 * <li>Sometimes it's impossible or impractical to use {@link Mockito#when(Object)} for stubbing spies.
57 * Therefore for spies it is recommended to always use <code>doReturn</code>|<code>Answer</code>|<code>Throw()</code>|<code>CallRealMethod</code>
Mockito.java 80 * <a href="#23">23. Automatic instantiation of <code>&#064;Spies</code>, <code>&#064;InjectMocks</code> and constructor injection goodness (Since 1.9.0)</a><br/>
584 * You can create spies of real objects. When you use the spy then the <b>real</b> methods are called
587 * Real spies should be used <b>carefully and occasionally</b>, for example when dealing with legacy code.
591 * <b>Before the release 1.8</b>, Mockito spies were not real partial mocks.
622 * <li>Sometimes it's impossible or impractical to use {@link Mockito#when(Object)} for stubbing spies.
623 * Therefore when using spies please consider <code>doReturn</code>|<code>Answer</code>|<code>Throw()</code> family of
    [all...]
MockSettings.java 87 * Specifies the instance to spy on. Makes sense only for spies/partial mocks.
AdditionalAnswers.java 238 * Useful for spies or partial mocks of objects that are difficult to mock
  /external/mockito/src/main/java/org/mockito/internal/handler/
MockHandlerImpl.java 107 //Mockito uses it to redo setting invocation for potential stubbing in case of partial mocks / spies.
  /external/syslinux/core/lwip/src/core/ipv4/
autoip.c 9 * Copyright (c) 2007 Dominik Spies <kontakt@dspies.de>
34 * Author: Dominik Spies <kontakt@dspies.de>
40 * Please coordinate changes and requests with Dominik Spies
  /external/dexmaker/dexmaker-mockito-inline-tests/src/androidTest/java/com/android/dx/mockito/inline/tests/
MockFinal.java 185 // Spies call real method by default
  /tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
PreloadedClassesPreparerTest.java 54 // Setup mocks and spies
  /external/mockito/src/main/java/org/mockito/internal/exceptions/
Reporter.java 467 "3. A spy is stubbed using when(spy.foo()).then() syntax. It is safer to stub spies - ",
495 "2. A spy is stubbed using when(spy.foo()).then() syntax. It is safer to stub spies - ",
    [all...]
  /external/dexmaker/dexmaker-mockito-inline/src/main/java/com/android/dx/mockito/inline/
InlineDexmakerMockMaker.java 138 // The MockMethodAdvice is used by methods of spies to call the real methods. As the
  /external/ltp/testcases/kernel/fs/ftest/
ftest03.c 39 * Modofied by K. Hakim to integrate with SPIES.
ftest07.c 42 * Modofied by K. Hakim to integrate with SPIES.

Completed in 2013 milliseconds

1 2