Home
last modified time | relevance | path

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

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
DConstructorTest.java287 Class[] parms = null; in test_getParameterTypes() local
289 parms = new Class[1]; in test_getParameterTypes()
290 parms[0] = new Object().getClass(); in test_getParameterTypes()
292 .getConstructor(parms); in test_getParameterTypes()
298 assertTrue("Incorrect parameter returned", types[0].equals(parms[0])); in test_getParameterTypes()
313 Class<?>[] parms = null; in test_getGenericParameterTypes() local
315 parms = new Class[] {Object.class}; in test_getGenericParameterTypes()
317 .getClass().getConstructor(parms); in test_getGenericParameterTypes()
322 assertTrue("Incorrect parameter returned", types[0].equals(parms[0])); in test_getGenericParameterTypes()
392 Class[] parms = null; in test_toString() local
[all …]
DMethodTest.java521 Class[] parms = null; in test_getParameterTypes() local
528 parms = mth.getParameterTypes(); in test_getParameterTypes()
533 assertEquals("Returned incorrect parameterTypes", 0, parms.length); in test_getParameterTypes()
536 parms = mth.getParameterTypes(); in test_getParameterTypes()
542 plist.length == parms.length); in test_getParameterTypes()
545 .equals(parms[i])); in test_getParameterTypes()
558 parms = mth.getParameterTypes(); in test_getParameterTypes()
560 parms.length == plist.length); in test_getParameterTypes()
563 .equals(parms[i])); in test_getParameterTypes()
850 Class[] parms = { int.class, short.class, String.class, boolean.class, in test_toString() local
[all …]