Class ExtractNewDocumentStateUpdateBitOperatorTestIT
- java.lang.Object
-
- io.debezium.embedded.AbstractConnectorTest
-
- io.debezium.connector.mongodb.transforms.AbstractExtractNewDocumentStateTestIT
-
- io.debezium.connector.mongodb.transforms.UpdateOperators.AbstractExtractNewDocumentStateUpdateOperatorsTestIT
-
- io.debezium.connector.mongodb.transforms.UpdateOperators.ExtractNewDocumentStateUpdateBitOperatorTestIT
-
- All Implemented Interfaces:
Testing
public class ExtractNewDocumentStateUpdateBitOperatorTestIT extends AbstractExtractNewDocumentStateUpdateOperatorsTestIT
Integration test forExtractNewDocumentState.This subset of tests cover the Bitwise Update Operator as in the official documentation {@see https://docs.mongodb.com/v3.6/reference/operator/update/bit/#bit}
- Author:
- Renato Mefi
-
-
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 inherited from class io.debezium.connector.mongodb.transforms.AbstractExtractNewDocumentStateTestIT
DB_NAME, SERVER_NAME, transformation
-
Fields inherited from class io.debezium.embedded.AbstractConnectorTest
engine, logger, logTestName, OFFSET_STORE_PATH, pollTimeoutInMs, skipTestRule
-
-
Constructor Summary
Constructors Constructor Description ExtractNewDocumentStateUpdateBitOperatorTestIT()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidshouldTransformOperationBitAnd()voidshouldTransformOperationBitOr()voidshouldTransformOperationBitXor()-
Methods inherited from class io.debezium.connector.mongodb.transforms.UpdateOperators.AbstractExtractNewDocumentStateUpdateOperatorsTestIT
executeSimpleUpdateOperation, getCollectionName
-
Methods inherited from class io.debezium.connector.mongodb.transforms.AbstractExtractNewDocumentStateTestIT
afterEach, beforeEach, beforeEach, getUpdateRecord, primary, restartConnectorWithoutEmittingTombstones, topicName
-
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, stopConnector, stopConnector, validate, waitForAvailableRecords, waitForConnectorShutdown, waitForSnapshotToBeCompleted, waitForStreamingRunning, waitForStreamingRunning, waitTimeForRecords, waitTimeForRecordsAfterNulls
-
-
-
-
Method Detail
-
shouldTransformOperationBitAnd
public void shouldTransformOperationBitAnd() throws InterruptedException- Throws:
InterruptedException- See Also:
- MongoDB operator update $bit AND
-
shouldTransformOperationBitOr
public void shouldTransformOperationBitOr() throws InterruptedException- Throws:
InterruptedException- See Also:
- MongoDB operator update $bit OR
-
shouldTransformOperationBitXor
public void shouldTransformOperationBitXor() throws InterruptedException- Throws:
InterruptedException- See Also:
- MongoDB operator update $bit XOR
-
-