Package Model
Class TesterModel
java.lang.Object
Model.TesterModel
public class TesterModel
extends java.lang.Object
This is the Model class for the entire program. It uses Java
Reflection to retrive all Classes from the given TestClass
and tests all the methods that start with ''test''. It also
invokes the setUp and tearDown method for every test run to
assure the tests are correct. It also controls if the TestClass
actually implements the standards for TestClass. If not it will
do nothing.
-
Constructor Summary
Constructors Constructor Description TesterModel() -
Method Summary
Modifier and Type Method Description java.lang.StringgetResult()voidtestClasses(java.lang.String className)The main public method of the Class which can be called on with a appropriate className given as param.
-
Constructor Details
-
TesterModel
public TesterModel()
-
-
Method Details
-
testClasses
public void testClasses(java.lang.String className)The main public method of the Class which can be called on with a appropriate className given as param.- Parameters:
className- the TestClass to be tested.
-
getResult
public java.lang.String getResult()
-