Home
last modified time | relevance | path

Searched refs:Spy (Results 1 – 21 of 21) sorted by relevance

/external/mockito/src/test/java/org/mockitousage/annotation/
DSpyAnnotationTest.java17 import org.mockito.Spy;
34 @Spy
37 @Spy
40 @Spy
64 @Spy in should_allow_spying_on_interfaces()
77 @Spy in should_allow_spying_on_interfaces_when_instance_is_concrete()
92 @Spy in should_report_when_no_arg_less_constructor()
109 @Spy in should_report_when_constructor_is_explosive()
124 @Spy in should_spy_abstract_class()
142 @Spy in should_spy_inner_class()
[all …]
DSpyAnnotationInitializedInBaseClassTest.java10 import org.mockito.Spy;
25 @Spy
54 @Spy
59 @Spy
DWrongSetOfAnnotationsTest.java22 @Mock @Spy List<?> mock; in should_not_allow_Mock_and_Spy()
29 MockitoAnnotations.initMocks(new Object() { @InjectMocks @Spy List<?> mock; }); in should_not_allow_Spy_and_InjectMocks_on_interfaces()
40 @Spy in should_allow_Spy_and_InjectMocks()
63 @Spy @Captor ArgumentCaptor<?> captor; in should_not_allow_Captor_and_Spy()
DMockInjectionUsingSetterOrPropertyTest.java13 import org.mockito.Spy;
40 @Spy @InjectMocks private SuperUnderTesting initializedSpy = new SuperUnderTesting();
41 @Spy @InjectMocks private SuperUnderTesting notInitializedSpy;
49 @Spy private TreeSet<String> searchTree = new TreeSet<String>();
DSpyInjectionTest.java9 import org.mockito.Spy;
18 @Spy List<Object> spy = new LinkedList<Object>();
DMockInjectionUsingConstructorTest.java19 import org.mockito.Spy;
44 @Spy @InjectMocks private ArticleManager spiedArticleManager;
/external/mockito/src/test/java/org/mockitousage/bugs/creation/
DConstructorInvokingMethodShouldNotRaiseExceptionTest.java7 import org.mockito.Spy;
15 @Spy
31 @Spy
50 @Spy
/external/clang/tools/scan-build-py/tests/unit/
Dtest_runner.py105 class Spy(object): class
134 spy = Spy()
212 spy = Spy()
224 spy = Spy()
238 spy = Spy()
247 spy = Spy()
259 spy = Spy()
269 spy = Spy()
284 spy = Spy()
296 spy = Spy()
/external/mockito/src/test/java/org/mockitousage/bugs/
DSpyShouldHaveNiceNameTest.java10 import org.mockito.Spy;
22 @Spy List<Integer> veryCoolSpy = new LinkedList<Integer>();
/external/mockito/src/test/java/org/mockitousage/bugs/injection/
DShouldNotTryToInjectInFinalOrStaticFieldsTest.java12 import org.mockito.Spy;
28 @Spy private List<String> unrelatedList = new ArrayList<String>();
/external/mockito/src/main/java/org/mockito/internal/configuration/injection/
DSpyOnInjectedFieldsHandler.java9 import org.mockito.Spy;
35 if(!fieldReader.isNull() && field.isAnnotationPresent(Spy.class)) { in processInjection()
/external/mockito/src/main/java/org/mockito/internal/configuration/
DSpyAnnotationEngine.java17 import org.mockito.Spy;
52 … if (field.isAnnotationPresent(Spy.class) && !field.isAnnotationPresent(InjectMocks.class)) { in process()
53 assertNoIncompatibleAnnotations(Spy.class, field, Mock.class, Captor.class); in process()
/external/mockito/src/main/java/org/mockito/internal/configuration/injection/scanner/
DMockScanner.java8 import org.mockito.Spy;
79 return field.isAnnotationPresent(Spy.class) || field.isAnnotationPresent(Mock.class); in isAnnotatedByMockOrSpy()
/external/mockito/src/test/java/org/mockito/internal/handler/
DInvocationNotifierHandlerTest.java12 import org.mockito.Spy;
45 @Spy private CustomListener customListener;
/external/mockito/src/main/java/org/mockito/
DSpy.java106 public @interface Spy { } annotation
/external/mockito/src/test/java/org/mockito/internal/util/
DDefaultMockingDetailsTest.java9 import org.mockito.Spy;
32 @Spy private Gork gork;
/external/libxml2/result/
Datt4.rdr1 0 8 #comment 0 1 edited with XML Spy v4.4 U (http://www.xmlspy.com) by Slava (GIVC)
Datt4.rde1 0 8 #comment 0 1 edited with XML Spy v4.4 U (http://www.xmlspy.com) by Slava (GIVC)
Datt4.sax3 SAX.comment( edited with XML Spy v4.4 U (http://www.xmlspy.com) by Slava (GIVC) )
Datt4.sax23 SAX.comment( edited with XML Spy v4.4 U (http://www.xmlspy.com) by Slava (GIVC) )
/external/libxml2/result/noent/
Datt4.sax23 SAX.comment( edited with XML Spy v4.4 U (http://www.xmlspy.com) by Slava (GIVC) )