use of com.buschmais.jqassistant.plugin.impl.plugin.TestReportPlugin in project jqa-core-framework by buschmais.
the class PluginRepositoryTest method getReportPluginProperties.
private Map<String, Object> getReportPluginProperties(PluginRepository pluginRepository, Map<String, Object> properties) throws PluginRepositoryException {
ReportPluginRepository reportPluginRepository = pluginRepository.getReportPluginRepository();
Map<String, ReportPlugin> reportPlugins = reportPluginRepository.getReportPlugins(properties);
assertThat(reportPlugins.size(), greaterThan(0));
for (ReportPlugin reportPlugin : reportPlugins.values()) {
if (reportPlugin instanceof TestReportPlugin) {
return ((TestReportPlugin) reportPlugin).getProperties();
}
}
return null;
}
Aggregations