Package io.debezium.connector.mysql
Class GtidSetTest
java.lang.Object
io.debezium.connector.mysql.GtidSetTest
- Author:
- Randall Hauch
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidasertFirstInterval(String uuid, int start, int end) protected voidasertIntervalCount(String uuid, int count) protected voidasertIntervalExists(String uuid, int start, int end) protected voidasertLastInterval(String uuid, int start, int end) protected booleanhasInterval(String uuid, int start, int end) voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidsubtract()
-
Field Details
-
UUID1
- See Also:
-
gtids
private io.debezium.connector.mysql.GtidSet gtids
-
-
Constructor Details
-
GtidSetTest
public GtidSetTest()
-
-
Method Details
-
shouldCreateSetWithSingleInterval
public void shouldCreateSetWithSingleInterval() -
shouldCollapseAdjacentIntervals
public void shouldCollapseAdjacentIntervals() -
shouldNotCollapseNonAdjacentIntervals
public void shouldNotCollapseNonAdjacentIntervals() -
shouldCreateWithMultipleIntervals
public void shouldCreateWithMultipleIntervals() -
shouldCreateWithMultipleIntervalsThatMayBeAdjacent
public void shouldCreateWithMultipleIntervalsThatMayBeAdjacent() -
shouldCorrectlyDetermineIfSimpleGtidSetIsContainedWithinAnother
public void shouldCorrectlyDetermineIfSimpleGtidSetIsContainedWithinAnother() -
shouldCorrectlyDetermineIfComplexGtidSetIsContainedWithinAnother
public void shouldCorrectlyDetermineIfComplexGtidSetIsContainedWithinAnother() -
shouldCorrectlyDetermineIfComplexGtidSetWithVariousLineSeparatorsIsContainedWithinAnother
public void shouldCorrectlyDetermineIfComplexGtidSetWithVariousLineSeparatorsIsContainedWithinAnother() -
shouldFilterServerUuids
public void shouldFilterServerUuids() -
subtract
public void subtract() -
removeInterval
public void removeInterval() -
removeAllIntervals
public void removeAllIntervals() -
asertIntervalCount
-
asertIntervalExists
-
asertFirstInterval
-
asertLastInterval
-
hasInterval
-