|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--de.web.databasesupport.tools.test.TestedMethod
Contains Information about a testrun on a method
Constructor Summary | |
TestedMethod(java.lang.String classname,
java.lang.String methodName)
Constructs a new TestedMethod - object and sets the classname of the tested class, the methodname of the tested method and signs it as a empty TestedMethod - object. |
|
TestedMethod(java.lang.String classname,
java.lang.String methodName,
java.lang.String methodDescription,
java.lang.String tester,
java.lang.String usedMethodDescription,
long date,
java.lang.String testClass)
Constructs a new TestedMethod - object and sets the classname of the tested class, the methodname of the tested method, the general description of the method, who tests this method the description how a tests will use this method and when the tests runs. |
Method Summary | |
java.lang.String |
getClassname()
Returns the classname of the tested class. |
long |
getDate()
Returns the date of the start of the test. |
java.lang.String |
getExceptionlog()
Returns the log of the throwns exception. |
java.lang.String |
getMethodDescription()
Returns the general method description. |
java.lang.String |
getMethodLog()
Returns the log of what the method has done. |
java.lang.String |
getMethodName()
Returns the methodname. |
java.lang.String[] |
getParameter()
Returns the parameter of the test. |
java.util.Vector |
getResultlog()
Returns a Vector with Strings containing all results the method has made. |
java.lang.String |
getTestClass()
Returns the classname of the tester class who generated the TestedMethod-object.. |
java.lang.String |
getTester()
Returns the testername. |
java.lang.String |
getUsedMethodDescription()
Returns the description how the method was used in the test. |
boolean |
isEmptyTestedMethod()
Returns if the TestedMethod is signed as empty. |
boolean |
isExistsResult()
Returns if a result exists. |
boolean |
isWithoutException()
Returns if there was no exception. |
void |
setExceptionlog(java.lang.String exceptionLog)
Sets the log of the thrown exceptions in the method. |
void |
setExistsResult(boolean existsResult)
Sets if there was a result generated by the tested method. |
void |
setMethodLog(java.lang.String methodLog)
Sets the log of the method. |
void |
setParameter(java.lang.String[] parameter)
Sets the used parameters of this TestedMethod-object. |
void |
setResultlog(java.util.Vector resultLog)
Sets the log of the results produced in the method. |
void |
setWithoutException(boolean withoutException)
Sets if there was no exception in the testrun of the method. |
Methods inherited from class java.lang.Object |
|
Constructor Detail |
public TestedMethod(java.lang.String classname, java.lang.String methodName)
classname
- The name of the tested class.methodName
- The name of the tested Method.public TestedMethod(java.lang.String classname, java.lang.String methodName, java.lang.String methodDescription, java.lang.String tester, java.lang.String usedMethodDescription, long date, java.lang.String testClass)
classname
- The name of the tested class.methodName
- The name of the tested Method.methodDescription
- The general description of the method.tester
- The name of the tester.usedMethodDescription
- The description how the tested method will be used.date
- The time of the beginning of the test.testClass
- The testerClass who generates the TestedMethod-object.Method Detail |
public java.lang.String getClassname()
public java.lang.String getTestClass()
public boolean isEmptyTestedMethod()
public java.lang.String getMethodDescription()
public void setParameter(java.lang.String[] parameter)
parameter
- The parameters used for the test.public java.lang.String getTester()
public void setMethodLog(java.lang.String methodLog)
methodLog
- The log of the method in the testrun.public void setExceptionlog(java.lang.String exceptionLog)
exceptionLog
- The log of the thrown exceptions in the testrun.public void setExistsResult(boolean existsResult)
existsResult
- If a result was generetad by the tested method.public void setWithoutException(boolean withoutException)
withoutException
- If there was no exception in the testrun of the method.public void setResultlog(java.util.Vector resultLog)
resultLog
- The log of the results produced in the method.public java.lang.String getMethodName()
public long getDate()
public java.lang.String getUsedMethodDescription()
public java.lang.String[] getParameter()
public java.lang.String getMethodLog()
public boolean isExistsResult()
public java.util.Vector getResultlog()
public boolean isWithoutException()
public java.lang.String getExceptionlog()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |