consciouscode.seedling.junit
Class SeedlingTestRunner

java.lang.Object
  extended by junit.runner.BaseTestRunner
      extended by junit.textui.TestRunner
          extended by consciouscode.seedling.junit.SeedlingTestRunner
All Implemented Interfaces:
junit.framework.TestListener

public class SeedlingTestRunner
extends junit.textui.TestRunner

A TestRunner used by TestRunnerNode.


Nested Class Summary
 class SeedlingTestRunner.NoSuchTestCase
           
 
Field Summary
 
Fields inherited from class junit.textui.TestRunner
EXCEPTION_EXIT, FAILURE_EXIT, SUCCESS_EXIT
 
Fields inherited from class junit.runner.BaseTestRunner
SUITE_METHODNAME
 
Constructor Summary
SeedlingTestRunner(RootNode globalRoot, Log log)
           
 
Method Summary
protected  junit.framework.TestResult createTestResult()
           
protected  void runFailed(String message)
           
 junit.framework.TestResult runTestCase(String testCase)
           
 void startTest(junit.framework.Test test)
           
 
Methods inherited from class junit.textui.TestRunner
doRun, doRun, getLoader, main, pause, run, run, runAndWait, setPrinter, start, testEnded, testFailed, testStarted
 
Methods inherited from class junit.runner.BaseTestRunner
addError, addFailure, clearStatus, elapsedTimeAsString, endTest, extractClassName, getFilteredTrace, getFilteredTrace, getPreference, getPreference, getPreferences, getTest, inVAJava, loadSuiteClass, processArguments, savePreferences, setLoading, setPreference, setPreferences, showStackRaw, truncate, useReloadingTestSuiteLoader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SeedlingTestRunner

public SeedlingTestRunner(RootNode globalRoot,
                          Log log)
Method Detail

runTestCase

public junit.framework.TestResult runTestCase(String testCase)
                                       throws Exception
Parameters:
testCase - holds the class name of the Test to run.
Throws:
Exception - if theres a problem instantiating the test.

startTest

public void startTest(junit.framework.Test test)
Specified by:
startTest in interface junit.framework.TestListener
Overrides:
startTest in class junit.runner.BaseTestRunner

runFailed

protected void runFailed(String message)
Overrides:
runFailed in class junit.textui.TestRunner

createTestResult

protected junit.framework.TestResult createTestResult()
Overrides:
createTestResult in class junit.textui.TestRunner


Copyright © 2001–2012 Todd V. Jonker. All Rights Reserved.