com.anasoft.os.daofusion.test
Class BaseHibernateCoreIntegrationTest
java.lang.Object
com.anasoft.os.daofusion.test.BaseHibernateIntegrationTest
com.anasoft.os.daofusion.test.BaseHibernateCoreIntegrationTest
- Direct Known Subclasses:
- AbstractHibernateEntityDaoTest, AbstractHibernateEnumerationDaoTest
@ContextConfiguration(locations="classpath:testContext-hibernate-coreIntegration.xml")
public abstract class BaseHibernateCoreIntegrationTest
- extends BaseHibernateIntegrationTest
Base class for core integration tests aimed
at standard persistent entity DAO implementations.
Core integration tests operate on the sample
eShop domain model defined within the
example subpackage.
Note that all configuration steps described
within the BaseHibernateIntegrationTest
must be followed by specific core integration
test subclasses.
- Author:
- vojtech.szocs
- See Also:
BaseHibernateIntegrationTest
Method Summary |
void |
setupTestData()
Set up the test data shared by all test cases. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONTEXT_LOCATION
protected static final java.lang.String CONTEXT_LOCATION
- See Also:
- Constant Field Values
countryDao
protected CountryDao countryDao
customerDao
protected CustomerDao customerDao
orderDao
protected OrderDao orderDao
orderItemDao
protected OrderItemDao orderItemDao
paymentTypeDao
protected PaymentTypeDao paymentTypeDao
stockItemCategoryDao
protected StockItemCategoryDao stockItemCategoryDao
stockItemDao
protected StockItemDao stockItemDao
COUNTRY_SLOVAKIA
protected static final java.lang.String COUNTRY_SLOVAKIA
- See Also:
- Constant Field Values
COUNTRY_JAPAN
protected static final java.lang.String COUNTRY_JAPAN
- See Also:
- Constant Field Values
STOCK_ITEM_CATEGORY_FOOD
protected static final java.lang.String STOCK_ITEM_CATEGORY_FOOD
- See Also:
- Constant Field Values
STOCK_ITEM_CATEGORY_FOOD_DESC
protected static final java.lang.String STOCK_ITEM_CATEGORY_FOOD_DESC
- See Also:
- Constant Field Values
STOCK_ITEM_CATEGORY_COMPUTERS
protected static final java.lang.String STOCK_ITEM_CATEGORY_COMPUTERS
- See Also:
- Constant Field Values
STOCK_ITEM_CATEGORY_COMPUTERS_DESC
protected static final java.lang.String STOCK_ITEM_CATEGORY_COMPUTERS_DESC
- See Also:
- Constant Field Values
TOTAL_COUNTRY_COUNT
protected static final int TOTAL_COUNTRY_COUNT
- See Also:
- Constant Field Values
TOTAL_STOCK_ITEM_CATEGORY_COUNT
protected static final int TOTAL_STOCK_ITEM_CATEGORY_COUNT
- See Also:
- Constant Field Values
TOTAL_CUSTOMER_COUNT
protected static final int TOTAL_CUSTOMER_COUNT
- See Also:
- Constant Field Values
TOTAL_ORDER_COUNT
protected static final int TOTAL_ORDER_COUNT
- See Also:
- Constant Field Values
ORDER_PER_CUSTOMER_COUNT
protected static final int ORDER_PER_CUSTOMER_COUNT
- See Also:
- Constant Field Values
ORDER_ITEM_PER_ORDER_COUNT
protected static final int ORDER_ITEM_PER_ORDER_COUNT
- See Also:
- Constant Field Values
TOTAL_ORDER_ITEM_COUNT
protected static final int TOTAL_ORDER_ITEM_COUNT
- See Also:
- Constant Field Values
customerOneId
protected java.lang.Long customerOneId
customerTwoId
protected java.lang.Long customerTwoId
customerOneEmail
protected java.lang.String customerOneEmail
orderOneShippingAddress
protected Address orderOneShippingAddress
CUSTOMER_ONE_EMAIL_PREFIX
protected static final java.lang.String CUSTOMER_ONE_EMAIL_PREFIX
- See Also:
- Constant Field Values
CUSTOMER_TWO_EMAIL_PREFIX
protected static final java.lang.String CUSTOMER_TWO_EMAIL_PREFIX
- See Also:
- Constant Field Values
CUSTOMER_EMAIL_SUFFIX
protected static final java.lang.String CUSTOMER_EMAIL_SUFFIX
- See Also:
- Constant Field Values
CUSTOMER_ONE_FIRST_NAME
protected static final java.lang.String CUSTOMER_ONE_FIRST_NAME
- See Also:
- Constant Field Values
CUSTOMER_TWO_FIRST_NAME
protected static final java.lang.String CUSTOMER_TWO_FIRST_NAME
- See Also:
- Constant Field Values
CUSTOMER_TWO_LAST_NAME_PREFIX
protected static final java.lang.String CUSTOMER_TWO_LAST_NAME_PREFIX
- See Also:
- Constant Field Values
BaseHibernateCoreIntegrationTest
public BaseHibernateCoreIntegrationTest()
setupTestData
public void setupTestData()
- Set up the test data shared by all test cases.
Copyright © 2008-2009 ANASOFT and contributors. All Rights Reserved.