Package io.debezium.connector.oracle
Class OracleNumberOneIT
- java.lang.Object
-
- io.debezium.embedded.AbstractConnectorTest
-
- io.debezium.connector.oracle.OracleNumberOneIT
-
- All Implemented Interfaces:
Testing
public class OracleNumberOneIT extends AbstractConnectorTest
Tests the behavior ofNUMBER(1)data types.- Author:
- Chris Cranford
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class io.debezium.embedded.AbstractConnectorTest
AbstractConnectorTest.SourceRecords
-
Nested classes/interfaces inherited from interface io.debezium.util.Testing
Testing.Debug, Testing.Files, Testing.InterruptableFunction, Testing.Network, Testing.Print, Testing.Timer
-
-
Field Summary
Fields Modifier and Type Field Description private io.debezium.connector.oracle.OracleConnectionconnection-
Fields inherited from class io.debezium.embedded.AbstractConnectorTest
engine, logger, logTestName, OFFSET_STORE_PATH, pollTimeoutInMs, skipTestRule
-
-
Constructor Summary
Constructors Constructor Description OracleNumberOneIT()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafter()private voidassertRecordNumberValue(List<org.apache.kafka.connect.source.SourceRecord> records, int index, Object key, Object data, Object data2)voidbefore()private voidinsertDataBatchStartingAtKey(int initialKey)voidshouldHandleNumberOneAsBoolean()voidshouldHandleNumberOneAsNumber()-
Methods inherited from class io.debezium.embedded.AbstractConnectorTest
assertBeginTransaction, assertConfigurationErrors, assertConfigurationErrors, assertConfigurationErrors, assertConnectorIsRunning, assertConnectorNotRunning, assertDelete, assertEndTransaction, assertEngineIsRunning, assertHasNoSourceQuery, assertInsert, assertKey, assertNoConfigurationErrors, assertNoRecordsToConsume, assertOffset, assertOffset, assertOnlyTransactionRecordsToConsume, assertRecordTransactionMetadata, assertSchemaMatchesStruct, assertSchemaMatchesStruct, assertSourceQuery, assertTombstone, assertTombstone, assertUpdate, assertValueField, configValue, consumeAvailableRecords, consumeDmlRecordsByTopic, consumeDmlRecordsByTopic, consumeDmlRecordsByTopic, consumeRecord, consumeRecords, consumeRecords, consumeRecords, consumeRecordsByTopic, consumeRecordsByTopic, consumeRecordsByTopic, debug, getMaximumEnqueuedRecordCount, getSnapshotMetricsObjectName, getStreamingMetricsObjectName, getStreamingMetricsObjectName, getStreamingNamespace, initializeConnectorTestFramework, isStreamingRunning, isStreamingRunning, isTransactionRecord, loggingCompletion, print, readLastCommittedOffset, readLastCommittedOffsets, setConsumeTimeout, skipAvroValidation, start, start, start, start, start, startAndConsumeTillEnd, startAndConsumeTillEnd, stopConnector, stopConnector, validate, waitForAvailableRecords, waitForConnectorShutdown, waitForSnapshotToBeCompleted, waitForStreamingRunning, waitForStreamingRunning, waitTimeForRecords, waitTimeForRecordsAfterNulls
-
-
-
-
Method Detail
-
shouldHandleNumberOneAsNumber
@FixFor("DBZ-3208") public void shouldHandleNumberOneAsNumber() throws Exception
- Throws:
Exception
-
shouldHandleNumberOneAsBoolean
@FixFor("DBZ-3208") public void shouldHandleNumberOneAsBoolean() throws Exception
- Throws:
Exception
-
assertRecordNumberValue
private void assertRecordNumberValue(List<org.apache.kafka.connect.source.SourceRecord> records, int index, Object key, Object data, Object data2)
-
insertDataBatchStartingAtKey
private void insertDataBatchStartingAtKey(int initialKey) throws SQLException- Throws:
SQLException
-
-