Package de.hybris.platform.impex.jalo
Class ImpExExportTest
java.lang.Object
de.hybris.platform.testframework.HybrisJUnit4Test
de.hybris.platform.impex.jalo.AbstractImpExTest
de.hybris.platform.impex.jalo.ImpExExportTest
- All Implemented Interfaces:
JaloSessionHolder
This test class contains all tests considering the export process of the impex extension.
-
Field Summary
Fields inherited from class de.hybris.platform.impex.jalo.AbstractImpExTest
english, german, utf8, windows1252Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidTests the alternative pattern syntax of header for export.voidScenario: execution of an script based export mode: strict input: script.voidTests the document ID column descriptor while import.voidvoidScenario: execution of an script based export mode: strict input: script.voidScenario: execution of an localized script based export mode: strict input: script.voidScenario: execution of an item collection mode: strict input: headerlibrary, item collection.voidTests a simple export of items.voidTests the "single file" export mode.voidvoidTests the document ID column descriptor while import.Methods inherited from class de.hybris.platform.impex.jalo.AbstractImpExTest
initJaloItems, setLegacyModeMethods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
Constructor Details
-
ImpExExportTest
public ImpExExportTest()
-
-
Method Details
-
testScriptBasedExport
Scenario: execution of an script based export mode: strict input: script. -
testScriptBasedLocalizedExport
public void testScriptBasedLocalizedExport() throws ImpExException, IOException, JaloBusinessExceptionScenario: execution of an localized script based export mode: strict input: script. -
testExportWithColumnOffset
public void testExportWithColumnOffset()Scenario: execution of an script based export mode: strict input: script. -
testSearchResultExport
public void testSearchResultExport()Scenario: execution of an item collection mode: strict input: headerlibrary, item collection. -
testAlternativePatterns
public void testAlternativePatterns()Tests the alternative pattern syntax of header for export. Exports aLinkusing theImpExCSVExportWriter, reads the exported string with aCSVReaderand compares it. -
testSimpleExport
public void testSimpleExport()Tests a simple export of items. Creates units, exports them using theImpExExportWriterand compares the resulting text with expected text. -
testExportWithDocumentID
public void testExportWithDocumentID()Tests the document ID column descriptor while import. -
testSingletonExport
public void testSingletonExport()Tests the document ID column descriptor while import. -
testLocalizedCollectionModification
- Throws:
Exception
-
testSingleFileExport
public void testSingleFileExport()Tests the "single file" export mode. -
testSingleFileExportWithColumnOffset
public void testSingleFileExportWithColumnOffset()
-