Package jetbrains.buildServer.serverSide
Interface FailedTestOutputBean
-
- All Known Implementing Classes:
FailedTestOutputBeanImpl
public interface FailedTestOutputBean
Represents the set of a test failure info
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getCombinedOutput()
Presents test failure info in human readable way.TestComparisonFailureBean
getComparisonFailureInfo()
Returns info if the test has failed because of comparison problem is reported by callingDefaultMessagesInfo.createComparisonFailed(java.lang.String, java.lang.Throwable, java.lang.String, java.lang.String)
methods or sending equal build message.String
getErrOutput()
All text that was printed to stderr by the testString
getStacktrace()
Test failure exception presented as stringString
getStacktraceMessage()
Returns exception messageString
getStdOutput()
All text that was printed to stdout by the test
-
-
-
Method Detail
-
getComparisonFailureInfo
@Nullable TestComparisonFailureBean getComparisonFailureInfo()
Returns info if the test has failed because of comparison problem is reported by callingDefaultMessagesInfo.createComparisonFailed(java.lang.String, java.lang.Throwable, java.lang.String, java.lang.String)
methods or sending equal build message.- Returns:
- bean with actual and expected strings or null if there was no comparison failure
-
getStdOutput
String getStdOutput()
All text that was printed to stdout by the test- Returns:
- test stdout
-
getErrOutput
String getErrOutput()
All text that was printed to stderr by the test- Returns:
- test stderr
-
getStacktrace
String getStacktrace()
Test failure exception presented as string- Returns:
- exception string
-
getStacktraceMessage
String getStacktraceMessage()
Returns exception message- Returns:
- exception message
-
getCombinedOutput
String getCombinedOutput()
Presents test failure info in human readable way. Merges stacktrace, std out, std error- Returns:
- stacktrace, std out, std error combined to a single string with headers and new lines.
-
-