Package nablarch.test.core.file
Class FileSupport
java.lang.Object
nablarch.test.core.file.FileSupport
テストで必要なファイル操作をサポートするクラス。
- Author:
- T.Kawasaki
- 
Constructor SummaryConstructorsConstructorDescriptionFileSupport(Class<?> testClass) コンストラクタFileSupport(TestSupport testSupport) コンストラクタ
- 
Method SummaryModifier and TypeMethodDescriptionvoidassertFile(String msgOnFail, String sheetName, String... groupId) ファイルの比較を行う。voidファイルを準備する。voidsetUpFileIfNecessary(String sheetName, String... groupId) ファイルを準備する。
 対象データが存在しない場合は何もしない。
- 
Constructor Details- 
FileSupportコンストラクタ- Parameters:
- testClass- テスト対象クラス
 
- 
FileSupportコンストラクタ- Parameters:
- testSupport- テストサポートクラス
 
 
- 
- 
Method Details- 
setUpFileファイルを準備する。- Parameters:
- sheetName- 取得元シート名
- groupId- グループID(オプション)
- Throws:
- IllegalStateException- ファイルの情報が取得できていない場合
 
- 
setUpFileIfNecessaryファイルを準備する。
 対象データが存在しない場合は何もしない。- Parameters:
- sheetName- 取得元シート名
- groupId- グループID(オプション)
 
- 
assertFileファイルの比較を行う。- Parameters:
- msgOnFail- 比較失敗時のメッセージ
- sheetName- シート名
- groupId- グループID(オプション)
 
 
-