Home
last modified time | relevance | path

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

/frameworks/base/test-runner/tests/src/android/test/suitebuilder/annotation/
DHasClassAnnotationTest.java37 Class<? extends TestCase> aClass, in classHasAnnotation() argument
39 Method method = aClass.getMethod("testSomeTest"); in classHasAnnotation()
41 TestMethod testMethod = new TestMethod(method, aClass); in classHasAnnotation()
DHasMethodAnnotationTest.java38 private boolean methodHasAnnotation(Class<? extends TestCase> aClass, in methodHasAnnotation() argument
42 Method method = aClass.getMethod(methodName); in methodHasAnnotation()
43 TestMethod testMethod = new TestMethod(method, aClass); in methodHasAnnotation()
DHasAnnotationTest.java44 private boolean hasExampleAnnotation(Class<? extends TestCase> aClass, String methodName) in hasExampleAnnotation() argument
46 Method method = aClass.getMethod(methodName); in hasExampleAnnotation()
47 TestMethod testMethod = new TestMethod(method, aClass); in hasExampleAnnotation()
/frameworks/base/test-runner/src/android/test/suitebuilder/
DTestGrouping.java215 public boolean apply(Class aClass) { in apply() argument
216 int modifiers = ((Class<?>) aClass).getModifiers(); in apply()
217 return TestCase.class.isAssignableFrom((Class<?>) aClass) in apply()
220 && hasValidConstructor((Class<?>) aClass); in apply()
224 private boolean hasValidConstructor(java.lang.Class<?> aClass) { in hasValidConstructor() argument
229 = (Constructor<? extends TestCase>[]) aClass.getConstructors(); in hasValidConstructor()
242 aClass.getName())); in hasValidConstructor()
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/
DAssignableFromTest.java52 private TestMethod testMethodFor(Class<? extends TestCase> aClass) in testMethodFor() argument
54 Method method = aClass.getMethod("testX"); in testMethodFor()
55 return new TestMethod(method, aClass); in testMethodFor()
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/
DLayoutLibTestCallback.java96 Class<?> aClass = mClasses.get(name); in findClass() local
97 if (aClass != null) { in findClass()
98 return aClass; in findClass()
119 aClass = defineClass(name, data, 0, data.length); in findClass()
120 mClasses.put(name, aClass); in findClass()
121 return aClass; in findClass()
/frameworks/base/test-runner/src/junit/runner/
DReloadingTestSuiteLoader.java13 public Class reload(Class aClass) throws ClassNotFoundException { in reload() argument
14 return createLoader().loadClass(aClass.getName(), true); in reload()