public abstract class AbstractActionParserTest<T extends TestAction> extends AbstractBeanDefinitionParserTest
beanDefinitionContextcontext, testContextFactory| Constructor and Description |
|---|
AbstractActionParserTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
assertActionClassAndName(Class<T> actionClass,
String actionName)
Checks for test action to meet expected class and name.
|
protected void |
assertActionCount(int count)
Asserts the action count in test case.
|
protected T |
getNextTestActionFromTest()
Gets the next test action in list of action in test case.
|
protected TestCase |
getTestCase()
Gets the actual test case object from Spring application context.
|
createApplicationContext, parseBeanDefinitionscreateTestContext, prepareTestrun, setApplicationContext, springTestContextAfterTestClass, springTestContextAfterTestMethod, springTestContextBeforeTestClass, springTestContextBeforeTestMethod, springTestContextPrepareTestInstanceprotected TestCase getTestCase()
protected T getNextTestActionFromTest()
protected void assertActionClassAndName(Class<T> actionClass, String actionName)
actionClass - the action class.actionName - the action name.protected void assertActionCount(int count)
count - the number of expected test actions in test case.Copyright © 2008–2015 ConSol* Consulting&Solutions GmbH. All rights reserved.