public class MySqlTaskContextTest extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Configuration |
config |
protected io.debezium.connector.mysql.MySqlTaskContext |
context |
protected String |
databaseName |
protected static Path |
DB_HISTORY_PATH |
protected String |
hostname |
protected String |
password |
protected int |
port |
protected int |
serverId |
protected String |
serverName |
protected String |
username |
| Constructor and Description |
|---|
MySqlTaskContextTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterEach() |
void |
beforeEach() |
void |
shouldCreateTaskFromConfigurationWithNeverSnapshotMode() |
void |
shouldCreateTaskFromConfigurationWithWhenNeededSnapshotMode() |
void |
shouldFilterAndMergeGtidSet() |
void |
shouldNotAllowBothGtidSetIncludesAndExcludes() |
void |
shouldUseGtidSetIncludes() |
void |
shouldUseGtidSetIncludesLiteralUuids() |
void |
shouldUseGtidSetxcludesLiteralUuids() |
protected Configuration.Builder |
simpleConfig() |
protected static final Path DB_HISTORY_PATH
protected String hostname
protected int port
protected String username
protected String password
protected int serverId
protected String serverName
protected String databaseName
protected Configuration config
protected io.debezium.connector.mysql.MySqlTaskContext context
public void beforeEach()
public void afterEach()
protected Configuration.Builder simpleConfig()
public void shouldCreateTaskFromConfigurationWithNeverSnapshotMode()
throws Exception
Exceptionpublic void shouldCreateTaskFromConfigurationWithWhenNeededSnapshotMode()
throws Exception
Exceptionpublic void shouldUseGtidSetIncludesLiteralUuids()
throws Exception
Exceptionpublic void shouldUseGtidSetxcludesLiteralUuids()
throws Exception
Exceptionpublic void shouldNotAllowBothGtidSetIncludesAndExcludes()
throws Exception
ExceptionCopyright © 2016 JBoss by Red Hat. All rights reserved.