public class DurationCount extends Object implements TestDuration
TestDuration.TestProgress| Modifier and Type | Field and Description |
|---|---|
static long |
WARM_UP_COUNT |
| Constructor and Description |
|---|
DurationCount(String durationSpec) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canContinue(TestDuration.TestProgress progress)
Whether the test can continue based on the current test's progress
|
String |
durationTypeName()
Gets the type name for the duration (ie.: "time", "count", etc).
|
TestDuration |
getCoolDownDuration()
Get the cool down duration
|
long |
getNumericDuration()
Get the numeric time duration
|
TestDuration |
getWarmUpDuration()
Get the warm up duration
|
String |
toString() |
public DurationCount(String durationSpec)
public boolean canContinue(TestDuration.TestProgress progress)
TestDurationcanContinue in interface TestDurationprogress - current progressespublic long getNumericDuration()
TestDurationgetNumericDuration in interface TestDurationpublic TestDuration getWarmUpDuration()
TestDurationgetWarmUpDuration in interface TestDurationpublic TestDuration getCoolDownDuration()
TestDurationgetCoolDownDuration in interface TestDurationpublic String durationTypeName()
TestDurationdurationTypeName in interface TestDurationThis documentation was released into the public domain.