public class WeldBaseTest extends OBBaseTest
DOLLAR, DOLLAR_ID, EURO, EURO_ID, QA_TEST_ADMIN_USER_ID, QA_TEST_CLIENT_ID, QA_TEST_ORG_ID, TEST_BP_CATEGORY_ID, TEST_CLIENT_ID, TEST_LOCATION_ID, TEST_ORDER_ID, TEST_ORG_ID, TEST_ORG_TREE, TEST_PRODUCT_ID, TEST_ROLE_ID, TEST_US_ORG_ID, TEST_USER_ID, TEST_WAREHOUSE_ID, TEST2_USER_ID, userIds, watchFailures
Constructor and Description |
---|
WeldBaseTest() |
Modifier and Type | Method and Description |
---|---|
static org.jboss.shrinkwrap.api.spec.JavaArchive |
createTestArchive() |
protected <U> U |
getWeldComponent(Class<U> clz) |
static void |
resetOBInterceptors()
Once we are done with the class execution, OBInterceptor needs to be reset other case when
executing a suite it will reuse the container created for the previous classes instead of the
new one.
|
void |
setUp()
Sets static instance bean manager in WeldUtils so it is globally accessible and initializes
kernel.
|
addReadWriteAccess, commitTransaction, count, getConnectionProvider, getOneInstance, getRandomUser, getTestLogAppender, initializeDalLayer, isErrorOccured, reportException, rollback, setDalUp, setSystemAdministratorContext, setTestAdminContext, setTestLogAppenderLevel, setTestUserContext, setUserContext, testDone
@Deployment public static org.jboss.shrinkwrap.api.spec.JavaArchive createTestArchive()
public void setUp() throws Exception
setUp
in class OBBaseTest
Exception
public static void resetOBInterceptors()
protected <U> U getWeldComponent(Class<U> clz)