Package io.debezium.connector.mysql
Class MySqlValueConvertersTest
- java.lang.Object
-
- io.debezium.connector.mysql.MySqlValueConvertersTest
-
public class MySqlValueConvertersTest extends Object
- Author:
- Randall Hauch
-
-
Field Summary
Fields Modifier and Type Field Description private static TemporalAdjusterADJUSTERprivate static byte[]INVALID_JSON
-
Constructor Summary
Constructors Constructor Description MySqlValueConvertersTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected LocalDateTimelocalDateTimeWithYear(int year)protected LocalDatelocalDateWithYear(int year)voidshouldAdjustLocalDateTimeWithTwoDigitYears()voidshouldAdjustLocalDateWithTwoDigitYears()voidshouldNotAdjustLocalDateTimeWithThreeDigitYears()voidshouldNotAdjustLocalDateWithThreeDigitYears()voidtestErrorOnInvalidJsonValues()voidtestFallbackDecimalValueScale()voidtestJsonValues()voidtestSkipInvalidJsonValues()
-
-
-
Field Detail
-
ADJUSTER
private static final TemporalAdjuster ADJUSTER
-
INVALID_JSON
private static final byte[] INVALID_JSON
-
-
Method Detail
-
shouldAdjustLocalDateWithTwoDigitYears
public void shouldAdjustLocalDateWithTwoDigitYears()
-
shouldAdjustLocalDateTimeWithTwoDigitYears
public void shouldAdjustLocalDateTimeWithTwoDigitYears()
-
shouldNotAdjustLocalDateWithThreeDigitYears
public void shouldNotAdjustLocalDateWithThreeDigitYears()
-
shouldNotAdjustLocalDateTimeWithThreeDigitYears
public void shouldNotAdjustLocalDateTimeWithThreeDigitYears()
-
testJsonValues
public void testJsonValues()
-
testSkipInvalidJsonValues
@FixFor("DBZ-2563") public void testSkipInvalidJsonValues()
-
testErrorOnInvalidJsonValues
@FixFor("DBZ-2563") public void testErrorOnInvalidJsonValues()
-
testFallbackDecimalValueScale
@FixFor("DBC-3371") public void testFallbackDecimalValueScale()
-
localDateWithYear
protected LocalDate localDateWithYear(int year)
-
localDateTimeWithYear
protected LocalDateTime localDateTimeWithYear(int year)
-
-