Class TestCase
- java.lang.Object
-
- com.zebrunner.agent.core.registrar.TestCase
-
public final class TestCase extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTestCase.SystemTestCaseStatus
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringSYNC_ENABLEDstatic java.lang.StringSYNC_REAL_TIMEstatic java.lang.StringTEST_RUN_ID
-
Constructor Summary
Constructors Constructor Description TestCase()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voiddisableSync()static voidenableRealTimeSync()static voidsetTestCaseKey(java.lang.String testCaseKey)static voidsetTestCaseStatus(java.lang.String testCaseKey, java.lang.String resultStatus)Sets the given status for the given test case.static voidsetTestRunId(java.lang.String id)
-
-
-
Field Detail
-
SYNC_ENABLED
public static final java.lang.String SYNC_ENABLED
- See Also:
- Constant Field Values
-
SYNC_REAL_TIME
public static final java.lang.String SYNC_REAL_TIME
- See Also:
- Constant Field Values
-
TEST_RUN_ID
public static final java.lang.String TEST_RUN_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
disableSync
public static void disableSync()
-
enableRealTimeSync
public static void enableRealTimeSync()
-
setTestRunId
public static void setTestRunId(java.lang.String id)
-
setTestCaseKey
public static void setTestCaseKey(java.lang.String testCaseKey)
-
setTestCaseStatus
public static void setTestCaseStatus(java.lang.String testCaseKey, java.lang.String resultStatus)Sets the given status for the given test case.- Parameters:
testCaseKey- key of the test caseresultStatus- name of the status to be set for the test case- See Also:
TestCase.SystemTestCaseStatus,TestCase.SystemTestCaseStatus
-
-