jetbrains.buildServer.serverSide
Class FailedTestOutputBean

java.lang.Object
  extended by jetbrains.buildServer.serverSide.FailedTestOutputBean

public abstract class FailedTestOutputBean
extends java.lang.Object

Represents the set of a test failure info


Constructor Summary
FailedTestOutputBean()
           
 
Method Summary
abstract  java.lang.String getCombinedOutput()
          Presents test failure info in human readable way.
abstract  TestComparisonFailureBean getComparisonFailureInfo()
          Returs info if the test has failed because of comparison problem is reported by calling DefaultMessagesInfo.createComparisonFailed(java.lang.String, java.lang.Throwable, java.lang.String, java.lang.String) methods or sending equal build message.
abstract  java.lang.String getErrOutput()
          All text that was printed to stderr by the test
abstract  java.lang.String getStacktrace()
          Test failure exception presented as string
abstract  java.lang.String getStacktraceMessage()
          Returns exception message
abstract  java.lang.String getStdOutput()
          All text that was printed to stdout by the test
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FailedTestOutputBean

public FailedTestOutputBean()
Method Detail

getComparisonFailureInfo

@Nullable
public abstract TestComparisonFailureBean getComparisonFailureInfo()
Returs info if the test has failed because of comparison problem is reported by calling DefaultMessagesInfo.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

public abstract java.lang.String getStdOutput()
All text that was printed to stdout by the test

Returns:
test stdout

getErrOutput

public abstract java.lang.String getErrOutput()
All text that was printed to stderr by the test

Returns:
test stderr

getStacktrace

public abstract java.lang.String getStacktrace()
Test failure exception presented as string

Returns:
exception string

getStacktraceMessage

public abstract java.lang.String getStacktraceMessage()
Returns exception message

Returns:
exception message

getCombinedOutput

public abstract java.lang.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.