public class MySqlSchemaTest extends Object
| Modifier and Type | Field and Description |
|---|---|
private Configurator |
build |
private io.debezium.connector.mysql.MySqlSchema |
mysql |
private static String |
SERVER_NAME |
private io.debezium.connector.mysql.SourceInfo |
source |
private static Path |
TEST_FILE_PATH |
| Constructor and Description |
|---|
MySqlSchemaTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterEach() |
protected void |
assertHistoryRecorded() |
protected void |
assertNoTablesExistForDatabase(String dbName) |
protected void |
assertTableExcluded(String fullyQualifiedTableName) |
protected void |
assertTableIncluded(String fullyQualifiedTableName) |
protected void |
assertTablesExistForDatabase(String dbName) |
void |
beforeEach() |
protected void |
printStatements(String dbName,
String ddlStatements) |
protected String |
readFile(String classpathResource) |
void |
shouldApplyDdlStatementsAndRecover() |
void |
shouldLoadSystemAndNonSystemTablesAndConsumeAllDatabases() |
void |
shouldLoadSystemAndNonSystemTablesAndConsumeOnlyFilteredDatabases() |
private static final Path TEST_FILE_PATH
private static final String SERVER_NAME
private Configurator build
private io.debezium.connector.mysql.MySqlSchema mysql
private io.debezium.connector.mysql.SourceInfo source
public void beforeEach()
public void afterEach()
public void shouldApplyDdlStatementsAndRecover()
public void shouldLoadSystemAndNonSystemTablesAndConsumeOnlyFilteredDatabases()
public void shouldLoadSystemAndNonSystemTablesAndConsumeAllDatabases()
protected void assertTableIncluded(String fullyQualifiedTableName)
protected void assertTableExcluded(String fullyQualifiedTableName)
protected void assertNoTablesExistForDatabase(String dbName)
protected void assertTablesExistForDatabase(String dbName)
protected void assertHistoryRecorded()
Copyright © 2016 JBoss by Red Hat. All rights reserved.