com.atlassian.confluence.test.qunit
Class QUnitTestCollector

java.lang.Object
  extended by com.atlassian.confluence.junit3.ClassPathTestCollector
      extended by com.atlassian.confluence.test.qunit.QUnitTestCollector
All Implemented Interfaces:
TestCollector

public class QUnitTestCollector
extends ClassPathTestCollector

Finds all Javascript Test files (*.js files under baseTestDir) in the classpath (non-jar files) and in the specified jar files.


Constructor Summary
QUnitTestCollector(String baseTestDir, List<UploadablePlugin> searchPlugins)
           
 
Method Summary
protected  String classNameFromFile(String classFileName)
           
 Hashtable collectFilesInPath(String classPath)
           
protected  boolean isTestClass(String classFileName)
           
 
Methods inherited from class com.atlassian.confluence.junit3.ClassPathTestCollector
collectTests
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QUnitTestCollector

public QUnitTestCollector(String baseTestDir,
                          List<UploadablePlugin> searchPlugins)
Method Detail

collectFilesInPath

public Hashtable collectFilesInPath(String classPath)
Overrides:
collectFilesInPath in class ClassPathTestCollector

isTestClass

protected boolean isTestClass(String classFileName)
Overrides:
isTestClass in class ClassPathTestCollector

classNameFromFile

protected String classNameFromFile(String classFileName)
Overrides:
classNameFromFile in class ClassPathTestCollector


Copyright © 2003–2015 Atlassian. All rights reserved.