Home
last modified time | relevance | path

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

/external/robolectric-shadows/sandbox/src/test/java/org/robolectric/
DSandboxClassLoaderTest.java174 Object exampleInstance = exampleClass.getDeclaredConstructor().newInstance(); in callingNormalMethodShouldInvokeClassHandler() local
176 normalMethod.invoke(exampleInstance, "value1", 123)); in callingNormalMethodShouldInvokeClassHandler()
188 Object exampleInstance = exampleClass.getDeclaredConstructor().newInstance(); in shouldGenerateClassSpecificDirectAccessMethod() local
189 assertEquals("normalMethod(value1, 123)", directMethod.invoke(exampleInstance, "value1", 123)); in shouldGenerateClassSpecificDirectAccessMethod()
230 Object exampleInstance = exampleClass.getDeclaredConstructor().newInstance(); in callingNormalMethodReturningIntegerShouldInvokeClassHandler() local
231 assertEquals(456, normalMethod.invoke(exampleInstance, 123)); in callingNormalMethodReturningIntegerShouldInvokeClassHandler()
243 Object exampleInstance = exampleClass.getDeclaredConstructor().newInstance(); in callingMethodReturningDoubleShouldInvokeClassHandler() local
244 assertEquals(456.0, normalMethod.invoke(exampleInstance, 123d)); in callingMethodReturningDoubleShouldInvokeClassHandler()
254 Object exampleInstance = exampleClass.getDeclaredConstructor().newInstance(); in callingNativeMethodShouldInvokeClassHandler() local
256 normalMethod.invoke(exampleInstance, "value1", 123)); in callingNativeMethodShouldInvokeClassHandler()
[all …]