|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jtiger.report.html.TestResultBeanImpl
public final class TestResultBeanImpl
A bean that is used by the HTML result handler
to produce a report.
Constructor Summary | |
---|---|
TestResultBeanImpl()
Create a default TestResultBeanImpl. |
Method Summary | |
---|---|
boolean |
equals(Object o)
Compares two instance of TestResultBeanImpl returning true iff the name, exception,
elapsedTime, message, methodName, description, and result properties are equal, false otherwise. |
String |
getDescription()
Returns the description property of the bean. |
String |
getElapsedTime()
Returns the elapsedTime property of the bean. |
String |
getException()
Returns the exception property of the bean. |
String |
getMessage()
Returns the message property of the bean. |
String |
getMethodName()
Returns the methodName property of the bean. |
String |
getName()
Returns the name property of the bean. |
String |
getResult()
Returns the result property of the bean. |
int |
hashCode()
Returns a hash code for this TestResultBeanImpl based on the name, exception, elapsedTime, message, methodName, description, and result properties. |
void |
setDescription(String description)
Sets the description property of the bean. |
void |
setElapsedTime(String elapsedTime)
Sets the elapsedTime property of the bean. |
void |
setException(String exception)
Sets the exception property of the bean. |
void |
setMessage(String message)
Sets the message property of the bean. |
void |
setMethodName(String methodName)
Sets the methodName property of the bean. |
void |
setName(String name)
Sets the name property of the bean. |
void |
setResult(String result)
Sets the result property of the bean. |
String |
toString()
Returns a java.lang.String representation of the bean, which consists of the name property, the exception property, the elapsedTime property, the message property, the methodName property, the description property, and the result property. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TestResultBeanImpl()
Method Detail |
---|
public String getName()
public void setName(String name)
name
- The name property of the bean.public String getException()
public void setException(String exception)
exception
- The exception property of the bean.public String getElapsedTime()
public void setElapsedTime(String elapsedTime)
elapsedTime
- The elapsedTime property of the bean.public String getMessage()
public void setMessage(String message)
message
- The message property of the bean.public String getMethodName()
public void setMethodName(String methodName)
methodName
- The methodName property of the bean.public String getDescription()
public void setDescription(String description)
description
- The description property of the bean.public String getResult()
public void setResult(String result)
result
- The result property of the bean.public String toString()
toString
in class Object
public boolean equals(Object o)
true
iff the name, exception,
elapsedTime, message, methodName, description, and result properties are equal, false
otherwise.
equals
in class Object
o
- An instance of TestResultBeanImpl to compare for equality.
true
iff the name, exception, elapsedTime, message, methodName, description, and result
properties are equal, false
otherwise.public int hashCode()
hashCode
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |