com.atlassian.confluence.junit3
Class ClassPathTestCollector

java.lang.Object
  extended by com.atlassian.confluence.junit3.ClassPathTestCollector
All Implemented Interfaces:
TestCollector
Direct Known Subclasses:
ConfluenceSeleniumTestCollector, QUnitTestCollector, QUnitTestCollector

public abstract class ClassPathTestCollector
extends Object
implements TestCollector


Constructor Summary
ClassPathTestCollector()
           
 
Method Summary
protected  String classNameFromFile(String classFileName)
           
 Hashtable collectFilesInPath(String classPath)
           
 Enumeration collectTests()
          Returns an enumeration of Strings with qualified class names
protected  boolean isTestClass(String classFileName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassPathTestCollector

public ClassPathTestCollector()
Method Detail

collectTests

public Enumeration collectTests()
Description copied from interface: TestCollector
Returns an enumeration of Strings with qualified class names

Specified by:
collectTests in interface TestCollector

collectFilesInPath

public Hashtable collectFilesInPath(String classPath)

isTestClass

protected boolean isTestClass(String classFileName)

classNameFromFile

protected String classNameFromFile(String classFileName)


Copyright © 2003-2013 Atlassian. All Rights Reserved.