|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--de.uds.cs.st.dd.core.tester.JUnitTester | +--de.uds.cs.st.dd.core.tester.JUnitFileTester
In conjunction with JUnitTester, this tester is used for automatic file testing of JUnit tests. The specified configuration will be written to a file which will be read from the JUnit test. The test outcome will then be determined. *
Field Summary | |
private String |
fileName
Stores the original filename of the test file. |
Fields inherited from class de.uds.cs.st.dd.core.tester.JUnitTester |
PRECISION_HIGH, PRECISION_LOW, PRECISION_NORMAL, testObject, time |
Constructor Summary | |
JUnitFileTester()
Creates a new JUnitFileTester object. |
|
JUnitFileTester(String fileName)
Creates a new JUnitFileTester object that operates on the specified * filename. |
|
JUnitFileTester(String fileName,
junit.framework.Test testObject)
Creates a new JUnitFileTester object that operates on the specified * filename and starts the test(s) of the test object. |
Method Summary | |
String |
getFileName()
|
void |
setFileName(String fileName)
Sets the filename of the input file. |
int |
test(TConfiguration c)
Tests a given configuration by writing the contents of it (characters) * into the test file and then calling the test method of the super class * (JUnitTester). |
Methods inherited from class de.uds.cs.st.dd.core.tester.JUnitTester |
getTestObject, setPrecision, setTestObject, setThrowable |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private String fileName
Constructor Detail |
public JUnitFileTester()
public JUnitFileTester(String fileName)
public JUnitFileTester(String fileName, junit.framework.Test testObject)
Method Detail |
public int test(TConfiguration c)
test
in interface Tester
test
in class JUnitTester
public String getFileName()
public void setFileName(String fileName)
fileName
- the filename to set.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |