Package jetbrains.buildServer.tests
Class TestStartInfo
- java.lang.Object
-
- jetbrains.buildServer.tests.TestStartInfo
-
public class TestStartInfo extends Object
This class keeps some attributes related to the started test.- Since:
- 4.5
-
-
Constructor Summary
Constructors Constructor Description TestStartInfo(boolean captureStandardOutput, Long startTimestamp, String locationHint)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetLocationHint()LonggetStartTimestamp()inthashCode()booleanisCaptureStandardOutput()
-
-
-
Constructor Detail
-
TestStartInfo
public TestStartInfo(boolean captureStandardOutput, Long startTimestamp, String locationHint)- Parameters:
captureStandardOutput- true if TeamCity server should automatically collect test output between testStart and testFinished messages on the server sidestartTimestamp- 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 Long getStartTimestamp()
- Returns:
- explicitly passed test start timestamp (or it will be taken from test start block timestamp instead)
-
getLocationHint
public 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
-
-