Class TableSchemaBuilderTest


  • public class TableSchemaBuilderTest
    extends Object
    • Field Detail

      • id

        private final io.debezium.relational.TableId id
      • data

        private final Object[] data
      • keyData

        private final Object[] keyData
      • table

        private io.debezium.relational.Table table
      • c1

        private io.debezium.relational.Column c1
      • c2

        private io.debezium.relational.Column c2
      • c3

        private io.debezium.relational.Column c3
      • c4

        private io.debezium.relational.Column c4
      • c5

        private io.debezium.relational.Column c5
      • c6

        private io.debezium.relational.Column c6
      • c7

        private io.debezium.relational.Column c7
      • c8

        private io.debezium.relational.Column c8
      • c9

        private io.debezium.relational.Column c9
      • c10

        private io.debezium.relational.Column c10
      • schema

        private io.debezium.relational.TableSchema schema
      • adjuster

        private io.debezium.util.SchemaNameAdjuster adjuster
      • customConverterRegistry

        private final io.debezium.relational.CustomConverterRegistry customConverterRegistry
    • Constructor Detail

      • TableSchemaBuilderTest

        public TableSchemaBuilderTest()
    • Method Detail

      • beforeEach

        public void beforeEach()
      • checkPreconditions

        public void checkPreconditions()
      • shouldFailToBuildTableSchemaFromNullTable

        public void shouldFailToBuildTableSchemaFromNullTable()
      • shouldBuildTableSchemaFromTable

        public void shouldBuildTableSchemaFromTable()
      • shouldBuildCorrectSchemaNames

        @FixFor("DBZ-1089")
        public void shouldBuildCorrectSchemaNames()
      • shouldBuildCorrectSchemaNamesInMultiPartitionMode

        @FixFor("DBZ-2975")
        public void shouldBuildCorrectSchemaNamesInMultiPartitionMode()
      • shouldBuildTableSchemaFromTableWithoutPrimaryKey

        public void shouldBuildTableSchemaFromTableWithoutPrimaryKey()
      • shouldSanitizeFieldNamesAndBuildTableSchemaFromTableWithoutPrimaryKey

        @FixFor("DBZ-1044")
        public void shouldSanitizeFieldNamesAndBuildTableSchemaFromTableWithoutPrimaryKey()
      • shouldSanitizeFieldNamesAndValidateSerialization

        @FixFor({"DBZ-1044","DBZ-2849"})
        public void shouldSanitizeFieldNamesAndValidateSerialization()
      • shouldBuildTableSchemaFromTableWithCustomKey

        @FixFor("DBZ-1015")
        public void shouldBuildTableSchemaFromTableWithCustomKey()
      • shouldOverrideIdentityKey

        @FixFor("DBZ-1015")
        public void shouldOverrideIdentityKey()
      • shouldFallbackToIdentyKeyWhenCustomMapperIsNull

        @FixFor("DBZ-1015")
        public void shouldFallbackToIdentyKeyWhenCustomMapperIsNull()
      • customKeyMapperShouldMapMultipleTables

        @FixFor("DBZ-1015")
        public void customKeyMapperShouldMapMultipleTables()
      • defaultKeyMapperShouldOrderKeyColumnsBasedOnPrimaryKeyColumnNamesOrder

        @FixFor("DBZ-1507")
        public void defaultKeyMapperShouldOrderKeyColumnsBasedOnPrimaryKeyColumnNamesOrder()
      • mapperConvertersShouldLeaveEmptyDatesAsZero

        @FixFor("DBZ-2682")
        public void mapperConvertersShouldLeaveEmptyDatesAsZero()