/external/guava/guava-tests/test/com/google/common/collect/ |
D | RegularImmutableTableTest.java | 49 for (ImmutableTable<Character, Integer, String> testInstance : getTestInstances()) { in testCellSet() 50 assertEquals(CELLS, testInstance.cellSet()); in testCellSet() 55 for (ImmutableTable<Character, Integer, String> testInstance : getTestInstances()) { in testValues() 56 assertThat(testInstance.values()).containsExactly("foo", "bar", "baz").inOrder(); in testValues() 61 for (ImmutableTable<Character, Integer, String> testInstance : getTestInstances()) { in testSize() 62 assertEquals(3, testInstance.size()); in testSize() 67 for (ImmutableTable<Character, Integer, String> testInstance : getTestInstances()) { in testContainsValue() 68 assertTrue(testInstance.containsValue("foo")); in testContainsValue() 69 assertTrue(testInstance.containsValue("bar")); in testContainsValue() 70 assertTrue(testInstance.containsValue("baz")); in testContainsValue() [all …]
|
D | AbstractImmutableTableTest.java | 33 for (Table<Character, Integer, String> testInstance : getTestInstances()) { in testClear() 35 testInstance.clear(); in testClear() 44 for (Table<Character, Integer, String> testInstance : getTestInstances()) { in testPut() 46 testInstance.put('a', 1, "blah"); in testPut() 55 for (Table<Character, Integer, String> testInstance : getTestInstances()) { in testPutAll() 57 testInstance.putAll(ImmutableTable.of('a', 1, "blah")); in testPutAll() 66 for (Table<Character, Integer, String> testInstance : getTestInstances()) { in testRemove() 68 testInstance.remove('a', 1); in testRemove() 77 for (ImmutableTable<Character, Integer, String> testInstance : getTestInstances()) { in testConsistentToString() 78 assertEquals(testInstance.rowMap().toString(), testInstance.toString()); in testConsistentToString() [all …]
|
/external/guava/android/guava-tests/test/com/google/common/collect/ |
D | RegularImmutableTableTest.java | 49 for (ImmutableTable<Character, Integer, String> testInstance : getTestInstances()) { in testCellSet() 50 assertEquals(CELLS, testInstance.cellSet()); in testCellSet() 55 for (ImmutableTable<Character, Integer, String> testInstance : getTestInstances()) { in testValues() 56 assertThat(testInstance.values()).containsExactly("foo", "bar", "baz").inOrder(); in testValues() 61 for (ImmutableTable<Character, Integer, String> testInstance : getTestInstances()) { in testSize() 62 assertEquals(3, testInstance.size()); in testSize() 67 for (ImmutableTable<Character, Integer, String> testInstance : getTestInstances()) { in testContainsValue() 68 assertTrue(testInstance.containsValue("foo")); in testContainsValue() 69 assertTrue(testInstance.containsValue("bar")); in testContainsValue() 70 assertTrue(testInstance.containsValue("baz")); in testContainsValue() [all …]
|
D | AbstractImmutableTableTest.java | 33 for (Table<Character, Integer, String> testInstance : getTestInstances()) { in testClear() 35 testInstance.clear(); in testClear() 44 for (Table<Character, Integer, String> testInstance : getTestInstances()) { in testPut() 46 testInstance.put('a', 1, "blah"); in testPut() 55 for (Table<Character, Integer, String> testInstance : getTestInstances()) { in testPutAll() 57 testInstance.putAll(ImmutableTable.of('a', 1, "blah")); in testPutAll() 66 for (Table<Character, Integer, String> testInstance : getTestInstances()) { in testRemove() 68 testInstance.remove('a', 1); in testRemove() 77 for (ImmutableTable<Character, Integer, String> testInstance : getTestInstances()) { in testConsistentToString() 78 assertEquals(testInstance.rowMap().toString(), testInstance.toString()); in testConsistentToString() [all …]
|
/external/dagger2/java/dagger/hilt/android/internal/testing/ |
D | MarkThatRulesRanRule.java | 42 private final Object testInstance; field in MarkThatRulesRanRule 47 public MarkThatRulesRanRule(Object testInstance) { in MarkThatRulesRanRule() argument 49 this.testInstance = checkNotNull(testInstance); in MarkThatRulesRanRule() 51 hasAnnotation(testInstance, HILT_ANDROID_TEST), in MarkThatRulesRanRule() 53 testInstance.getClass().getName()); in MarkThatRulesRanRule() 59 testInstance.getClass().getName(), in MarkThatRulesRanRule() 66 testInstance.getClass().getName(), in MarkThatRulesRanRule() 88 description.getTestClass().isInstance(testInstance), in apply() 102 if (testInstance != null) { in apply() 103 componentManager.setTestInstance(testInstance); in apply()
|
D | TestApplicationComponentManager.java | 53 private volatile Object testInstance; field in TestApplicationComponentManager 149 testInstance == null, in checkStateIsCleared() 173 testInstance = null; in clearState() 186 testInstance != null, in getTestInstance() 188 return testInstance; in getTestInstance() 251 Preconditions.checkNotNull(testInstance); in inject() 252 testInjector().injectTest(testInstance); in inject() 272 componentSupplier().get(registeredModules, testInstance, autoAddModuleEnabled.get())), in tryToCreateComponent() 280 void setTestInstance(Object testInstance) { in setTestInstance() argument 281 Preconditions.checkNotNull(testInstance); in setTestInstance() [all …]
|
D | TestComponentData.java | 77 Object get(Map<Class<?>, ?> registeredModules, Object testInstance, Boolean autoAddModule); in get() argument
|
/external/mockito/src/main/java/org/mockito/internal/configuration/ |
D | InjectingAnnotationEngine.java | 40 public void process(Class<?> clazz, Object testInstance) { in process() argument 41 processIndependentAnnotations(testInstance.getClass(), testInstance); in process() local 42 processInjectMocks(testInstance.getClass(), testInstance); in process() local 45 private void processInjectMocks(final Class<?> clazz, final Object testInstance) { in processInjectMocks() argument 48 injectMocks(testInstance); in processInjectMocks() 53 private void processIndependentAnnotations(final Class<?> clazz, final Object testInstance) { in processIndependentAnnotations() argument 57 delegate.process(classContext, testInstance); in processIndependentAnnotations() 59 spyAnnotationEngine.process(classContext, testInstance); in processIndependentAnnotations()
|
D | SpyAnnotationEngine.java | 49 public void process(Class<?> context, Object testInstance) { in process() argument 57 instance = field.get(testInstance); in process() 63 field.set(testInstance, spyInstance(field, instance)); in process() 65 field.set(testInstance, spyNewInstance(testInstance, field)); in process() 81 private static Object spyNewInstance(Object testInstance, Field field) in spyNewInstance() argument 99 if (!enclosing.isInstance(testInstance)) { in spyNewInstance() 106 .outerInstance(testInstance)); in spyNewInstance()
|
D | IndependentAnnotationEngine.java | 57 public void process(Class<?> clazz, Object testInstance) { 67 setField(testInstance, field,mock);
|
/external/exoplayer/tree/library/hls/src/test/java/com/google/android/exoplayer2/source/hls/ |
D | Aes128DataSourceTest.java | 40 Aes128DataSource testInstance = new TestAes123DataSource(upstream, new byte[16], new byte[16]); in test_OpenCallsUpstreamOpen_CloseCallsUpstreamClose() local 44 testInstance.open(new DataSpec(uri)); in test_OpenCallsUpstreamOpen_CloseCallsUpstreamClose() 47 testInstance.close(); in test_OpenCallsUpstreamOpen_CloseCallsUpstreamClose() 60 Aes128DataSource testInstance = new TestAes123DataSource(upstream, new byte[16], new byte[16]); in test_OpenCallsUpstreamThrowingOpen_CloseCallsUpstreamClose() local 65 testInstance.open(new DataSpec(uri)); in test_OpenCallsUpstreamThrowingOpen_CloseCallsUpstreamClose() 74 testInstance.close(); in test_OpenCallsUpstreamThrowingOpen_CloseCallsUpstreamClose()
|
/external/guava/android/guava-tests/test/com/google/common/util/concurrent/ |
D | AggregateFutureStateFallbackAtomicHelperTest.java | 98 Object testInstance = test.newInstance(); in runTestMethod() local 99 test.getMethod("setUp").invoke(testInstance); in runTestMethod() 100 test.getMethod(getName()).invoke(testInstance); in runTestMethod() 101 test.getMethod("tearDown").invoke(testInstance); in runTestMethod()
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | AggregateFutureStateFallbackAtomicHelperTest.java | 98 Object testInstance = test.newInstance(); in runTestMethod() local 99 test.getMethod("setUp").invoke(testInstance); in runTestMethod() 100 test.getMethod(getName()).invoke(testInstance); in runTestMethod() 101 test.getMethod("tearDown").invoke(testInstance); in runTestMethod()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/jsontype/ |
D | TypeRefinementForMapTest.java | 129 TestClass testInstance = mapper.readValue(TEST_INSTANCE_SERIALIZED, TestClass.class); in testMapKeyRefinement1384() local 130 assertEquals(1, testInstance.mapProperty.size()); in testMapKeyRefinement1384() 131 Object key = testInstance.mapProperty.keySet().iterator().next(); in testMapKeyRefinement1384() 133 String testInstanceSerialized = mapper.writeValueAsString(testInstance); in testMapKeyRefinement1384()
|
/external/dagger2/java/dagger/hilt/android/testing/ |
D | HiltAndroidRule.java | 35 public HiltAndroidRule(Object testInstance) { in HiltAndroidRule() argument 36 this.rule = new MarkThatRulesRanRule(checkNotNull(testInstance)); in HiltAndroidRule()
|
/external/boringssl/src/util/fipstools/cavp/ |
D | run_cavp.go | 367 type testInstance struct { struct 372 func worker(wg *sync.WaitGroup, work <-chan testInstance) { argument 417 work := make(chan testInstance) 432 work <- testInstance{suite, i}
|
/external/setupcompat/main/java/com/google/android/setupcompat/internal/ |
D | SetupCompatServiceInvoker.java | 118 static void setInstanceForTesting(SetupCompatServiceInvoker testInstance) { in setInstanceForTesting() argument 119 instance = testInstance; in setInstanceForTesting()
|
D | SetupCompatServiceProvider.java | 323 public static void setInstanceForTesting(SetupCompatServiceProvider testInstance) { in setInstanceForTesting() argument 324 instance = testInstance; in setInstanceForTesting()
|
/external/testng/src/main/java/org/testng/internal/ |
D | FactoryMethod.java | 91 for (Object testInstance : testInstances) { in invoke() 92 result.add(testInstance); in invoke()
|
D | MethodInvocationHelper.java | 188 protected static void invokeHookable(final Object testInstance, final Object[] parameters, in invokeHookable() argument 197 invokeMethod(thisMethod, testInstance, parameters); in invokeHookable()
|
/external/mockito/src/main/java/org/mockito/plugins/ |
D | AnnotationEngine.java | 28 void process(Class<?> clazz, Object testInstance); in process() argument
|
/external/mockito/src/test/java/org/mockito/internal/configuration/ |
D | GlobalConfigurationTest.java | 53 @Override public void process(Class<?> clazz, Object testInstance) { } in process() argument
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineCreationCacheControlTests.cpp | 875 TestStatus testInstance(Context& context, const TestParams& testParameter) in testInstance() function 1056 TestStatus testInstance(Context& context, const TestParams& testParameter) in testInstance() function 1370 tests.get(), params.name, params.description, checkSupport, initPrograms, testInstance, params); in addGraphicsPipelineTests() 1389 tests.get(), params.name, params.description, checkSupport, initPrograms, testInstance, params); in addComputePipelineTests()
|
/external/python/cpython3/Lib/test/ |
D | test_xmlrpc.py | 640 testInstance = TestInstanceClass() 641 serv.register_instance(testInstance, allow_dotted_names=True)
|