Package com.avoka.tm.test
Class JUnitTestException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.avoka.tm.test.JUnitTestException
-
- All Implemented Interfaces:
java.io.Serializable
public class JUnitTestException extends java.lang.RuntimeException
Provides a runtime exception for unit testing.
- Since:
- 5.1.4
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JUnitTestException(org.junit.runner.Result result, java.lang.String xmlReport)
Construct junit runtime exception based on result.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.junit.runner.Result
getResult()
Get JUnit result object.java.lang.String
getXmlReport()
Get xml report.java.lang.String
toString()
Return a string representation of this object.
-
-
-
Method Detail
-
getResult
public org.junit.runner.Result getResult()
Get JUnit result object.- Returns:
- JUnit result object
-
getXmlReport
public java.lang.String getXmlReport()
Get xml report.- Returns:
- xml report
-
toString
public java.lang.String toString()
Return a string representation of this object.- Overrides:
toString
in classjava.lang.Throwable
- Returns:
- a string representation of this object.
-
-