Constructor and Description |
---|
TestCaseBuilder() |
Modifier and Type | Method and Description |
---|---|
TestCase |
build() |
TestCase.TestCaseBuilder |
withCycles(List<TestCycle> cycles)
Sets cycles.
|
TestCase.TestCaseBuilder |
withElapsedTime(String elapsedTimeInMillSec)
Sets test duration.
|
TestCase.TestCaseBuilder |
withId(String id)
Sets the id.
|
TestCase.TestCaseBuilder |
withName(String name)
Sets the name.
|
TestCase.TestCaseBuilder |
withStart(String start)
Sets test start moment as Date.
|
TestCase.TestCaseBuilder |
withState(String state)
Sets test finish state.
|
TestCase.TestCaseBuilder |
withStop(String stop)
Sets test stop moment as Date.
|
TestCase.TestCaseBuilder |
withSuiteName(String suiteName)
Sets parent suite name.
|
public TestCase.TestCaseBuilder withName(String name)
name
- namepublic TestCase.TestCaseBuilder withId(String id)
id
- idpublic TestCase.TestCaseBuilder withSuiteName(String suiteName)
suiteName
- suite namepublic TestCase.TestCaseBuilder withCycles(List<TestCycle> cycles)
cycles
- cyclespublic TestCase.TestCaseBuilder withStart(String start)
start
- string timestamp in yyyy-MM-dd'T'HH:mm:ss-SSSS formatpublic TestCase.TestCaseBuilder withStop(String stop)
stop
- string timestamp in yyyy-MM-dd'T'HH:mm:ss-SSSS formatpublic TestCase.TestCaseBuilder withElapsedTime(String elapsedTimeInMillSec)
elapsedTimeInMillSec
- string test durationpublic TestCase.TestCaseBuilder withState(String state)
state
- statepublic TestCase build()
Copyright © 2016–2022 CA Technologies. All rights reserved.