|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JTable
jsystem.treeui.TestReporterTable
Created by IntelliJ IDEA. User: michaelo Date: Dec 11, 2004 Time: 12:02:11 PM To change this template use File | Settings | File Templates.
Nested Class Summary |
Nested classes inherited from class javax.swing.JTable |
JTable.AccessibleJTable |
Nested classes inherited from class javax.swing.JComponent |
JComponent.AccessibleJComponent |
Nested classes inherited from class java.awt.Container |
Container.AccessibleAWTContainer |
Nested classes inherited from class java.awt.Component |
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary |
Fields inherited from class javax.swing.JComponent |
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
TestReporterTable()
Constructs a logger panel |
Method Summary | |
void |
aboutToChangeTo(Fixture fixture)
Will be called before the execution of the fixture. |
void |
addError(Test arg0,
Throwable arg1)
|
void |
addFailure(Test arg0,
AssertionFailedError arg1)
|
boolean |
asUI()
|
void |
clearTable()
Clear the table |
void |
clearTextArea()
Clear the text area |
void |
copy()
Copy selected text |
void |
endFixturring()
Is called after the fixture navigation ends. |
void |
endTest(Test test)
|
void |
fixtureChanged(Fixture fixture)
Will be called after the execution of the fixture. |
String |
getName()
Get the reporter unick name. |
void |
initReporterManager()
Launch the manager GUI. |
void |
report(String title,
String message,
boolean isPass,
boolean bold)
This method will be called by the ListenerManager when new report is added. |
void |
selectAll()
Select all text |
void |
setReportStatus(boolean success,
boolean bold)
Set the report status (pass/fail) |
void |
startFixturring()
Is called before the fixture navigation is started. |
void |
startTest(Test test)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public TestReporterTable()
Method Detail |
public void clearTextArea()
public void selectAll()
public void copy()
public void setReportStatus(boolean success, boolean bold)
success
- booleanpublic void report(String title, String message, boolean isPass, boolean bold)
TestReporter
report
in interface TestReporter
title
- the report title.message
- the report messageisPass
- true if passbold
- true if boldpublic void initReporterManager()
TestReporter
initReporterManager
in interface TestReporter
public boolean asUI()
asUI
in interface TestReporter
public String getName()
TestReporter
getName
in interface TestReporter
public void clearTable()
public void addError(Test arg0, Throwable arg1)
addError
in interface TestListener
public void addFailure(Test arg0, AssertionFailedError arg1)
addFailure
in interface TestListener
public void endTest(Test test)
endTest
in interface TestListener
public void startTest(Test test)
startTest
in interface TestListener
public void aboutToChangeTo(Fixture fixture)
FixtureListener
aboutToChangeTo
in interface FixtureListener
fixture
- The fixture that is going to be executed.public void fixtureChanged(Fixture fixture)
FixtureListener
fixtureChanged
in interface FixtureListener
fixture
- The fixture that was executed.public void startFixturring()
FixtureListener
startFixturring
in interface FixtureListener
public void endFixturring()
FixtureListener
endFixturring
in interface FixtureListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |