1 package com.griddynamics.jagger.engine.e1.collector.test;
3 import org.slf4j.Logger;
4 import org.slf4j.LoggerFactory;
37 private static Logger log = LoggerFactory.getLogger(
Composer.class);
39 private Iterable<TestListener> listeners;
41 public Composer(Iterable<TestListener> listeners) {
42 this.listeners = listeners;
53 listener.onStart(testInfo);
54 }
catch (RuntimeException ex){
55 log.error(
"Failed to call on start in {} test-listener", listener.toString(), ex);
64 listener.onStop(testInfo);
65 }
catch (RuntimeException ex){
66 log.error(
"Failed to call on stop in {} test-listener", listener.toString(), ex);
75 listener.onRun(testInfo);
76 }
catch (RuntimeException ex){
77 log.error(
"Failed to call on run in {} test-listener", listener.toString(), ex);