Searched defs:classFileName (Results 1 - 3 of 3) sorted by relevance

/frameworks/base/test-runner/src/junit/runner/
H A DSimpleTestCollector.java15 protected boolean isTestClass(String classFileName) { argument
17 classFileName.endsWith(".class") &&
18 classFileName.indexOf('$') < 0 &&
19 classFileName.indexOf("Test") > 0;
H A DLoadingTestCollector.java22 protected boolean isTestClass(String classFileName) { argument
24 if (classFileName.endsWith(".class")) {
25 Class testClass= classFromFile(classFileName);
36 Class classFromFile(String classFileName) throws ClassNotFoundException { argument
37 String className= classNameFromFile(classFileName);
H A DClassPathTestCollector.java41 void gatherFiles(File classRoot, String classFileName, Hashtable result) { argument
42 File thisRoot= new File(classRoot, classFileName);
44 if (isTestClass(classFileName)) {
45 String className= classNameFromFile(classFileName);
53 gatherFiles(classRoot, classFileName+File.separatorChar+contents[i], result);
66 protected boolean isTestClass(String classFileName) { argument
68 classFileName.endsWith(".class") &&
69 classFileName.indexOf('$') < 0 &&
70 classFileName.indexOf("Test") > 0;
73 protected String classNameFromFile(String classFileName) { argument
[all...]

Completed in 63 milliseconds