Class BasketImplTest
- java.lang.Object
-
- de.hybris.platform.sap.core.test.SapcoretestSpringJUnitTest
-
- de.hybris.platform.sap.core.test.SapcoreSpringJUnitTest
-
- de.hybris.platform.sap.core.jco.test.SapcoreJCoJUnitTest
-
- de.hybris.platform.sap.core.jco.rec.SapcoreJCoRecJUnitTest
-
- de.hybris.platform.sap.core.bol.test.SapcorebolSpringJUnitTest
-
- de.hybris.platform.sap.sapordermgmtbol.unittests.base.SapordermanagmentBolSpringJunitTest
-
- de.hybris.platform.sap.sapordermgmtbol.transaction.basket.businessobject.impl.BasketImplTest
-
@UnitTest public class BasketImplTest extends SapordermanagmentBolSpringJunitTest
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.sap.core.jco.rec.SapcoreJCoRecJUnitTest
DEFAULT_RELATIVE_RECORDING_DIRECTORY, name, watcher
-
Fields inherited from class de.hybris.platform.sap.core.test.SapcoreSpringJUnitTest
genericFactory, sapHybrisSessionProvider
-
-
Constructor Summary
Constructors Constructor Description BasketImplTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()Standard test setUp method.voidtest_getTotalQuantity_empty()voidtest_getTotalQuantity_normalItems()voidtest_getTotalQuantity_normalItemsWithEmptyItem()voidtestBackendDown()voidtestPrepareItemsWithChangedProducts_ChangedProduct()voidtestPrepareItemsWithChangedProducts_UnChangedProduct()voidtestRead()voidtestRead_dirty()voidtestRead_notConsistent()voidtestReadForUpdate()voidtestReadForUpdate_dirty()voidtestReleaseBackendService()voidtestReleaseHeader()voidtestReleaseItems()voidtestReleaseMessages()voidtestRemoveEmptyItemsFromItemList()voidtestRemoveEmptyItemsFromItemList_removeExistingItem()voidtestSaveAndCommit_false()voidtestSaveAndCommit_true()voidtestUpdate()-
Methods inherited from class de.hybris.platform.sap.core.jco.rec.SapcoreJCoRecJUnitTest
getRecordingAnnotation, getRecordingExtensionName, getRecordingMode, getRelativeRecordingDirectory, testFailed, testSucceeded
-
Methods inherited from class de.hybris.platform.sap.core.test.SapcoreSpringJUnitTest
getGenericFactory, tearDown
-
Methods inherited from class de.hybris.platform.sap.core.test.SapcoretestSpringJUnitTest
getApplicationContext
-
-
-
-
Method Detail
-
setUp
public void setUp()
Description copied from class:SapcoretestSpringJUnitTestStandard test setUp method.- Overrides:
setUpin classSapcoreJCoRecJUnitTest
-
testPrepareItemsWithChangedProducts_ChangedProduct
public void testPrepareItemsWithChangedProducts_ChangedProduct() throws CommunicationException- Throws:
CommunicationException
-
testPrepareItemsWithChangedProducts_UnChangedProduct
public void testPrepareItemsWithChangedProducts_UnChangedProduct() throws CommunicationException- Throws:
CommunicationException
-
testSaveAndCommit_false
public void testSaveAndCommit_false() throws CommunicationException, BackendException
-
testSaveAndCommit_true
public void testSaveAndCommit_true() throws CommunicationException, BackendException
-
testRead
public void testRead() throws CommunicationException, BackendException
-
testReadForUpdate
public void testReadForUpdate() throws CommunicationException, BackendException
-
testRead_dirty
public void testRead_dirty() throws CommunicationException, BackendException
-
testReadForUpdate_dirty
public void testReadForUpdate_dirty() throws CommunicationException, BackendException
-
testRead_notConsistent
public void testRead_notConsistent() throws CommunicationException, BackendException
-
testUpdate
public void testUpdate() throws CommunicationException, BackendException
-
testRemoveEmptyItemsFromItemList
public void testRemoveEmptyItemsFromItemList()
-
testRemoveEmptyItemsFromItemList_removeExistingItem
public void testRemoveEmptyItemsFromItemList_removeExistingItem()
-
test_getTotalQuantity_empty
public void test_getTotalQuantity_empty() throws java.lang.Exception- Throws:
java.lang.Exception
-
test_getTotalQuantity_normalItems
public void test_getTotalQuantity_normalItems() throws java.lang.Exception- Throws:
java.lang.Exception
-
test_getTotalQuantity_normalItemsWithEmptyItem
public void test_getTotalQuantity_normalItemsWithEmptyItem() throws java.lang.Exception- Throws:
java.lang.Exception
-
testReleaseBackendService
public void testReleaseBackendService() throws BackendException, CommunicationException
-
testReleaseHeader
public void testReleaseHeader() throws CommunicationException- Throws:
CommunicationException
-
testReleaseItems
public void testReleaseItems() throws CommunicationException- Throws:
CommunicationException
-
testReleaseMessages
public void testReleaseMessages() throws CommunicationException- Throws:
CommunicationException
-
testBackendDown
public void testBackendDown()
-
-