Package de.hybris.platform.order
Class AddNewEntryCornerCaseTest
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.servicelayer.ServicelayerBaseTest
-
- de.hybris.platform.servicelayer.ServicelayerTest
-
- de.hybris.platform.servicelayer.ServicelayerTransactionalTest
-
- de.hybris.platform.order.AddNewEntryCornerCaseTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class AddNewEntryCornerCaseTest extends ServicelayerTransactionalTest
Tests corner cases pointed out in PLA-10597.
-
-
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 AddNewEntryCornerCaseTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setUp()
void
testAddAtAvailableSlot()
void
testAddNewEntryAtHighEntryNumber()
void
testAddNewEntryRequiresSave()
void
testAddNewEntryToOrder()
void
testDoubleAdd()
void
testDoubleAddWithEntryInsert()
void
testDoubleAddWithEntryInsertAfterSave()
void
testNewEntryAddingInVariousOrder()
void
testPLA11234()
void
testRemoveEntryAppendEntry()
void
testReplaceRemovedEntry()
-
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() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testRemoveEntryAppendEntry
public void testRemoveEntryAppendEntry() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testReplaceRemovedEntry
public void testReplaceRemovedEntry() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testAddAtAvailableSlot
public void testAddAtAvailableSlot() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testDoubleAdd
public void testDoubleAdd() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testDoubleAddWithEntryInsert
public void testDoubleAddWithEntryInsert() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testDoubleAddWithEntryInsertAfterSave
public void testDoubleAddWithEntryInsertAfterSave() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testNewEntryAddingInVariousOrder
public void testNewEntryAddingInVariousOrder() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testAddNewEntryAtHighEntryNumber
public void testAddNewEntryAtHighEntryNumber() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testAddNewEntryRequiresSave
public void testAddNewEntryRequiresSave() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testAddNewEntryToOrder
public void testAddNewEntryToOrder() throws InvalidCartException
- Throws:
InvalidCartException
-
testPLA11234
public void testPLA11234() throws InvalidCartException
- Throws:
InvalidCartException
-
-