public class MySqlValueConvertersTest extends Object
| Modifier and Type | Field and Description |
|---|---|
private static TemporalAdjuster |
ADJUSTER |
private static byte[] |
INVALID_JSON |
| Constructor and Description |
|---|
MySqlValueConvertersTest() |
| Modifier and Type | Method and Description |
|---|---|
protected LocalDateTime |
localDateTimeWithYear(int year) |
protected LocalDate |
localDateWithYear(int year) |
void |
shouldAdjustLocalDateTimeWithTwoDigitYears() |
void |
shouldAdjustLocalDateWithTwoDigitYears() |
void |
shouldNotAdjustLocalDateTimeWithThreeDigitYears() |
void |
shouldNotAdjustLocalDateWithThreeDigitYears() |
void |
testErrorOnInvalidJsonValues() |
void |
testFallbackDecimalValueScale() |
void |
testJsonValues() |
void |
testSkipInvalidJsonValues() |
private static final TemporalAdjuster ADJUSTER
private static final byte[] INVALID_JSON
public void shouldAdjustLocalDateWithTwoDigitYears()
public void shouldAdjustLocalDateTimeWithTwoDigitYears()
public void shouldNotAdjustLocalDateWithThreeDigitYears()
public void shouldNotAdjustLocalDateTimeWithThreeDigitYears()
public void testJsonValues()
protected LocalDate localDateWithYear(int year)
protected LocalDateTime localDateTimeWithYear(int year)
Copyright © 2021 JBoss by Red Hat. All rights reserved.