Class SqlServerConnectionIT


  • public class SqlServerConnectionIT
    extends Object
    Integration test for SqlServerConnection
    Author:
    Horia Chiorean (hchiorea@redhat.com)
    • Field Detail

      • databaseZoneOffset

        private ZoneOffset databaseZoneOffset
    • Constructor Detail

      • SqlServerConnectionIT

        public SqlServerConnectionIT()
    • Method Detail

      • shouldEnableCdcForDatabase

        public void shouldEnableCdcForDatabase()
                                        throws Exception
        Throws:
        Exception
      • shouldEnableCdcWithWrapperFunctionsForTable

        public void shouldEnableCdcWithWrapperFunctionsForTable()
                                                         throws Exception
        Throws:
        Exception
      • shouldProperlyGetDefaultColumnValues

        @FixFor("DBZ-1491")
        public void shouldProperlyGetDefaultColumnValues()
                                                  throws Exception
        Throws:
        Exception
      • shouldProperlyGetDefaultColumnNullValues

        @FixFor("DBZ-2698")
        public void shouldProperlyGetDefaultColumnNullValues()
                                                      throws Exception
        Throws:
        Exception
      • assertColumnHasNotDefaultValue

        private void assertColumnHasNotDefaultValue​(Table table,
                                                    String columnName)
      • assertColumnHasDefaultValue

        private void assertColumnHasDefaultValue​(Table table,
                                                 String columnName,
                                                 Object expectedValue)