Class DatabaseVersionResolverTest

java.lang.Object
io.debezium.junit.DatabaseVersionResolverTest

public class DatabaseVersionResolverTest extends Object
Unit test to verify that the functionality of DatabaseVersionResolver is accurate.
Author:
Chris Cranford
  • Field Details

  • Constructor Details

    • DatabaseVersionResolverTest

      public DatabaseVersionResolverTest()
  • Method Details

    • testAnnotationLessThanGivenMajorVersion

      public void testAnnotationLessThanGivenMajorVersion() throws Exception
      Throws:
      Exception
    • testAnnotationLessThanOrEqualGivenMajorVersion

      public void testAnnotationLessThanOrEqualGivenMajorVersion() throws Exception
      Throws:
      Exception
    • testAnnotationEqualToGivenMajorVersion

      public void testAnnotationEqualToGivenMajorVersion() throws Exception
      Throws:
      Exception
    • testAnnotationGreaterThanOrEqualToGivenMajorVersion

      public void testAnnotationGreaterThanOrEqualToGivenMajorVersion() throws Exception
      Throws:
      Exception
    • testAnnotationGreaterThanGivenMajorVersion

      public void testAnnotationGreaterThanGivenMajorVersion() throws Exception
      Throws:
      Exception
    • checkLessThan

      private boolean checkLessThan(int dbMajor, int dbMinor, int dbPatch, int major, int minor, int patch)
    • checkLessThanEqualTo

      private boolean checkLessThanEqualTo(int dbMajor, int dbMinor, int dbPatch, int major, int minor, int patch)
    • checkEqualTo

      private boolean checkEqualTo(int dbMajor, int dbMinor, int dbPatch, int major, int minor, int patch)
    • checkGreaterThanOrEqualTo

      private boolean checkGreaterThanOrEqualTo(int dbMajor, int dbMinor, int dbPatch, int major, int minor, int patch)
    • checkGreaterThan

      private boolean checkGreaterThan(int dbMajor, int dbMinor, int dbPatch, int major, int minor, int patch)