Class GtidSetTest


  • public class GtidSetTest
    extends Object
    Author:
    Randall Hauch
    • Constructor Detail

      • GtidSetTest

        public GtidSetTest()
    • 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()
      • subtract

        public void subtract()
      • 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)