Class DbExportImportTest


@Tag("integration") public class DbExportImportTest extends AbstractServiceTest
  • Field Details

  • Constructor Details

    • DbExportImportTest

      public DbExportImportTest()
  • Method Details

    • setup

      @BeforeAll public static void setup() throws Exception
      Throws:
      Exception
    • testInsertBigIntIntoOracleIntField

      @Test public void testInsertBigIntIntoOracleIntField()
    • exportNullTimestampToCsv

      @Test public void exportNullTimestampToCsv() throws Exception
      Throws:
      Exception
    • exportTableInAnotherSchemaOnH2

      @Test public void exportTableInAnotherSchemaOnH2() throws Exception
      Throws:
      Exception
    • exportTestDatabaseSQL

      @Test public void exportTestDatabaseSQL() throws Exception
      Throws:
      Exception
    • exportThenImportXml

      @Test public void exportThenImportXml() throws Exception
      Throws:
      Exception
    • testExportTimestampWithTimeZone

      @Test public void testExportTimestampWithTimeZone() throws Exception
      Throws:
      Exception
    • createAndFillTimestampWithTimeZoneTable

      protected boolean createAndFillTimestampWithTimeZoneTable()
    • recreateImportTable

      protected void recreateImportTable()
    • assertCountDbImportTableRecords

      protected void assertCountDbImportTableRecords(int expected)
    • importSqlData

      @Test public void importSqlData() throws Exception
      Throws:
      Exception
    • importUniqueKeywordTable

      @Test public void importUniqueKeywordTable() throws Exception
      Throws:
      Exception
    • exportUniqueKeywordSqliteTable

      @Test public void exportUniqueKeywordSqliteTable() throws Exception
      Throws:
      Exception
    • importSymXmlData

      @Test public void importSymXmlData() throws Exception
      Throws:
      Exception
    • importXmlData

      @Test public void importXmlData() throws Exception
      Throws:
      Exception
    • exportThenImportCsv

      @Test public void exportThenImportCsv() throws Exception
      Throws:
      Exception
    • exportThenImportCsvWithBackslashes

      @Test public void exportThenImportCsvWithBackslashes() throws Exception
      Throws:
      Exception
    • testExportCsvToDirectory

      @Test public void testExportCsvToDirectory() throws Exception
      Throws:
      Exception
    • compareRows

      protected void compareRows(Table table, List<Row> one, List<Row> two)
    • findInList

      protected Row findInList(List<Row> rows, String pk, Object pkValue)