|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jtiger.report.xml.TestResultBeanImpl
public final class TestResultBeanImpl
A bean that is used by the XML 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 testResult, message,
exception, elapsedTime, categories, testName, testDescription, testMethodName, testMethodParameterTypes,
fixtureName, fixtureDescription, and fixtureClass properties are equal, false otherwise. |
String[] |
getCategories()
Returns the categories property of the bean. |
Long |
getElapsedTime()
Returns the elapsedTime property of the bean. |
Throwable |
getException()
Returns the exception property of the bean. |
Class<?> |
getFixtureClass()
Returns the fixtureClass property of the bean. |
String |
getFixtureDescription()
Returns the fixtureDescription property of the bean. |
String |
getFixtureName()
Returns the fixtureName property of the bean. |
String |
getMessage()
Returns the message property of the bean. |
String |
getTestDescription()
Returns the testDescription property of the bean. |
String |
getTestMethodName()
Returns the testMethodName property of the bean. |
String |
getTestName()
Returns the testName property of the bean. |
String |
getTestResult()
Returns the testResult property of the bean. |
int |
hashCode()
Returns a hash code for this TestResultBeanImpl based on the testResult, message, exception, elapsedTime, categories, testName, testDescription, testMethodName, testMethodParameterTypes, fixtureName, fixtureDescription, and fixtureClass properties. |
void |
setCategories(String[] categories)
Sets the categories property of the bean. |
void |
setElapsedTime(Long elapsedTime)
Sets the elapsedTime property of the bean. |
void |
setException(Throwable exception)
Sets the exception property of the bean. |
void |
setFixtureClass(Class<?> fixtureClass)
Sets the fixtureClass property of the bean. |
void |
setFixtureDescription(String fixtureDescription)
Sets the fixtureDescription property of the bean. |
void |
setFixtureName(String fixtureName)
Sets the fixtureName property of the bean. |
void |
setMessage(String message)
Sets the message property of the bean. |
void |
setTestDescription(String testDescription)
Sets the testDescription property of the bean. |
void |
setTestMethodName(String testMethodName)
Sets the testMethodName property of the bean. |
void |
setTestName(String testName)
Sets the testName property of the bean. |
void |
setTestResult(String testResult)
Sets the testResult property of the bean. |
String |
toString()
Returns a java.lang.String representation of the bean, which consists of the testResult property, the message property, the exception property, the elapsedTime property, the categories property, the testName property, the testDescription property, the testMethodName property, the testMethodParameterTypes property, the fixtureName property, the fixtureDescription property, and the fixtureClass property. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TestResultBeanImpl()
Method Detail |
---|
public String getTestResult()
public void setTestResult(String testResult)
testResult
- The testResult property of the bean.public String getMessage()
public void setMessage(String message)
message
- The message property of the bean.public Throwable getException()
public void setException(Throwable exception)
exception
- The exception property of the bean.public Long getElapsedTime()
public void setElapsedTime(Long elapsedTime)
elapsedTime
- The elapsedTime property of the bean.public String[] getCategories()
public void setCategories(String[] categories)
categories
- The categories property of the bean.public String getTestName()
public void setTestName(String testName)
testName
- The testName property of the bean.public String getTestDescription()
public void setTestDescription(String testDescription)
testDescription
- The testDescription property of the bean.public String getTestMethodName()
public void setTestMethodName(String testMethodName)
testMethodName
- The testMethodName property of the bean.public String getFixtureName()
public void setFixtureName(String fixtureName)
fixtureName
- The fixtureName property of the bean.public String getFixtureDescription()
public void setFixtureDescription(String fixtureDescription)
fixtureDescription
- The fixtureDescription property of the bean.public Class<?> getFixtureClass()
public void setFixtureClass(Class<?> fixtureClass)
fixtureClass
- The fixtureClass property of the bean.public String toString()
toString
in class Object
public boolean equals(Object o)
true
iff the testResult, message,
exception, elapsedTime, categories, testName, testDescription, testMethodName, testMethodParameterTypes,
fixtureName, fixtureDescription, and fixtureClass properties are equal, false
otherwise.
equals
in class Object
o
- An instance of TestResultBeanImpl to compare for equality.
true
iff the testResult, message, exception, elapsedTime, categories, testName,
testDescription, testMethodName, testMethodParameterTypes, fixtureName, fixtureDescription, and fixtureClass
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 |