Home
last modified time | relevance | path

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

/external/robolectric-shadows/sandbox/src/test/java/org/robolectric/
DSandboxClassLoaderTest.java172 Method normalMethod = exampleClass.getMethod("normalMethod", String.class, int.class); in callingNormalMethodShouldInvokeClassHandler() local
176 normalMethod.invoke(exampleInstance, "value1", 123)); in callingNormalMethodShouldInvokeClassHandler()
206 Method normalMethod = exampleClass.getMethod("staticMethod", String.class); in callingStaticMethodShouldInvokeClassHandler() local
210 normalMethod.invoke(null, "value1")); in callingStaticMethodShouldInvokeClassHandler()
229 Method normalMethod = exampleClass.getMethod("normalMethodReturningInteger", int.class); in callingNormalMethodReturningIntegerShouldInvokeClassHandler() local
231 assertEquals(456, normalMethod.invoke(exampleInstance, 123)); in callingNormalMethodReturningIntegerShouldInvokeClassHandler()
242 Method normalMethod = exampleClass.getMethod("normalMethodReturningDouble", double.class); in callingMethodReturningDoubleShouldInvokeClassHandler() local
244 assertEquals(456.0, normalMethod.invoke(exampleInstance, 123d)); in callingMethodReturningDoubleShouldInvokeClassHandler()
253 Method normalMethod = exampleClass.getDeclaredMethod("nativeMethod", String.class, int.class); in callingNativeMethodShouldInvokeClassHandler() local
256 normalMethod.invoke(exampleInstance, "value1", 123)); in callingNativeMethodShouldInvokeClassHandler()
/external/robolectric-shadows/sandbox/src/test/java/org/robolectric/testing/
DAnExampleClass.java13 public String normalMethod(String stringArg, int intArg) { in normalMethod() method in AnExampleClass