|
JET | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Tester
An interface to the built-in tester that can load a bytecode file to perfrom unit testing.
| Method Summary | |
|---|---|
void |
addClassFileChangeListener(ClassFileChangeListener l)
Registers the given class file change listener. |
JMenu |
createTestMenu(FileActionFactory fa,
ToolActionFactory ta,
String title)
Creates a menu for the Test Menu. |
ExplorerComponent |
getExplorerView()
Returns the view to be added to the explorer pane. |
OptionPanel |
getOptionPanel()
Returns the option panel of this tester. |
JComponent |
getView()
Returns the view of this tester. |
boolean |
loadFile(File classFile)
Loads the given class file file to this tester,
and returns true if the file was successfully opened. |
void |
setDropTarget(DropTarget dropTarget)
Associates a drop target with this tester so that it accepts drops of class files. |
void |
setHideViewAction(AbstractAction action)
Given the action that closes this editor's view, provides an appropriate user interface for it, such as a popup menu. |
void |
setSourceCodeViewer(SourceCodeViewer viewer)
Sets the the source code viewer to locate and highlight the source code lines corresponding to the error messages obtained from the test case generation tool. |
| Method Detail |
|---|
JComponent getView()
JPanel.
ExplorerComponent getExplorerView()
OptionPanel getOptionPanel()
boolean loadFile(File classFile)
file to this tester,
and returns true if the file was successfully opened. The
public methods of the loaded class will be displayed by the
tester.
void addClassFileChangeListener(ClassFileChangeListener l)
void setSourceCodeViewer(SourceCodeViewer viewer)
void setDropTarget(DropTarget dropTarget)
void setHideViewAction(AbstractAction action)
JMenu createTestMenu(FileActionFactory fa,
ToolActionFactory ta,
String title)
|
JET | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||