Class IssueTestCase
java.lang.Object
org.junitpioneer.jupiter.IssueTestCase
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionIssueTestCase(String testId, org.junit.platform.engine.TestExecutionResult.Status result) IssueTestCase(String testId, org.junit.platform.engine.TestExecutionResult.Status result, long elapsedTime) IssueTestCase(String testId, org.junit.platform.engine.TestExecutionResult.Status result, Optional<Long> elapsedTime) -
Method Summary
Modifier and TypeMethodDescriptionReturns the elapsed time since the start of test methods' execution in milliseconds.booleaninthashCode()org.junit.platform.engine.TestExecutionResult.Statusresult()Returns the result of the test methods' execution.testId()Returns the unique name of the test method.toString()
-
Field Details
-
NO_RESULT_EXCEPTION_MESSAGE
- See Also:
-
testId
-
result
private final org.junit.platform.engine.TestExecutionResult.Status result -
elapsedTime
-
-
Constructor Details
-
IssueTestCase
-
IssueTestCase
- Parameters:
testId- Unique name of the test methodresult- Result of the execution
-
IssueTestCase
public IssueTestCase(String testId, org.junit.platform.engine.TestExecutionResult.Status result, long elapsedTime) - Parameters:
testId- Unique name of the test methodresult- Result of the executionelapsedTime- The duration of test execution
-
-
Method Details
-
testId
Returns the unique name of the test method.- Returns:
- Unique name of the test method
-
result
public org.junit.platform.engine.TestExecutionResult.Status result()Returns the result of the test methods' execution.- Returns:
- Result of the test methods' execution.
-
elapsedTime
-
equals
-
hashCode
-
toString
-