Class MySqlSchemaTest


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

      • TEST_FILE_PATH

        private static final Path TEST_FILE_PATH
      • mysql

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

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

      • MySqlSchemaTest

        public MySqlSchemaTest()
    • Method Detail

      • beforeEach

        public void beforeEach()
      • afterEach

        public void afterEach()
      • shouldLoadSystemAndNonSystemTablesAndConsumeOnlyFilteredDatabases

        public void shouldLoadSystemAndNonSystemTablesAndConsumeOnlyFilteredDatabases()
                                                                               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)