public class ResultSetColumnNameHelperServiceTest extends Object
| Constructor and Description |
|---|
ResultSetColumnNameHelperServiceTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
cannotHaveEmptyColumnName() |
void |
cannotHaveEmptyHeaderName() |
void |
cannotHaveNullColumnName() |
void |
cannotHaveNullHeaderName() |
void |
cannotHaveSpaceColumnName() |
void |
cannotHaveSpaceHeaderName() |
void |
canPrintColumnNames() |
void |
getBooleanFromResultSet() |
void |
getBooleanSubsetFromResultSet() |
void |
getCharSetWithNullAndTrim() |
void |
getColumnNamesThrowsExceptionIfColumnDoesNotExist() |
void |
getColumnNamesWithSubsetOutOfOrder() |
void |
getSubsetFromResultSetWithCustomFormat() |
void |
getSubsetWithTrim() |
void |
getTimestampFromResultSetWithCustomFormat() |
void |
numberOfColumnsNamesMustMatchNumberOfHeaders() |
void |
setColumnNames() |
void |
setDateFormat() |
void |
setDateTimeFormat() |
void |
setSystemLocaleBackToDefault() |
void |
setSystemLocaleToValueNotGerman() |
static void |
storeSystemLocale() |
public ResultSetColumnNameHelperServiceTest()
@BeforeAll public static void storeSystemLocale()
@BeforeEach public void setSystemLocaleToValueNotGerman()
@AfterEach public void setSystemLocaleBackToDefault()
@Test
public void canPrintColumnNames()
throws SQLException
SQLException@Test
public void setColumnNames()
throws SQLException
SQLException@Test
public void getColumnNamesWithSubsetOutOfOrder()
throws SQLException
SQLException@Test public void numberOfColumnsNamesMustMatchNumberOfHeaders()
@Test public void cannotHaveNullColumnName()
@Test public void cannotHaveEmptyColumnName()
@Test public void cannotHaveSpaceColumnName()
@Test public void cannotHaveNullHeaderName()
@Test public void cannotHaveEmptyHeaderName()
@Test public void cannotHaveSpaceHeaderName()
@Test
public void getColumnNamesThrowsExceptionIfColumnDoesNotExist()
throws SQLException
SQLException@Test
public void getBooleanFromResultSet()
throws SQLException,
IOException
SQLExceptionIOException@Test
public void getBooleanSubsetFromResultSet()
throws SQLException,
IOException
SQLExceptionIOException@Test
public void getSubsetWithTrim()
throws SQLException,
IOException
SQLExceptionIOException@Test
public void getCharSetWithNullAndTrim()
throws SQLException,
IOException
SQLExceptionIOException@Test
public void getTimestampFromResultSetWithCustomFormat()
throws SQLException,
IOException
SQLExceptionIOException@Test
public void getSubsetFromResultSetWithCustomFormat()
throws SQLException,
IOException
SQLExceptionIOException@DisplayName(value="Bug#215: DateTimeFormat that are set are not being used.")
@Test
public void setDateTimeFormat()
throws SQLException,
IOException
SQLExceptionIOException@DisplayName(value="Bug#215: DateTime that are set are not being used.")
@Test
public void setDateFormat()
throws SQLException,
IOException
SQLExceptionIOExceptionCopyright © 2005–2025. All rights reserved.