Package nablarch.test.core.messaging
Class MessagingReceiveTestSupport
java.lang.Object
nablarch.test.event.TestEventDispatcher
nablarch.test.core.standalone.StandaloneTestSupportTemplate
nablarch.test.core.messaging.MessagingRequestTestSupport
nablarch.test.core.messaging.MessagingReceiveTestSupport
メッセージ応答なし受信処理用のテストサポートクラス。
- Author:
- hisaaki sioiri
-
Field Summary
Fields inherited from class nablarch.test.core.messaging.MessagingRequestTestSupport
expectedMessages, setUpMessagesFields inherited from class nablarch.test.core.standalone.StandaloneTestSupportTemplate
testClassFields inherited from class nablarch.test.event.TestEventDispatcher
testName -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedコンストラクタ。 サブクラスから使用されることを想定している。MessagingReceiveTestSupport(Class<?> testClass) コンストラクタ。 -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbeforeExecute(String sheetName) テスト実行前の処理を行う。
サブクラスでオーバライドする。protected TestShot.TestShotAroundcreateTestShotAround(Class<?> testClass) 前準備、結果検証を行うクラスのインスタンスを生成する。Methods inherited from class nablarch.test.core.messaging.MessagingRequestTestSupport
afterExecuteTestShot, beforeExecuteTestShot, getFwHeaderDefinitionNameMethods inherited from class nablarch.test.core.standalone.StandaloneTestSupportTemplate
afterExecute, execute, execute, execute, executeIntegrationTestMethods inherited from class nablarch.test.event.TestEventDispatcher
dispatchEventOfAfterTestClass, dispatchEventOfAfterTestMethod, dispatchEventOfBeforeTestClassAndBeforeSuit, dispatchEventOfBeforeTestMethod, getMethodName
-
Constructor Details
-
MessagingReceiveTestSupport
protected MessagingReceiveTestSupport()コンストラクタ。 サブクラスから使用されることを想定している。 -
MessagingReceiveTestSupport
コンストラクタ。- Parameters:
testClass- テストクラス。
-
-
Method Details
-
createTestShotAround
前準備、結果検証を行うクラスのインスタンスを生成する。- Overrides:
createTestShotAroundin classMessagingRequestTestSupport- Parameters:
testClass- テストクラス- Returns:
- 生成したインスタンス
-
beforeExecute
テスト実行前の処理を行う。
サブクラスでオーバライドする。- Overrides:
beforeExecutein classMessagingRequestTestSupport- Parameters:
sheetName- シート名
-