Class BatchIntegrationTest
java.lang.Object
de.hybris.platform.testframework.HybrisJUnit4Test
de.hybris.platform.servicelayer.ServicelayerBaseTest
de.hybris.platform.servicelayer.ServicelayerTest
de.hybris.platform.yacceleratorcore.batch.task.BatchIntegrationTest
- All Implemented Interfaces:
JaloSessionHolder
Integration test for
ImpexTransformerTask and AbstractImpexRunnerTask-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static interfaceprotected static class -
Field Summary
Fields inherited from class de.hybris.platform.servicelayer.ServicelayerTest
importServiceFields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcreateFile(File file, Long productId, BatchIntegrationTest.FileContent fileContent) protected BatchHeadercreateHeader(File file) protected ProductModelprocessFile(Long productId, String filePrefix, BatchIntegrationTest.FileContent content) voidsetUp()voidtearDown()voidvoidvoidvoidvoidvoidtestTax()voidprotected voidverifyMedia(MediaModel media, String format) Methods inherited from class de.hybris.platform.servicelayer.ServicelayerTest
createCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNoneMethods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, getBeanName, prepareApplicationContextAndSessionMethods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
Constructor Details
-
BatchIntegrationTest
public BatchIntegrationTest()
-
-
Method Details
-
setUp
- Throws:
Exception
-
tearDown
public void tearDown() -
testBasicProduct
- Throws:
Exception
-
testPrice
- Throws:
Exception
-
testStock
- Throws:
Exception
-
testTax
- Throws:
Exception
-
testMerchandise
- Throws:
Exception
-
testMedia
- Throws:
Exception
-
testVariant
- Throws:
Exception
-
verifyMedia
-
processFile
protected ProductModel processFile(Long productId, String filePrefix, BatchIntegrationTest.FileContent content) throws Exception - Throws:
Exception
-
createHeader
-
createFile
protected void createFile(File file, Long productId, BatchIntegrationTest.FileContent fileContent) throws IOException - Throws:
IOException
-