Home
last modified time | relevance | path

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

/external/mockito/src/test/java/org/mockitousage/annotation/
DSpyAnnotationTest.java18 import org.mockito.Spy;
36 @Spy
39 @Spy
42 @Spy
45 @Spy
69 @Spy in should_allow_spying_on_interfaces()
82 @Spy in should_allow_spying_on_interfaces_when_instance_is_concrete()
97 @Spy in should_report_when_no_arg_less_constructor()
114 @Spy in should_report_when_constructor_is_explosive()
129 @Spy in should_spy_abstract_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/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/creation/
DConstructorInvokingMethodShouldNotRaiseExceptionTest.java11 import org.mockito.Spy;
19 @Spy
35 @Spy
54 @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/
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/
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/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.java11 import org.mockito.Spy;
44 @Spy private CustomListener customListener;
/external/mockito/src/test/java/org/mockito/internal/util/
DDefaultMockingDetailsTest.java12 import org.mockito.Spy;
37 @Spy private Gork gork;
/external/mockito/src/main/java/org/mockito/
DSpy.java106 public @interface Spy { } annotation
/external/volley/src/test/java/com/android/volley/toolbox/
DHttpStackConformanceTest.java31 import org.mockito.Spy;
44 @Spy private HurlStack mHurlStack = new HurlStack();
/external/bcc/tools/
Dargdist_example.txt443 Spy on writes to STDOUT performed by process 2780, up to a string size
/external/libxml2/result/
Datt4.rde1 0 8 #comment 0 1 edited with XML Spy v4.4 U (http://www.xmlspy.com) by Slava (GIVC)
Datt4.rdr1 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) )