public class MySqlTaskContextIT extends Object
| Modifier and Type | Field and Description |
|---|---|
private Configuration |
config |
private io.debezium.connector.mysql.MySqlTaskContext |
context |
private String |
databaseName |
private static Path |
DB_HISTORY_PATH |
private String |
hostname |
private String |
password |
private int |
port |
private int |
serverId |
private String |
serverName |
private String |
username |
| Constructor and Description |
|---|
MySqlTaskContextIT() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterEach() |
protected void |
assertCanConnectToJdbc() |
protected void |
assertConnectedToJdbc() |
protected void |
assertNotConnectedToJdbc() |
void |
beforeEach() |
void |
shouldCloseJdbcConnectionOnShutdown() |
void |
shouldCreateTaskFromConfiguration() |
void |
shouldCreateTaskFromConfigurationWithNeverSnapshotMode() |
void |
shouldCreateTaskFromConfigurationWithWhenNeededSnapshotMode() |
protected Configuration.Builder |
simpleConfig() |
private static final Path DB_HISTORY_PATH
private String hostname
private int port
private String username
private String password
private int serverId
private String serverName
private String databaseName
private Configuration config
private io.debezium.connector.mysql.MySqlTaskContext context
public void beforeEach()
public void afterEach()
protected Configuration.Builder simpleConfig()
public void shouldCreateTaskFromConfiguration()
throws Exception
Exceptionpublic void shouldCreateTaskFromConfigurationWithNeverSnapshotMode()
throws Exception
Exceptionpublic void shouldCreateTaskFromConfigurationWithWhenNeededSnapshotMode()
throws Exception
Exceptionpublic void shouldCloseJdbcConnectionOnShutdown()
throws Exception
Exceptionprotected void assertCanConnectToJdbc()
throws SQLException
SQLExceptionprotected void assertConnectedToJdbc()
throws SQLException
SQLExceptionprotected void assertNotConnectedToJdbc()
throws SQLException
SQLExceptionCopyright © 2016 JBoss by Red Hat. All rights reserved.