Package io.debezium.connector.oracle
Class OracleDdlParserTest
- java.lang.Object
-
- io.debezium.connector.oracle.OracleDdlParserTest
-
public class OracleDdlParserTest extends Object
This is the test suite for Oracle Antlr parser unit testing
-
-
Constructor Summary
Constructors Constructor Description OracleDdlParserTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()voidshouldParseAlterTableAddColumnStatement()voidshouldParseAlterTableDropColumnStatement()voidshouldParseAlterTableModifyColumnStatement()voidshouldParseCreateAndAlterTable()voidshouldParseCreateTable()this is original test by Gunnar Morlingprivate voidtestColumn(@NotNull Table table, @NotNull String name, boolean isOptional, Integer jdbcType, String typeName, Integer length, Integer scale, Boolean hasDefault, Object defaultValue)voidtestParsingMultiStatementTableMetadataResult()
-
-
-
Field Detail
-
TABLE_NAME
private static final String TABLE_NAME
- See Also:
- Constant Field Values
-
PDB_NAME
private static final String PDB_NAME
- See Also:
- Constant Field Values
-
parser
private io.debezium.connector.oracle.antlr.OracleDdlParser parser
-
tables
private Tables tables
-
-
Method Detail
-
setUp
public void setUp()
-
shouldParseCreateAndAlterTable
public void shouldParseCreateAndAlterTable() throws Exception- Throws:
Exception
-
shouldParseCreateTable
public void shouldParseCreateTable()
this is original test by Gunnar Morling
-
testParsingMultiStatementTableMetadataResult
public void testParsingMultiStatementTableMetadataResult() throws Exception- Throws:
Exception
-
shouldParseAlterTableAddColumnStatement
@FixFor("DBZ-4135") public void shouldParseAlterTableAddColumnStatement() throws Exception
- Throws:
Exception
-
shouldParseAlterTableModifyColumnStatement
@FixFor("DBZ-4135") public void shouldParseAlterTableModifyColumnStatement() throws Exception
- Throws:
Exception
-
shouldParseAlterTableDropColumnStatement
@FixFor("DBZ-4135") public void shouldParseAlterTableDropColumnStatement() throws Exception
- Throws:
Exception
-
-