Class MySqlSchemaTest
java.lang.Object
io.debezium.connector.mysql.legacy.MySqlSchemaTest
- Author:
- Randall Hauch
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Configuratorprivate io.debezium.connector.mysql.legacy.MySqlSchemaprivate static final Stringprivate io.debezium.connector.mysql.legacy.SourceInfoprivate static final Path -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected voidprotected voidassertNoTablesExistForDatabase(String dbName) protected voidassertTableExcluded(String fullyQualifiedTableName) protected voidassertTableIncluded(String fullyQualifiedTableName) protected voidassertTablesExistForDatabase(String dbName) voidprotected voidprintStatements(String dbName, Set<TableId> tables, String ddlStatements) protected Stringvoidvoidvoidvoidvoidvoid
-
Field Details
-
TEST_FILE_PATH
-
SERVER_NAME
- See Also:
-
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
- Throws:
InterruptedException
-
shouldIgnoreUnparseableDdlAndRecover
- Throws:
InterruptedException
-
shouldFailOnUnparseableDdl
- Throws:
InterruptedException
-
shouldLoadSystemAndNonSystemTablesAndConsumeOnlyFilteredDatabases
public void shouldLoadSystemAndNonSystemTablesAndConsumeOnlyFilteredDatabases() throws InterruptedException- Throws:
InterruptedException
-
shouldLoadSystemAndNonSystemTablesAndConsumeAllDatabases
- Throws:
InterruptedException
-
shouldAllowDecimalPrecision
public void shouldAllowDecimalPrecision() -
assertTableIncluded
-
assertTableExcluded
-
assertNoTablesExistForDatabase
-
assertTablesExistForDatabase
-
assertHistoryRecorded
protected void assertHistoryRecorded() -
printStatements
-
readFile
-