DataUtil.dataMap = dataReader.loadData(file);
}
List<String> datas = DataUtil.dataMap.get(test.getClass().getName())
.get(frameworkMethod.getName());
for (int itr = 0; itr < datas.size(); itr++) {
D2JExcelNotifier eachNotifier = djMakeNotifier(frameworkMethod,
notifier, datas.get(itr));
if (isTestMethodIgnored(frameworkMethod)) {
eachNotifier.fireTestIgnored();
return;
}
eachNotifier.fireTestStarted();
try {
methodBlock(frameworkMethod, itr).evaluate();
} catch (AssumptionViolatedException e) {
eachNotifier.addFailedAssumption(e);
} catch (Throwable e) {
eachNotifier.addFailure(e);
} finally {
eachNotifier.fireTestFinished();
}
}
dataWriter = new ExcelDataWriter();
dataWriter.writeData(file,DataUtil.resultMap);