Package io.debezium.connector.mysql
Class GtidSetTest
- java.lang.Object
-
- io.debezium.connector.mysql.GtidSetTest
-
public class GtidSetTest extends Object
- Author:
- Randall Hauch
-
-
Constructor Summary
Constructors Constructor Description GtidSetTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected 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)voidshouldCollapseAdjacentIntervals()voidshouldCorrectlyDetermineIfComplexGtidSetIsContainedWithinAnother()voidshouldCorrectlyDetermineIfComplexGtidSetWithVariousLineSeparatorsIsContainedWithinAnother()voidshouldCorrectlyDetermineIfSimpleGtidSetIsContainedWithinAnother()voidshouldCreateSetWithSingleInterval()voidshouldCreateWithMultipleIntervals()voidshouldCreateWithMultipleIntervalsThatMayBeAdjacent()voidshouldFilterServerUuids()voidshouldNotCollapseNonAdjacentIntervals()
-
-
-
Field Detail
-
UUID1
private static final String UUID1
- See Also:
- Constant Field Values
-
gtids
private io.debezium.connector.mysql.GtidSet gtids
-
-
Method Detail
-
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()
-
asertIntervalCount
protected void asertIntervalCount(String uuid, int count)
-
asertIntervalExists
protected void asertIntervalExists(String uuid, int start, int end)
-
asertFirstInterval
protected void asertFirstInterval(String uuid, int start, int end)
-
asertLastInterval
protected void asertLastInterval(String uuid, int start, int end)
-
hasInterval
protected boolean hasInterval(String uuid, int start, int end)
-
-