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
@IntegrationTest public class ImpExExportTest extends AbstractImpExTest
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, windows1252
-
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession
-
-
Constructor Summary
Constructors Constructor Description ImpExExportTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidtestAlternativePatterns()Tests the alternative pattern syntax of header for export.voidtestExportWithColumnOffset()Scenario: execution of an script based export mode: strict input: script.voidtestExportWithDocumentID()Tests the document ID column descriptor while import.voidtestLocalizedCollectionModification()voidtestScriptBasedExport()Scenario: execution of an script based export mode: strict input: script.voidtestScriptBasedLocalizedExport()Scenario: execution of an localized script based export mode: strict input: script.voidtestSearchResultExport()Scenario: execution of an item collection mode: strict input: headerlibrary, item collection.voidtestSimpleExport()Tests a simple export of items.voidtestSingleFileExport()Tests the "single file" export mode.voidtestSingleFileExportWithColumnOffset()voidtestSingletonExport()Tests the document ID column descriptor while import.-
Methods inherited from class de.hybris.platform.impex.jalo.AbstractImpExTest
initJaloItems, setLegacyMode
-
Methods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
-
-
-
Method Detail
-
testScriptBasedExport
public void testScriptBasedExport() throws ImpExException, java.io.IOException, JaloBusinessExceptionScenario: execution of an script based export mode: strict input: script.- Throws:
ImpExExceptionjava.io.IOExceptionJaloBusinessException
-
testScriptBasedLocalizedExport
public void testScriptBasedLocalizedExport() throws ImpExException, java.io.IOException, JaloBusinessExceptionScenario: execution of an localized script based export mode: strict input: script.- Throws:
ImpExExceptionjava.io.IOExceptionJaloBusinessException
-
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
public void testLocalizedCollectionModification() throws java.lang.Exception- Throws:
java.lang.Exception
-
testSingleFileExport
public void testSingleFileExport()
Tests the "single file" export mode.
-
testSingleFileExportWithColumnOffset
public void testSingleFileExportWithColumnOffset()
-
-