Class MySqlSchemaTest

java.lang.Object
io.debezium.connector.mysql.legacy.MySqlSchemaTest

public class MySqlSchemaTest extends Object
Author:
Randall Hauch
  • Field Details

    • TEST_FILE_PATH

      private static final Path TEST_FILE_PATH
    • SERVER_NAME

      private static final String SERVER_NAME
      See Also:
    • build

      private Configurator build
    • mysql

      private io.debezium.connector.mysql.legacy.MySqlSchema mysql
    • source

      private io.debezium.connector.mysql.legacy.SourceInfo source
  • Constructor Details

    • MySqlSchemaTest

      public MySqlSchemaTest()
  • Method Details

    • beforeEach

      public void beforeEach()
    • afterEach

      public void afterEach()
    • shouldApplyDdlStatementsAndRecover

      public void shouldApplyDdlStatementsAndRecover() throws InterruptedException
      Throws:
      InterruptedException
    • shouldIgnoreUnparseableDdlAndRecover

      public void shouldIgnoreUnparseableDdlAndRecover() throws InterruptedException
      Throws:
      InterruptedException
    • shouldFailOnUnparseableDdl

      public void shouldFailOnUnparseableDdl() throws InterruptedException
      Throws:
      InterruptedException
    • shouldLoadSystemAndNonSystemTablesAndConsumeOnlyFilteredDatabases

      public void shouldLoadSystemAndNonSystemTablesAndConsumeOnlyFilteredDatabases() throws InterruptedException
      Throws:
      InterruptedException
    • shouldLoadSystemAndNonSystemTablesAndConsumeAllDatabases

      public void shouldLoadSystemAndNonSystemTablesAndConsumeAllDatabases() throws InterruptedException
      Throws:
      InterruptedException
    • shouldAllowDecimalPrecision

      public void shouldAllowDecimalPrecision()
    • assertTableIncluded

      protected void assertTableIncluded(String fullyQualifiedTableName)
    • assertTableExcluded

      protected void assertTableExcluded(String fullyQualifiedTableName)
    • assertNoTablesExistForDatabase

      protected void assertNoTablesExistForDatabase(String dbName)
    • assertTablesExistForDatabase

      protected void assertTablesExistForDatabase(String dbName)
    • assertHistoryRecorded

      protected void assertHistoryRecorded()
    • printStatements

      protected void printStatements(String dbName, Set<TableId> tables, String ddlStatements)
    • readFile

      protected String readFile(String classpathResource)