junit.extensions
Class PPTestRunner

java.lang.Object
  |
  +--junit.runner.BaseTestRunner
        |
        +--junit.textui.TestRunner
              |
              +--junit.extensions.PPTestRunner
All Implemented Interfaces:
junit.framework.TestListener

public class PPTestRunner
extends junit.textui.TestRunner

Extended version of junit.textui.TestRunner.

New features:

Author:
Siegfried GOESCHL

Fields inherited from class junit.textui.TestRunner
EXCEPTION_EXIT, FAILURE_EXIT, SUCCESS_EXIT
 
Fields inherited from class junit.runner.BaseTestRunner
SUITE_METHODNAME
 
Constructor Summary
PPTestRunner()
          Constructs a PPTestRunner.
PPTestRunner(java.io.PrintStream writer)
          Constructs a PPTestRunner using the given stream for all the output
PPTestRunner(junit.textui.ResultPrinter printer)
          Constructs a PPTestRunner using the given ResultPrinter all the output
 
Method Summary
protected  junit.framework.TestResult createTestResult()
          Creates the TestResult to be used for the test run.
 junit.framework.TestResult doRun(junit.framework.Test test, boolean wait)
           
static void main(java.lang.String[] args)
           
protected static void showHelp()
          Prints program help.
protected  junit.framework.TestResult start(java.lang.String[] args)
          Initializes JUNITPP with the provided command line arguments and and starts the test run
 
Methods inherited from class junit.textui.TestRunner
doRun, getLoader, pause, run, run, runAndWait, runFailed, setPrinter, 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, startTest, truncate, useReloadingTestSuiteLoader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PPTestRunner

public PPTestRunner()
Constructs a PPTestRunner.

PPTestRunner

public PPTestRunner(java.io.PrintStream writer)
Constructs a PPTestRunner using the given stream for all the output

PPTestRunner

public PPTestRunner(junit.textui.ResultPrinter printer)
Constructs a PPTestRunner using the given ResultPrinter all the output
Method Detail

createTestResult

protected junit.framework.TestResult createTestResult()
Creates the TestResult to be used for the test run.
Overrides:
createTestResult in class junit.textui.TestRunner

main

public static void main(java.lang.String[] args)

start

protected junit.framework.TestResult start(java.lang.String[] args)
                                    throws java.lang.Exception
Initializes JUNITPP with the provided command line arguments and and starts the test run
Overrides:
start in class junit.textui.TestRunner
Parameters:
args - command line parameters for initializing JUNITPP

doRun

public junit.framework.TestResult doRun(junit.framework.Test test,
                                        boolean wait)
Overrides:
doRun in class junit.textui.TestRunner

showHelp

protected static void showHelp()
Prints program help.


Copyright © 2001-2002 IT20one GmbH. All Rights Reserved.