Home
last modified time | relevance | path

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

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