Class SapCartAndCatalogPricingIntegrationTest
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.sappricingbol.integrationtests.SapCartAndCatalogPricingIntegrationTest
@UnitTest
@ContextConfiguration(locations={"classpath:sappricingbol-spring.xml","classpath:test/sappricingbol-config-test-spring.xml","classpath:test/sappricingbol-cache-test-spring.xml","classpath:test/sapcorejco-test-spring.xml"})
public class SapCartAndCatalogPricingIntegrationTest
extends SapcorebolSpringJUnitTest
==============================================================
NOTE: Follow the steps below to run a new JCo recording
==============================================================
To run this integration test in the JCoRecMode.PLAYBACK mode, you do not need to do anything, just run it.
To run this integration test in the JCoRecMode.RECORDING mode, in this specific integration test case, follow the following steps:
1. Add this line of code to the method "RepositoryRecording100.populateEmptyTableLineType" in the beginning of the for loop at line 398.
if (rmd.getType(i) == 99 || rmd.getType(i) == 17) continue;
After you are done with your recoding, revert this change.
2. Insert the block below in the following two files:
File1: de.hybris.platform.sap.sappricingbol.integrationtests.SapCartAndCatalogPricingIntegrationTest.testPriceInformationForCart.xml after line number 772 and line number 127
File2: de.hybris.platform.sap.sappricingbol.integrationtests.SapCartAndCatalogPricingIntegrationTest.testPriceInformationForProducts.xml after line number 764 and line number 127
-
Field Summary
Fields inherited from class de.hybris.platform.sap.core.jco.rec.SapcoreJCoRecJUnitTest
DEFAULT_RELATIVE_RECORDING_DIRECTORY, name, watcherFields inherited from class de.hybris.platform.sap.core.test.SapcoreSpringJUnitTest
sapHybrisSessionProvider -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidvoidvoidMethods inherited from class de.hybris.platform.sap.core.jco.rec.SapcoreJCoRecJUnitTest
getRecordingAnnotation, getRecordingExtensionName, getRecordingMode, getRelativeRecordingDirectory, setUp, testFailed, testSucceededMethods inherited from class de.hybris.platform.sap.core.test.SapcoreSpringJUnitTest
getGenericFactory, tearDownMethods inherited from class de.hybris.platform.sap.core.test.SapcoretestSpringJUnitTest
getApplicationContext
-
Constructor Details
-
SapCartAndCatalogPricingIntegrationTest
public SapCartAndCatalogPricingIntegrationTest()
-
-
Method Details
-
setUpClass
- Throws:
IOException
-
testPriceInformationForCart
- Throws:
BusinessObjectException
-
testPriceInformationForProducts
- Throws:
BusinessObjectException
-