Package org.broadleafcommerce.test
Class BaseTest
java.lang.Object
org.springframework.test.context.testng.AbstractTestNGSpringContextTests
org.broadleafcommerce.test.BaseTest
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware,org.testng.IHookable,org.testng.ITestNGListener
@Rollback
@ContextHierarchy(@ContextConfiguration(name="commonRoot",locations={"classpath*:/blc-config/admin/bl-*-applicationContext.xml","classpath*:/blc-config/site/bl-*-applicationContext.xml","classpath:bl-applicationContext-test-security.xml","classpath:bl-applicationContext-test.xml"}))
@WebAppConfiguration
@TestExecutionListeners(org.springframework.test.context.transaction.TransactionalTestExecutionListener.class)
@Deprecated
public abstract class BaseTest
extends org.springframework.test.context.testng.AbstractTestNGSpringContextTests
Deprecated.
- Author:
- Phillip Verheyden (phillipuniverse)
-
Field Summary
FieldsFields inherited from class org.springframework.test.context.testng.AbstractTestNGSpringContextTests
applicationContext, logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.springframework.context.ApplicationContextDeprecated.Methods inherited from class org.springframework.test.context.testng.AbstractTestNGSpringContextTests
run, setApplicationContext, springTestContextAfterTestClass, springTestContextAfterTestMethod, springTestContextBeforeTestClass, springTestContextBeforeTestMethod, springTestContextPrepareTestInstance
-
Field Details
-
em
protected jakarta.persistence.EntityManager emDeprecated.
-
-
Constructor Details
-
BaseTest
public BaseTest()Deprecated.
-
-
Method Details
-
getContext
protected org.springframework.context.ApplicationContext getContext()Deprecated.
-
TestNGAdminIntegrationSetuporTestNGSiteIntegrationSetup