Package io.debezium.connector.oracle
Class OracleDdlParserTest
java.lang.Object
io.debezium.connector.oracle.OracleDdlParserTest
This is the test suite for Oracle Antlr parser unit testing
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate List<DdlParserListener.EventType>getEventTypesFromChanges(DdlChanges changes) voidsetUp()voidvoidvoidvoidvoidvoidvoidthis is original test by Gunnar Morlingvoidprivate voidtestColumn(@NotNull Table table, @NotNull String name, boolean isOptional, Integer jdbcType, String typeName, Integer length, Integer scale, Boolean hasDefault, Object defaultValue) void
-
Field Details
-
TABLE_NAME
- See Also:
-
PDB_NAME
- See Also:
-
parser
private io.debezium.connector.oracle.antlr.OracleDdlParser parser -
tables
-
-
Constructor Details
-
OracleDdlParserTest
public OracleDdlParserTest()
-
-
Method Details
-
setUp
public void setUp() -
shouldParseCreateAndAlterTable
- Throws:
Exception
-
shouldParseCreateTable
public void shouldParseCreateTable()this is original test by Gunnar Morling -
testParsingMultiStatementTableMetadataResult
- Throws:
Exception
-
shouldParseAlterTableAddColumnStatement
- Throws:
Exception
-
shouldParseAlterTableModifyColumnStatement
- Throws:
Exception
-
shouldParseAlterTableDropColumnStatement
- Throws:
Exception
-
shouldParseNumberAsteriskWithDefaultPrecision
- Throws:
Exception
-
shouldParseAlterTableWithoutDatatypeContextClause
@FixFor("DBZ-4976") public void shouldParseAlterTableWithoutDatatypeContextClause() throws Exception- Throws:
Exception
-
shouldParseCheckConstraint
- Throws:
Exception
-
getEventTypesFromChanges
-
testColumn
-