public class VerifyContext extends Object
Constructor and Description |
---|
VerifyContext(TestContext testContext)
Creates a new instance.
|
VerifyContext(TestContext testContext,
Date testStarted)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
TestContext |
getTestContext()
Returns the corresponded test context.
|
Date |
getTestFinished()
Returns the test finished time.
|
Date |
getTestStarted()
Returns the test started time.
|
void |
setTestFinished(Date testFinished)
Set time when test was finished.
|
void |
testFinished()
Set current time as when test was finished.
|
public VerifyContext(TestContext testContext)
testContext
- the current test contextIllegalArgumentException
- if some parameters were null
public VerifyContext(TestContext testContext, Date testStarted)
testContext
- the current test contexttestStarted
- when test was startedIllegalArgumentException
- if some parameters were null
public TestContext getTestContext()
public void testFinished()
public void setTestFinished(Date testFinished)
testFinished
- the time to setIllegalArgumentException
- if some parameters were null
public Date getTestStarted()
public Date getTestFinished()
IllegalStateException
- if the test have not been finishedCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.