Class GtidSetTest

java.lang.Object
io.debezium.connector.mysql.GtidSetTest

public class GtidSetTest extends Object
Author:
Randall Hauch
  • Field Details

    • UUID1

      private static final String UUID1
      See Also:
    • gtids

      private io.debezium.connector.mysql.strategy.mysql.MySqlGtidSet 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

      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)