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