use of com.alibaba.otter.canal.parse.inbound.mysql.ddl.DdlResult in project canal by alibaba.
the class DdlResultTest method getTableNameOutputNull.
// Test written by Diffblue Cover.
@Test
public void getTableNameOutputNull() {
// Arrange
final DdlResult objectUnderTest = new DdlResult();
// Act
final String actual = objectUnderTest.getTableName();
// Assert result
Assert.assertNull(actual);
}
use of com.alibaba.otter.canal.parse.inbound.mysql.ddl.DdlResult in project canal by alibaba.
the class DdlResultTest method getRenameTableResultOutputNull.
// Test written by Diffblue Cover.
@Test
public void getRenameTableResultOutputNull() {
// Arrange
final DdlResult objectUnderTest = new DdlResult();
// Act
final DdlResult actual = objectUnderTest.getRenameTableResult();
// Assert result
Assert.assertNull(actual);
}
use of com.alibaba.otter.canal.parse.inbound.mysql.ddl.DdlResult in project canal by alibaba.
the class DdlResultTest method getOriTableNameOutputNull.
// Test written by Diffblue Cover.
@Test
public void getOriTableNameOutputNull() {
// Arrange
final DdlResult objectUnderTest = new DdlResult();
// Act
final String actual = objectUnderTest.getOriTableName();
// Assert result
Assert.assertNull(actual);
}
use of com.alibaba.otter.canal.parse.inbound.mysql.ddl.DdlResult in project canal by alibaba.
the class DdlResultTest method getTypeOutputNull.
// Test written by Diffblue Cover.
@Test
public void getTypeOutputNull() {
// Arrange
final DdlResult objectUnderTest = new DdlResult();
// Act
final EventType actual = objectUnderTest.getType();
// Assert result
Assert.assertNull(actual);
}
use of com.alibaba.otter.canal.parse.inbound.mysql.ddl.DdlResult in project canal by alibaba.
the class DdlResultTest method setOriSchemaNameInputNotNullOutputVoid.
// Test written by Diffblue Cover.
@Test
public void setOriSchemaNameInputNotNullOutputVoid() {
// Arrange
final DdlResult objectUnderTest = new DdlResult();
final String oriSchemaName = "3";
// Act
objectUnderTest.setOriSchemaName(oriSchemaName);
// Assert side effects
Assert.assertEquals("3", objectUnderTest.getOriSchemaName());
}
Aggregations