@Published public abstract class StandaloneTestSupportTemplate extends TestEventDispatcher
修飾子 | コンストラクタと説明 |
---|---|
protected |
StandaloneTestSupportTemplate()
コンストラクタ。
|
|
StandaloneTestSupportTemplate(Class<?> testClass)
コンストラクタ。
|
修飾子とタイプ | メソッドと説明 |
---|---|
protected void |
afterExecute()
全テストショット終了後の処理を行う。
|
protected void |
afterExecuteTestShot(TestShot shot)
テストショット実行後に必要な事後処理を行う。
|
protected void |
beforeExecute(String sheetName)
テスト実行前の処理を行う。
|
protected void |
beforeExecuteTestShot(TestShot shot)
テストショット実行前に必要な事前処理を行う。
|
protected abstract nablarch.test.core.standalone.TestShot.TestShotAround |
createTestShotAround(Class<?> testClass)
前準備、結果検証を行うクラスのインスタンスを生成する。
|
protected void |
execute()
テストを実行する。
|
void |
execute(String sheetName)
テストを実行する。
|
void |
execute(String sheetName,
boolean setUpPerTestShot)
テストを実行する。
|
void |
executeIntegrationTest(String sheetName)
結合テストを実行する。
|
getMethodName
protected final Class<?> testClass
public StandaloneTestSupportTemplate(Class<?> testClass)
testClass
- テストクラスprotected StandaloneTestSupportTemplate()
public final void execute(String sheetName)
sheetName
- シート名public final void execute(String sheetName, boolean setUpPerTestShot)
sheetName
- シート名setUpPerTestShot
- ショット毎にDBセットアップを行うかどうかpublic final void executeIntegrationTest(String sheetName)
sheetName
- シート名protected final void execute()
protected void beforeExecuteTestShot(TestShot shot)
shot
- 実行直前のテストショットprotected void afterExecuteTestShot(TestShot shot)
shot
- 実行直後のテストショットprotected abstract nablarch.test.core.standalone.TestShot.TestShotAround createTestShotAround(Class<?> testClass)
testClass
- テストクラスprotected void beforeExecute(String sheetName)
sheetName
- シート名protected void afterExecute()