org.jboss.arquillian.impl.handler
Class ExecutionTimer

java.lang.Object
  extended by org.jboss.arquillian.impl.handler.ExecutionTimer
All Implemented Interfaces:
EventHandler<SuiteEvent>

public class ExecutionTimer
extends Object
implements EventHandler<SuiteEvent>

A Handler for simple execution time tracking. Prints to System.out the time in milliseconds since last execution.

Version:
$Revision: $
Author:
Aslak Knutsen

Constructor Summary
ExecutionTimer()
           
 
Method Summary
 void callback(Context context, SuiteEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExecutionTimer

public ExecutionTimer()
Method Detail

callback

public void callback(Context context,
                     SuiteEvent event)
              throws Exception
Specified by:
callback in interface EventHandler<SuiteEvent>
Throws:
Exception


Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.