use of org.jbehave.core.embedder.EmbedderMonitor in project serenity-jbehave by serenity-bdd.
the class CompositeEmbedderMonitor method systemPropertySet.
@Override
public void systemPropertySet(final String name, final String value) {
logger.debug("systemPropertySet" + name + value);
final LinkedList<Exception> exceptions = new LinkedList<>();
for (final EmbedderMonitor monitor : this.monitors) {
try {
monitor.systemPropertySet(name, value);
} catch (final Exception suppressed) {
logger.error("exception during calling " + monitor.getClass() + "#systemPropertySet", suppressed);
exceptions.add(suppressed);
}
}
processSuppressed(exceptions);
}
use of org.jbehave.core.embedder.EmbedderMonitor in project serenity-jbehave by serenity-bdd.
the class CompositeEmbedderMonitor method storiesSkipped.
@Override
public void storiesSkipped(final List<String> storyPaths) {
logger.debug("storiesSkipped" + storyPaths);
final LinkedList<Exception> exceptions = new LinkedList<>();
for (final EmbedderMonitor monitor : this.monitors) {
try {
monitor.storiesSkipped(storyPaths);
} catch (final Exception suppressed) {
logger.error("exception during calling " + monitor.getClass() + "#storiesSkipped", suppressed);
exceptions.add(suppressed);
}
}
processSuppressed(exceptions);
}
use of org.jbehave.core.embedder.EmbedderMonitor in project serenity-jbehave by serenity-bdd.
the class CompositeEmbedderMonitor method generatingNavigatorView.
@Override
public void generatingNavigatorView(final File outputDirectory, final Properties viewResources) {
logger.debug("generatingNavigatorView" + outputDirectory + viewResources);
final LinkedList<Exception> exceptions = new LinkedList<>();
for (final EmbedderMonitor monitor : this.monitors) {
try {
monitor.generatingNavigatorView(outputDirectory, viewResources);
} catch (final Exception suppressed) {
logger.error("exception during calling " + monitor.getClass() + "#generatingNavigatorView", suppressed);
exceptions.add(suppressed);
}
}
processSuppressed(exceptions);
}
use of org.jbehave.core.embedder.EmbedderMonitor in project serenity-jbehave by serenity-bdd.
the class CompositeEmbedderMonitor method storyTimeout.
@Override
public void storyTimeout(final Story story, final StoryDuration storyDuration) {
logger.debug("storyTimeout" + story + storyDuration);
final LinkedList<Exception> exceptions = new LinkedList<>();
for (final EmbedderMonitor monitor : this.monitors) {
try {
monitor.storyTimeout(story, storyDuration);
} catch (final Exception suppressed) {
logger.error("exception during calling " + monitor.getClass() + "#storyTimeout", suppressed);
exceptions.add(suppressed);
}
}
processSuppressed(exceptions);
}
use of org.jbehave.core.embedder.EmbedderMonitor in project serenity-jbehave by serenity-bdd.
the class CompositeEmbedderMonitor method runningEmbeddable.
@Override
public void runningEmbeddable(final String name) {
logger.debug("runningEmbeddable" + name);
final LinkedList<Exception> exceptions = new LinkedList<>();
for (final EmbedderMonitor monitor : this.monitors) {
try {
monitor.runningEmbeddable(name);
} catch (final Exception suppressed) {
logger.error("exception during calling " + monitor.getClass() + "#runningEmbeddable", suppressed);
exceptions.add(suppressed);
}
}
processSuppressed(exceptions);
}
Aggregations