jetbrains.buildServer.serverSide
Interface STest


public interface STest

Represents a single test in a project, provides information about responsibility.

Since:
6.5
Author:
Sergey Anchipolevsky, Maxim Podkolzine (maxim.podkolzine@jetbrains.com)
See Also:
STestRun

Method Summary
 CurrentMuteInfo getCurrentMuteInfo()
          Returns current test mute info.
 TestName getName()
          Returns associated (low-level) TestName object
 java.lang.String getProjectId()
          Returns related project id
 ResponsibilityEntry getResponsibility()
          Returns responsibility information for the test
 long getTestId()
          Deprecated. use getTestNameId() instead.
 long getTestNameId()
          Returns identifier of the test name.
 boolean isMuted()
          Determines whether this test is currently muted (in project or in build type).
 

Method Detail

getName

@NotNull
TestName getName()
Returns associated (low-level) TestName object

Returns:
associated TestName object

getTestNameId

long getTestNameId()
Returns identifier of the test name.

Returns:
test name identifier.

getTestId

@Deprecated
long getTestId()
Deprecated. use getTestNameId() instead.

Returns the id associated with this test

Returns:
test id

getProjectId

@NotNull
java.lang.String getProjectId()
Returns related project id

Returns:
related project id

getResponsibility

@Nullable
ResponsibilityEntry getResponsibility()
Returns responsibility information for the test

Returns:
responsibility information for the test

isMuted

boolean isMuted()
Determines whether this test is currently muted (in project or in build type).

The returned information is up-do-date on the moment of call only and can change at any moment.

Can be significantly faster than getCurrentMuteInfo() != null check.

Returns:
whether this test is muted.

getCurrentMuteInfo

@Nullable
CurrentMuteInfo getCurrentMuteInfo()
Returns current test mute info.

Returns:
current test mute info