use of org.jbehave.core.embedder.EmbedderMonitor in project serenity-jbehave by serenity-bdd.
the class CompositeEmbedderMonitor method reportsViewNotGenerated.
@Override
public void reportsViewNotGenerated() {
logger.debug("reportsViewNotGenerated");
final LinkedList<Exception> exceptions = new LinkedList<>();
for (final EmbedderMonitor monitor : this.monitors) {
try {
monitor.reportsViewNotGenerated();
} catch (final Exception suppressed) {
logger.error("exception during calling " + monitor.getClass() + "#reportsViewNotGenerated", suppressed);
exceptions.add(suppressed);
}
}
processSuppressed(exceptions);
}
use of org.jbehave.core.embedder.EmbedderMonitor in project serenity-jbehave by serenity-bdd.
the class CompositeEmbedderMonitor method runningStory.
@Override
public void runningStory(final String path) {
logger.debug("runningStory" + path);
final LinkedList<Exception> exceptions = new LinkedList<>();
for (final EmbedderMonitor monitor : this.monitors) {
try {
monitor.runningStory(path);
} catch (final Exception suppressed) {
logger.error("exception during calling " + monitor.getClass() + "#runningStory", suppressed);
exceptions.add(suppressed);
}
}
processSuppressed(exceptions);
}
use of org.jbehave.core.embedder.EmbedderMonitor in project serenity-jbehave by serenity-bdd.
the class CompositeEmbedderMonitor method usingThreads.
@Override
public void usingThreads(final int threads) {
logger.debug("usingThreads" + threads);
final LinkedList<Exception> exceptions = new LinkedList<>();
for (final EmbedderMonitor monitor : this.monitors) {
try {
monitor.usingThreads(threads);
} catch (final Exception suppressed) {
logger.error("exception during calling " + monitor.getClass() + "#usingThreads", suppressed);
exceptions.add(suppressed);
}
}
processSuppressed(exceptions);
}
use of org.jbehave.core.embedder.EmbedderMonitor in project serenity-jbehave by serenity-bdd.
the class CompositeEmbedderMonitor method processingSystemProperties.
@Override
public void processingSystemProperties(final Properties properties) {
logger.debug("processingSystemProperties" + properties);
final LinkedList<Exception> exceptions = new LinkedList<>();
for (final EmbedderMonitor monitor : this.monitors) {
try {
monitor.processingSystemProperties(properties);
} catch (final Exception suppressed) {
logger.error("exception during calling " + monitor.getClass() + "#processingSystemProperties", suppressed);
exceptions.add(suppressed);
}
}
processSuppressed(exceptions);
}
use of org.jbehave.core.embedder.EmbedderMonitor in project serenity-jbehave by serenity-bdd.
the class CompositeEmbedderMonitor method generatingMapsView.
@Override
public void generatingMapsView(final File outputDirectory, final StoryMaps storyMaps, final Properties viewProperties) {
logger.debug("generatingMapsView" + outputDirectory + storyMaps);
final LinkedList<Exception> exceptions = new LinkedList<>();
for (final EmbedderMonitor monitor : this.monitors) {
try {
monitor.generatingMapsView(outputDirectory, storyMaps, viewProperties);
} catch (final Exception suppressed) {
logger.error("exception during calling " + monitor.getClass() + "#generatingMapsView", suppressed);
exceptions.add(suppressed);
}
}
processSuppressed(exceptions);
}
Aggregations