nablarch.test.core.reader.DbLessTestDataParser Maven / Gradle / Ivy
The newest version!
package nablarch.test.core.reader;
import nablarch.core.log.Logger;
import nablarch.core.log.LoggerManager;
import nablarch.test.core.db.DbInfo;
import nablarch.test.core.db.TableData;
import nablarch.test.core.file.DataFile;
import nablarch.test.core.messaging.MessagePool;
import nablarch.test.core.util.interpreter.TestDataInterpreter;
import java.util.Collections;
import java.util.List;
import java.util.Map;
/**
* DBデータ以外のテストデータを読み込み、各オブジェクトにparseするクラス。
*
* @author Shinya Hijiri
*/
public class DbLessTestDataParser implements TestDataParser {
/** ロガー */
private static final Logger LOGGER = LoggerManager.get(DbLessTestDataParser.class);
/** 委譲先のテストデータリーダ */
private final TestDataParser testDataParser = new BasicTestDataParser();
@Override
public List getExpectedTableData(String path, String resourceName, String... groupId) {
throw new UnsupportedOperationException("Parsing of table data is not supported.");
}
@Override
public List getSetupTableData(String path, String resourceName, String... groupId) {
LOGGER.logDebug("Skip table data initialization as it is not supported.");
return Collections.emptyList();
}
@Override
public List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy