Package de.hybris.platform.order.daos
Class OrderDaoTest
- java.lang.Object
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class OrderDaoTest extends ServicelayerTransactionalTest
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.servicelayer.ServicelayerTest
importService
-
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession
-
-
Constructor Summary
Constructors Constructor Description OrderDaoTest()
-
Method Summary
-
Methods inherited from class de.hybris.platform.servicelayer.ServicelayerTest
createCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNone
-
Methods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, getBeanName, prepareApplicationContextAndSession
-
Methods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
-
-
-
Method Detail
-
setUp
public void setUp()
-
tearDown
public void tearDown()
-
testFindOrdersByCurrencyForDefaultCart
public void testFindOrdersByCurrencyForDefaultCart()
-
testFindOrdersByCurrencyFoundForDefaultCart
public void testFindOrdersByCurrencyFoundForDefaultCart() throws InvalidCartException
- Throws:
InvalidCartException
-
testFindOrdersByCurrencyNotFoundForDefaultCart
public void testFindOrdersByCurrencyNotFoundForDefaultCart() throws InvalidCartException
- Throws:
InvalidCartException
-
testFindOrdersByDeliveryModeForDefaultCart
public void testFindOrdersByDeliveryModeForDefaultCart()
-
testFindOrdersByDeliveryModeFoundForDefaultCart
public void testFindOrdersByDeliveryModeFoundForDefaultCart() throws InvalidCartException
- Throws:
InvalidCartException
-
testFindOrdersByDeliveryModeNotFoundForDefaultCart
public void testFindOrdersByDeliveryModeNotFoundForDefaultCart() throws InvalidCartException
- Throws:
InvalidCartException
-
testFindOrdersByPaymentModeForDefaultCart
public void testFindOrdersByPaymentModeForDefaultCart()
-
testFindOrdersByPaymentModeFoundForDefaultCart
public void testFindOrdersByPaymentModeFoundForDefaultCart() throws InvalidCartException
- Throws:
InvalidCartException
-
testFindOrdersByPaymentModeNotFoundForDefaultCart
public void testFindOrdersByPaymentModeNotFoundForDefaultCart() throws InvalidCartException
- Throws:
InvalidCartException
-
shouldFindNoEntriesForNotExistingEntryNumberForDefaultCart
public void shouldFindNoEntriesForNotExistingEntryNumberForDefaultCart() throws InvalidCartException
- Throws:
InvalidCartException
-
shouldFindEntriesForExistingEntryNumberForDefaultCart
public void shouldFindEntriesForExistingEntryNumberForDefaultCart() throws InvalidCartException
- Throws:
InvalidCartException
-
shouldFindNoEntriesForInvalidEntryNumberRangeForDefaultCart
public void shouldFindNoEntriesForInvalidEntryNumberRangeForDefaultCart() throws InvalidCartException
- Throws:
InvalidCartException
-
shouldFindEntriesForValidEntryNumberRangeForDefaultCart
public void shouldFindEntriesForValidEntryNumberRangeForDefaultCart() throws InvalidCartException
- Throws:
InvalidCartException
-
shouldFindNoEntriesForUnknownProductForDefaultCart
public void shouldFindNoEntriesForUnknownProductForDefaultCart() throws InvalidCartException
- Throws:
InvalidCartException
-
shouldFindEntriesForValidProductForDefaultCart
public void shouldFindEntriesForValidProductForDefaultCart() throws InvalidCartException
- Throws:
InvalidCartException
-
testFindOrdersByCurrencyForInMemoryCart
public void testFindOrdersByCurrencyForInMemoryCart()
-
testFindOrdersByCurrencyFoundForInMemoryCart
public void testFindOrdersByCurrencyFoundForInMemoryCart() throws InvalidCartException
- Throws:
InvalidCartException
-
testFindOrdersByCurrencyNotFoundForInMemoryCart
public void testFindOrdersByCurrencyNotFoundForInMemoryCart() throws InvalidCartException
- Throws:
InvalidCartException
-
testFindOrdersByDeliveryModeForInMemoryCart
public void testFindOrdersByDeliveryModeForInMemoryCart()
-
testFindOrdersByDeliveryModeFoundForInMemoryCart
public void testFindOrdersByDeliveryModeFoundForInMemoryCart() throws InvalidCartException
- Throws:
InvalidCartException
-
testFindOrdersByDeliveryModeNotFoundForInMemoryCart
public void testFindOrdersByDeliveryModeNotFoundForInMemoryCart() throws InvalidCartException
- Throws:
InvalidCartException
-
testFindOrdersByPaymentModeForInMemoryCart
public void testFindOrdersByPaymentModeForInMemoryCart()
-
testFindOrdersByPaymentModeFoundForInMemoryCart
public void testFindOrdersByPaymentModeFoundForInMemoryCart() throws InvalidCartException
- Throws:
InvalidCartException
-
testFindOrdersByPaymentModeNotFoundForInMemoryCart
public void testFindOrdersByPaymentModeNotFoundForInMemoryCart() throws InvalidCartException
- Throws:
InvalidCartException
-
shouldFindNoEntriesForNotExistingEntryNumberForInMemoryCart
public void shouldFindNoEntriesForNotExistingEntryNumberForInMemoryCart() throws InvalidCartException
- Throws:
InvalidCartException
-
shouldFindEntriesForExistingEntryNumberForInMemoryCart
public void shouldFindEntriesForExistingEntryNumberForInMemoryCart() throws InvalidCartException
- Throws:
InvalidCartException
-
shouldFindNoEntriesForInvalidEntryNumberRangeForInMemoryCart
public void shouldFindNoEntriesForInvalidEntryNumberRangeForInMemoryCart() throws InvalidCartException
- Throws:
InvalidCartException
-
shouldFindEntriesForValidEntryNumberRangeForInMemoryCart
public void shouldFindEntriesForValidEntryNumberRangeForInMemoryCart() throws InvalidCartException
- Throws:
InvalidCartException
-
shouldFindNoEntriesForUnknownProductForInMemoryCart
public void shouldFindNoEntriesForUnknownProductForInMemoryCart() throws InvalidCartException
- Throws:
InvalidCartException
-
shouldFindEntriesForValidProductForInMemoryCart
public void shouldFindEntriesForValidProductForInMemoryCart() throws InvalidCartException
- Throws:
InvalidCartException
-
-