Package nablarch.test.core.integration
Class IntegrationTestSupport
java.lang.Object
nablarch.test.event.TestEventDispatcher
nablarch.test.core.integration.IntegrationTestSupport
結合テストサポートクラス。
-
Field Summary
Fields inherited from class nablarch.test.event.TestEventDispatcher
testName -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedコンストラクタ。IntegrationTestSupport(Class<?> testClass) コンストラクタ -
Method Summary
Modifier and TypeMethodDescriptionprotected AbstractHttpRequestTestTemplatecreateInstance(String baseUri) インスタンスを生成する。voidexecuteBatch(String sheetName) バッチ処理方式のテストを実行する。voidexecuteMessagingSync(String sheetName) メッセージ同期応答方式のテストを実行する。voidexecuteOnline(String sheetName, String baseUri) オンライン処理方式のテストを実行する。voidexecuteOnline(String sheetName, String baseUri, Advice advice) オンライン処理方式のテストを実行する。voidテストメソッド実行前にデータベースセットアップを実行する。Methods inherited from class nablarch.test.event.TestEventDispatcher
dispatchEventOfAfterTestClass, dispatchEventOfAfterTestMethod, dispatchEventOfBeforeTestClassAndBeforeSuit, dispatchEventOfBeforeTestMethod, getMethodName
-
Constructor Details
-
IntegrationTestSupport
コンストラクタ- Parameters:
testClass- テストクラス
-
IntegrationTestSupport
protected IntegrationTestSupport()コンストラクタ。
-
-
Method Details
-
setUpDbBeforeTestMethod
public void setUpDbBeforeTestMethod()テストメソッド実行前にデータベースセットアップを実行する。 -
executeBatch
バッチ処理方式のテストを実行する。- Parameters:
sheetName- シート名
-
executeMessagingSync
メッセージ同期応答方式のテストを実行する。- Parameters:
sheetName- シート名
-
executeOnline
オンライン処理方式のテストを実行する。- Parameters:
sheetName- シート名baseUri- ベースURI
-
executeOnline
オンライン処理方式のテストを実行する。- Parameters:
sheetName- シート名baseUri- ベースURIadvice- コールバック
-
createInstance
インスタンスを生成する。- Parameters:
baseUri- ベースURI- Returns:
- インスタンス
-