Use this to stay compatible with future API changes (i.e. added methods to ExecuteListener) @author Lukas Eder
ExecuteListener
6061626364656667686970
@Test public void run() { Tools.title("Displaying execution time using a custom ExecuteListener"); ExecuteListener listener = new DefaultExecuteListener() { @Override public void start(ExecuteContext ctx) { // Register the start time to the current context