java.lang.Object | +--junit.runner.BaseTestRunner | +--junit.swingui.TestRunner
static Font | |
Vector | |
Vector | |
List | |
Frame | An AWT based user interface to run tests. |
Label | |
Label | |
Label | |
Button | |
Button | |
Button | |
Thread | |
TextField | |
TextField | |
TextArea | |
Checkbox |
void | addGrid(Panel p, Component co, int x, int y, int w, int fill, double wx, int anchor) |
void | |
Panel | |
Menu | Creates the JUnit menu. |
void | createMenus(MenuBar mb) |
Frame | createUI(String suiteName) |
void | |
Thread | |
static void | main(String[] args) |
void | rerun() |
void | reset() |
static void | run(Class test) |
void | runFailed(String message) |
synchronized void | runSuite() |
void | setSuiteName(String suite) |
void | start(String[] args) Starts the TestRunner |
void | testEnded(String testName) |
void | testFailed(int status, Test test, Throwable t) |
void | testStarted(String testName) |
protected static final Font PLAIN_FONT
protected Vector fExceptions
protected Vector fFailedTests
protected List fFailureList
protected Frame fFrame
Synopsis: java junit.awtui.TestRunner [-noloading] [TestCase]TestRunner takes as an optional argument the name of the testcase class to be run.
protected Logo fLogo
protected Label fNumberOfErrors
protected Label fNumberOfFailures
protected Label fNumberOfRuns
protected ProgressBar fProgressIndicator
protected Button fQuitButton
protected Button fRerunButton
protected Button fRun
protected Thread fRunner
protected TextField fStatusLine
protected TextField fSuiteField
protected TestResult fTestResult
protected TextArea fTraceArea
protected Checkbox fUseLoadingRunner
public TestRunner()
protected void addGrid(Panel p, Component co, int x, int y, int w, int fill, double wx, int anchor)
protected void clearStatus()
protected Panel createCounterPanel()
protected Menu createJUnitMenu()
protected void createMenus(MenuBar mb)
protected TestResult createTestResult()
protected Frame createUI(String suiteName)
public void failureSelected()
public Thread getRunner()
public static void main(String[] args)
public void rerun()
protected void reset()
public static void run(Class test)
protected void runFailed(String message)
public synchronized void runSuite()
public void setSuiteName(String suite)
public void start(String[] args)
public void testEnded(String testName)
public void testFailed(int status, Test test, Throwable t)
public void testStarted(String testName)