Home | History | Annotate | Download | only in testrunner

Lines Matching refs:clazz

84         Class<?> clazz = mClassLoader.loadClass(className);
86 addSingleTestMethod(clazz, methodName);
88 Method[] methods = clazz.getMethods();
91 addSingleTestMethod(clazz, method.getName());
105 protected void addSingleTestMethod(Class<?> clazz, String method) {
106 if (!(mFilter.accept(clazz))) {
110 TestCase testCase = (TestCase) clazz.newInstance();
114 mTestCases.add(error(clazz, "InstantiationException: could not instantiate " +
115 "test class. Class: " + clazz.getName()));
117 mTestCases.add(error(clazz, "IllegalAccessException: could not instantiate " +
118 "test class. Class: " + clazz.getName()));
122 private UiAutomatorTestCase error(Class<?> clazz, final String message) {
129 warning.setName(clazz.getName());
147 * @param clazz
150 public boolean accept(Class<?> clazz);