public class CsvAnnotationBeanReaderTest extends Object
| コンストラクタと説明 |
|---|
CsvAnnotationBeanReaderTest() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
setUp() |
void |
testConstructor_beanMapping()
正常系のテスト - コンストラクタのテスト
BeanMappingの指定
|
void |
testLines_normal()
Streamで読み込むテスト - 正常時
|
void |
testRead_error_column_size()
列のサイズが一致しない
|
void |
testRead_error_elInjection_column()
ELインジェクションのテスト - カラムのバリデーションエラー。
|
void |
testRead_error_elInjection_header()
ELインジェクションのテスト - ヘッダーのバリデーションエラー。
|
void |
testRead_error_header_size()
ヘッダーの列数が一致しない
|
void |
testRead_error_header_value()
ヘッダの値が一致しない
|
void |
testRead_error_wrong_pattern()
列のパターンが不正な場合
|
void |
testRead_fixedColumn()
固定長のカラムを読み込む
|
void |
testRead_normal()
正常系のテスト
|
void |
testRead_partial()
部分的にカラムを読み込む
|
void |
testRead_withHandler_error_column()
ハンドラ指定で読み込むテスト - エラーがある場合
|
void |
testRead_withHandler_normal()
ハンドラ指定で読み込むテスト - 正常データのみ
|
void |
testReadAll_error_column()
全件読み込み - カラムにエラーがある
|
void |
testReadAll_error_continueOnError()
全件読み込み - カラムにエラーがある場合も処理を続ける
|
void |
testReadAll_error_header_size_continueOnError()
全件読み込み - ヘッダーにエラーがある場合 - エラーがあっても処理を続ける
|
void |
testReadAll_error_header_size()
全件読み込み - ヘッダーにエラーがある場合
|
void |
testReadAll_normal()
全件読み込み(正常系のテスト)
|
public void testConstructor_beanMapping()
throws IOException
BeanMappingの指定
IOExceptionpublic void testRead_normal()
throws IOException
IOExceptionpublic void testRead_error_header_size()
throws IOException
IOExceptionpublic void testRead_error_header_value()
throws IOException
IOExceptionpublic void testRead_error_column_size()
throws IOException
IOExceptionpublic void testRead_error_wrong_pattern()
throws IOException
IOExceptionpublic void testRead_error_elInjection_header()
throws Exception
Exceptionpublic void testRead_error_elInjection_column()
throws Exception
Exceptionpublic void testReadAll_normal()
throws IOException
IOExceptionpublic void testReadAll_error_column()
throws IOException
IOExceptionpublic void testReadAll_error_continueOnError()
throws IOException
IOExceptionpublic void testReadAll_error_header_size()
throws IOException
IOExceptionpublic void testReadAll_error_header_size_continueOnError()
throws IOException
IOExceptionpublic void testRead_partial()
throws IOException
IOExceptionpublic void testRead_fixedColumn()
throws IOException
IOExceptionpublic void testRead_withHandler_normal()
throws IOException
IOExceptionpublic void testRead_withHandler_error_column()
throws IOException
IOExceptionpublic void testLines_normal()
throws IOException
IOExceptionCopyright © 2025 mygreen. All rights reserved.