public class CsvToBeanTest extends Object
| Constructor and Description |
|---|
CsvToBeanTest() |
@BeforeAll public static void storeSystemLocale()
@BeforeEach public void setSystemLocaleToValueNotGerman()
@AfterEach public void setSystemLocaleBackToDefault()
@Test public void throwRuntimeExceptionWhenExceptionIsThrown()
@Test public void throwRuntimeExceptionLineWhenExceptionIsThrown()
@Test public void parseBeanWithNoAnnotations()
@DisplayName(value="Blank lines are ignored when withIgnoreEmptyLine is set to true.") @Test public void parseBeanWithIgnoreEmptyLines()
@DisplayName(value="Blank lines are ignored when withIgnoreEmptyLine is set to true and withFieldAsNull is set to EMPTY_SEPARATORS.") @Test public void parseBeanWithIgnoreEmptyLinesAndEmptyIsNull()
@Test public void bug133ShouldNotThrowNullPointerExceptionWhenProcessingEmptyWithNoAnnotations()
@Test public void throwIllegalStateWhenParseWithoutArgumentsIsCalled()
@Test public void throwIllegalStateWhenOnlyReaderIsSpecifiedToParseWithoutArguments()
@Test public void throwIllegalStateWhenOnlyMapperIsSpecifiedToParseWithoutArguments()
@Test public void throwIllegalArguementWhenReaderNotProvidedInBuilder()
@Test public void throwIllegalStateWhenTypeAndMapperNotProvidedInBuilder()
@Test public void testMinimumBuilder()
@Test public void testMinimumBuilderWithCSVReader()
@Test public void testParseVsStream()
@Test
public void testMaximumBuilder()
throws FileNotFoundException
FileNotFoundException@Test
public void testMaximumBuilderWithCSVReader()
throws FileNotFoundException
FileNotFoundException@Test
public void testColumnMappingStrategyWithBuilder()
throws FileNotFoundException
FileNotFoundException@Test public void testMappingWithoutAnnotationsWithBuilder()
@Test public void testEmptyInputWithHeaderNameMappingAndRequiredField()
@Test public void testMismatchNumberOfData()
@Test public void bug154WhenUsingIteratorTheLineNumbersInTheExceptionShouldBePopulated()
@Test public void testSingleVerifier()
Also incidentally tests:
null as a verifier before adding other
verifiers.@Test public void testMultipleVerifiers()
Also incidentally tests:
null as a verifier after other verifiers.@Test public void testNullVerifierClearsList()
@Test public void testVerifierThrowsExceptionCollected()
@Test public void testVerifierThrowsExceptionRethrown()
@Test public void testBug194()
Copyright © 2005–2025. All rights reserved.