|
JET | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.utep.cs.et.gui.tester.DefaultTester
edu.utep.cs.et.gui.tester.ExperimentTester
public class ExperimentTester
A test class that also collects and prints test statistics. This class is used to experiment and measure the performance of different testing strategies and methods.
| Field Summary | |
|---|---|
private int |
meaningfull
Number of meaningless test cases. |
private int |
meaningless
Number of meaningfull test cases. |
private int |
redundant
Number of meaningfull test cases. |
private int |
total
Total number of test generation attempts. |
| Constructor Summary | |
|---|---|
ExperimentTester()
Creates a new instance. |
|
| Method Summary | |
|---|---|
protected TestCaseGenerationListener |
createTestCaseGenerationListener(EtMethod emeth)
Creates a test case generation listener for testing the given method. |
protected void |
doTest(Collection meths)
Tests all the methods contained in the given collecton. |
protected boolean |
enableStatDialog()
Overridden here to disable the test statistics dialog. |
private void |
experiment(AbstractAction action,
ActionEvent e)
Performs the given test action with the given action event while collecting test statistics. |
protected AbstractAction |
getPopTest()
Overridden here to collect test statistics. |
protected AbstractAction |
getPopTestAll()
Overridden here to collect test statistics. |
protected AbstractAction |
getPopTestDeclared()
Overridden here to collect test statistics. |
protected AbstractAction |
getPopTestInherited()
Overridden here to collect test statistics. |
private void |
reset()
Resets variables that collect test statistics. |
| Methods inherited from class edu.utep.cs.et.gui.tester.DefaultTester |
|---|
addClassFileChangeListener, classBeingOpened, doTest, getExplorerView, getOptionPanel, getView, loadFile, methodSelected, setCloseViewAction, setDropTarget, setSourceCodeViewer |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private int total
private int meaningfull
private int meaningless
private int redundant
| Constructor Detail |
|---|
public ExperimentTester()
| Method Detail |
|---|
protected TestCaseGenerationListener createTestCaseGenerationListener(EtMethod emeth)
createTestCaseGenerationListener in class DefaultTesterprotected boolean enableStatDialog()
enableStatDialog in class DefaultTesterprotected AbstractAction getPopTestAll()
getPopTestAll in class DefaultTesterprotected AbstractAction getPopTest()
getPopTest in class DefaultTesterprotected AbstractAction getPopTestInherited()
getPopTestInherited in class DefaultTesterprotected AbstractAction getPopTestDeclared()
getPopTestDeclared in class DefaultTesterprotected void doTest(Collection meths)
doTest in class DefaultTester
private void experiment(AbstractAction action,
ActionEvent e)
private void reset()
|
JET | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||