Home
last modified time | relevance | path

Searched refs:testInstance (Results 1 – 9 of 9) sorted by relevance

/external/guava/guava-tests/test/com/google/common/collect/
DRegularImmutableTableTest.java56 for (ImmutableTable<Character, Integer, String> testInstance : in testCellSet()
58 assertEquals(CELLS, testInstance.cellSet()); in testCellSet()
63 for (ImmutableTable<Character, Integer, String> testInstance : in testValues()
65 assertThat(testInstance.values()) in testValues()
72 for (ImmutableTable<Character, Integer, String> testInstance : in testSize()
74 assertEquals(3, testInstance.size()); in testSize()
79 for (ImmutableTable<Character, Integer, String> testInstance : in testContainsValue()
81 assertTrue(testInstance.containsValue("foo")); in testContainsValue()
82 assertTrue(testInstance.containsValue("bar")); in testContainsValue()
83 assertTrue(testInstance.containsValue("baz")); in testContainsValue()
[all …]
DAbstractImmutableTableTest.java36 for (ImmutableTable<Character, Integer, String> testInstance : getTestInstances()) { in testClear()
38 testInstance.clear(); in testClear()
48 for (ImmutableTable<Character, Integer, String> testInstance : getTestInstances()) { in testPut()
50 testInstance.put('a', 1, "blah"); in testPut()
60 for (ImmutableTable<Character, Integer, String> testInstance : getTestInstances()) { in testPutAll()
62 testInstance.putAll(ImmutableTable.of('a', 1, "blah")); in testPutAll()
72 for (ImmutableTable<Character, Integer, String> testInstance : getTestInstances()) { in testRemove()
74 testInstance.remove('a', 1); in testRemove()
83 for (ImmutableTable<Character, Integer, String> testInstance : getTestInstances()) { in testConsistentToString()
84 assertEquals(testInstance.rowMap().toString(), testInstance.toString()); in testConsistentToString()
[all …]
/external/mockito/src/org/mockito/internal/configuration/
DInjectingAnnotationEngine.java54 public void process(Class<?> clazz, Object testInstance) { in process() argument
55 processIndependentAnnotations(testInstance.getClass(), testInstance); in process() local
56 processInjectMocks(testInstance.getClass(), testInstance); in process() local
59 private void processInjectMocks(final Class<?> clazz, final Object testInstance) { in processInjectMocks() argument
62 injectMocks(testInstance); in processInjectMocks()
67 private void processIndependentAnnotations(final Class<?> clazz, final Object testInstance) { in processIndependentAnnotations() argument
71 delegate.process(classContext, testInstance); in processIndependentAnnotations()
73 spyAnnotationEngine.process(classContext, testInstance); in processIndependentAnnotations()
DSpyAnnotationEngine.java46 public void process(Class<?> context, Object testInstance) { in process() argument
53 … FieldInitializationReport report = new FieldInitializer(testInstance, field).initialize(); in process()
65 field.set(testInstance, Mockito.mock(instance.getClass(), withSettings() in process()
DDefaultAnnotationEngine.java61 public void process(Class<?> clazz, Object testInstance) {
71 new FieldSetter(testInstance, field).set(mock);
/external/testng/src/main/java/org/testng/internal/
DFactoryMethod.java91 for (Object testInstance : testInstances) { in invoke()
92 result.add(testInstance); in invoke()
DMethodInvocationHelper.java188 protected static void invokeHookable(final Object testInstance, final Object[] parameters, in invokeHookable() argument
197 invokeMethod(thisMethod, testInstance, parameters); in invokeHookable()
/external/mockito/src/org/mockito/configuration/
DAnnotationEngine.java40 void process(Class<?> clazz, Object testInstance); in process() argument
/external/dexmaker/lib/
Dmockito-core-1.9.1-SNAPSHOT.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/mockito/ org/ ...