@TransactionConfiguration(transactionManager="blTransactionManager",
defaultRollback=true)
@TestExecutionListeners(inheritListeners=false,
value={MergeDependencyInjectionTestExecutionListener.class,org.springframework.test.context.support.DirtiesContextTestExecutionListener.class,MergeTransactionalTestExecutionListener.class})
public abstract class BaseTest
extends org.springframework.test.context.testng.AbstractTestNGSpringContextTests
| Modifier and Type | Field and Description |
|---|---|
protected javax.persistence.EntityManager |
em |
protected static org.broadleafcommerce.common.extensibility.context.MergeClassPathXMLApplicationContext |
mergeContext |
protected static List<String> |
moduleContexts |
| Constructor and Description |
|---|
BaseTest() |
| Modifier and Type | Method and Description |
|---|---|
static org.broadleafcommerce.common.extensibility.context.MergeClassPathXMLApplicationContext |
getContext() |
protected static List<String> |
getModuleContexts() |
run, setApplicationContext, springTestContextAfterTestClass, springTestContextAfterTestMethod, springTestContextBeforeTestClass, springTestContextBeforeTestMethod, springTestContextPrepareTestInstanceCopyright © 2020. All rights reserved.