use of com.epam.ta.reportportal.ws.model.analyzer.AnalyzedItemRs in project service-api by reportportal.
the class AnalyzerServiceServiceTest method analyzedItems.
private Map<String, List<AnalyzedItemRs>> analyzedItems(int itemsCount) {
Map<String, List<AnalyzedItemRs>> res = new HashMap<>();
List<AnalyzedItemRs> list = new ArrayList<>();
for (int i = 1; i <= itemsCount; i++) {
AnalyzedItemRs testItem = new AnalyzedItemRs();
testItem.setItemId((long) i);
testItem.setLocator(PRODUCT_BUG.getLocator());
list.add(testItem);
}
res.put("test", list);
return res;
}
Aggregations