Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

junit.extensions.abbot
Class ScriptTestCollector  view ScriptTestCollector download ScriptTestCollector.java

java.lang.Object
  extended byjunit.runner.ClassPathTestCollector
      extended byjunit.runner.LoadingTestCollector
          extended byjunit.extensions.abbot.ScriptTestCollector
All Implemented Interfaces:
junit.runner.TestCollector

public class ScriptTestCollector
extends junit.runner.LoadingTestCollector

Collects all available classes derived from ScriptTestCase in the current classpath.


Field Summary
private  java.lang.ClassLoader loader
           
 
Fields inherited from class junit.runner.LoadingTestCollector
 
Fields inherited from class junit.runner.ClassPathTestCollector
 
Constructor Summary
ScriptTestCollector()
           
 
Method Summary
private  java.lang.Class getClassFromFile(java.lang.String classFileName)
           
protected  boolean isTestClass(java.lang.String classFileName)
           
 
Methods inherited from class junit.runner.LoadingTestCollector
 
Methods inherited from class junit.runner.ClassPathTestCollector
classNameFromFile, collectFilesInPath, collectTests
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

loader

private java.lang.ClassLoader loader
Constructor Detail

ScriptTestCollector

public ScriptTestCollector()
Method Detail

isTestClass

protected boolean isTestClass(java.lang.String classFileName)

getClassFromFile

private java.lang.Class getClassFromFile(java.lang.String classFileName)
                                  throws java.lang.ClassNotFoundException