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 void
testAlternativePatterns()
Tests the alternative pattern syntax of header for export.void
testExportWithColumnOffset()
Scenario: execution of an script based export mode: strict input: script.void
testExportWithDocumentID()
Tests the document ID column descriptor while import.void
testLocalizedCollectionModification()
void
testScriptBasedExport()
Scenario: execution of an script based export mode: strict input: script.void
testScriptBasedLocalizedExport()
Scenario: execution of an localized script based export mode: strict input: script.void
testSearchResultExport()
Scenario: execution of an item collection mode: strict input: headerlibrary, item collection.void
testSimpleExport()
Tests a simple export of items.void
testSingleFileExport()
Tests the "single file" export mode.void
testSingleFileExportWithColumnOffset()
void
testSingletonExport()
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, JaloBusinessException
Scenario: execution of an script based export mode: strict input: script.- Throws:
ImpExException
java.io.IOException
JaloBusinessException
-
testScriptBasedLocalizedExport
public void testScriptBasedLocalizedExport() throws ImpExException, java.io.IOException, JaloBusinessException
Scenario: execution of an localized script based export mode: strict input: script.- Throws:
ImpExException
java.io.IOException
JaloBusinessException
-
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 aLink
using theImpExCSVExportWriter
, reads the exported string with aCSVReader
and compares it.
-
testSimpleExport
public void testSimpleExport()
Tests a simple export of items. Creates units, exports them using theImpExExportWriter
and 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()
-
-