jetbrains.buildServer.tests
Class TestStartInfo

java.lang.Object
  extended by jetbrains.buildServer.tests.TestStartInfo

public class TestStartInfo
extends java.lang.Object

This class keeps some attributes related to the started test.

Since:
4.5

Constructor Summary
TestStartInfo(boolean captureStandardOutput, java.lang.Long startTimestamp, java.lang.String locationHint)
           
 
Method Summary
 java.lang.String getLocationHint()
           
 java.lang.Long getStartTimestamp()
           
 boolean isCaptureStandardOutput()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestStartInfo

public TestStartInfo(boolean captureStandardOutput,
                     java.lang.Long startTimestamp,
                     java.lang.String locationHint)
Parameters:
captureStandardOutput - true if TeamCity server should automatically collect test output between testStart and testFinished messages on the server side
startTimestamp - actual timestamp when test was started, can be passed via service message (or it will be taken from test start block timestamp instead)
locationHint - an optional hint for test opening in IDE, can be passed by particular test runner and should be with IDE plugin implementation
Method Detail

isCaptureStandardOutput

public boolean isCaptureStandardOutput()
Returns:
true if TeamCity server should automatically collect test output between testStart and testFinished messages

getStartTimestamp

public java.lang.Long getStartTimestamp()
Returns:
explicitly passed test start timestamp (or it will be taken from test start block timestamp instead)

getLocationHint

public java.lang.String getLocationHint()
Returns:
an optional hint for test opening in IDE, can be passed by particular test runner and should be with IDE plugin implementation