Searched refs:aClass (Results 1 – 8 of 8) sorted by relevance
81 public void accept(Class<?> aClass, Version version) { in checkVersion()82 Version v = versions.remove(aClass); in checkVersion()84 v = VersionInfo.this.createVersion(aClass); in checkVersion()87 throw new InvalidVersionException(aClass.getSimpleName() in checkVersion()91 throw new InvalidVersionException(aClass, v.mVersion < version.mVersion, in checkVersion()99 public void accept(Class<?> aClass, Version version) { in checkVersion()102 + aClass.getSimpleName(), false); in checkVersion()
189 public boolean apply(Class aClass) { in apply() argument190 int modifiers = ((Class<?>) aClass).getModifiers(); in apply()191 return TestCase.class.isAssignableFrom((Class<?>) aClass) in apply()194 && hasValidConstructor((Class<?>) aClass); in apply()198 private boolean hasValidConstructor(java.lang.Class<?> aClass) { in hasValidConstructor() argument203 = (Constructor<? extends TestCase>[]) aClass.getConstructors(); in hasValidConstructor()216 aClass.getName())); in hasValidConstructor()
52 private TestMethod testMethodFor(Class<? extends TestCase> aClass) in testMethodFor() argument54 Method method = aClass.getMethod("testX"); in testMethodFor()55 return new TestMethod(method, aClass); in testMethodFor()
44 private boolean hasExampleAnnotation(Class<? extends TestCase> aClass, String methodName) in hasExampleAnnotation() argument46 Method method = aClass.getMethod(methodName); in hasExampleAnnotation()47 TestMethod testMethod = new TestMethod(method, aClass); in hasExampleAnnotation()
20 public Class reload(Class aClass) throws ClassNotFoundException { in reload() argument21 return aClass; in reload()
10 abstract public Class reload(Class aClass) throws ClassNotFoundException; in reload() argument
47 Class<?> aClass = myClassLoader.loadClass(newClassName); in testStubbedClass() local51 aClass.newInstance(); in testStubbedClass()
65 Class<?> aClass = myClassLoader.loadClass(newClassName); in testBoolean() local68 Method method = aClass.getMethod(methodName); in testBoolean()69 Object o = aClass.newInstance(); in testBoolean()