Home
last modified time | relevance | path

Searched refs:classObj (Results 1 – 3 of 3) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/testtype/
DHostTest.java300 for (Class<?> classObj : getClasses()) { in countTestCases()
301 if (IRemoteTest.class.isAssignableFrom(classObj) in countTestCases()
302 || Test.class.isAssignableFrom(classObj)) { in countTestCases()
303 TestSuite suite = collectTests(collectClasses(classObj)); in countTestCases()
306 && IRemoteTest.class.isAssignableFrom(classObj) in countTestCases()
307 && !Test.class.isAssignableFrom(classObj)) { in countTestCases()
313 } else if (hasJUnit4Annotation(classObj)) { in countTestCases()
314 Request req = Request.aClass(classObj); in countTestCases()
461 for (Class<?> classObj : getClasses()) { in runTestClasses()
462 if (IRemoteTest.class.isAssignableFrom(classObj)) { in runTestClasses()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/util/
DTestFilterHelper.java200 public boolean shouldRun(String packageName, Class<?> classObj, Method method) { in shouldRun() argument
201 String className = classObj.getName(); in shouldRun()
207 if (isExcluded(Arrays.asList(classObj.getAnnotations()))) { in shouldRun()
211 if (isIncluded(Arrays.asList(classObj.getAnnotations())) in shouldRun()
218 || !isIncluded(Arrays.asList(classObj.getAnnotations()))) { in shouldRun()
237 Class<?> classObj = null; in shouldRun() local
239 classObj = Class.forName(desc.getClassName()); in shouldRun()
242 classObj), e); in shouldRun()
244 String packageName = classObj.getPackage().getName(); in shouldRun()
DTestLoader.java105 private boolean hasJUnit4Annotation(Class<?> classObj) { in hasJUnit4Annotation() argument
106 if (classObj.isAnnotationPresent(SuiteClasses.class)) { in hasJUnit4Annotation()
109 for (Method m : classObj.getMethods()) { in hasJUnit4Annotation()