Class 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.
  • Constructor Details

    • ImpExExportTest

      public ImpExExportTest()
  • Method Details

    • testScriptBasedExport

      public void testScriptBasedExport() throws ImpExException, IOException, JaloBusinessException
      Scenario: execution of an script based export mode: strict input: script.
      Throws:
      ImpExException
      IOException
      JaloBusinessException
    • testScriptBasedLocalizedExport

      public void testScriptBasedLocalizedExport() throws ImpExException, IOException, JaloBusinessException
      Scenario: execution of an localized script based export mode: strict input: script.
      Throws:
      ImpExException
      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 a Link using the ImpExCSVExportWriter, reads the exported string with a CSVReader and compares it.
    • testSimpleExport

      public void testSimpleExport()
      Tests a simple export of items. Creates units, exports them using the ImpExExportWriter 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 Exception
      Throws:
      Exception
    • testSingleFileExport

      public void testSingleFileExport()
      Tests the "single file" export mode.
    • testSingleFileExportWithColumnOffset

      public void testSingleFileExportWithColumnOffset()