An AWT based user interface to run tests.
Enter the name of a class which either provides a static
suite method or is a subclass of TestCase.
Synopsis: java junit.awtui.TestRunner [-noloading] [TestCase]
TestRunner takes as an optional argument the name of the testcase class to be run.
PLAIN_FONT
protected static final Font PLAIN_FONT
fExceptions
protected Vector fExceptions
fFailedTests
protected Vector fFailedTests
fFailureList
protected List fFailureList
fFrame
protected Frame fFrame
fLogo
protected Logo fLogo
fNumberOfErrors
protected Label fNumberOfErrors
fNumberOfFailures
protected Label fNumberOfFailures
fNumberOfRuns
protected Label fNumberOfRuns
fProgressIndicator
protected ProgressBar fProgressIndicator
fQuitButton
protected Button fQuitButton
fRerunButton
protected Button fRerunButton
fRun
protected Button fRun
fRunner
protected Thread fRunner
fStatusLine
protected TextField fStatusLine
fSuiteField
protected TextField fSuiteField
fTraceArea
protected TextArea fTraceArea
fUseLoadingRunner
protected Checkbox fUseLoadingRunner
addGrid
protected void addGrid(Panel p,
Component co,
int x,
int y,
int w,
int fill,
double wx,
int anchor)
createCounterPanel
protected Panel createCounterPanel()
createJUnitMenu
protected Menu createJUnitMenu()
Creates the JUnit menu. Clients override this
method to add additional menu items.
createMenus
protected void createMenus(MenuBar mb)
createTestResult
protected TestResult createTestResult()
createUI
protected Frame createUI(String suiteName)
failureSelected
public void failureSelected()
getRunner
public Thread getRunner()
main
public static void main(String[] args)
reset
protected void reset()
run
public static void run(Class test)
runSuite
public void runSuite()
setSuiteName
public void setSuiteName(String suite)
start
public void start(String[] args)
Starts the TestRunner