org.sonatype.sisu.litmus.testsupport
Class TestTracer

java.lang.Object
  extended by org.junit.rules.TestWatchman
      extended by org.sonatype.sisu.litmus.testsupport.TestTracer
All Implemented Interfaces:
org.junit.rules.MethodRule

public class TestTracer
extends org.junit.rules.TestWatchman

Traces test execution to a Logger.

Since:
1.0

Constructor Summary
TestTracer(org.slf4j.Logger logger)
           
TestTracer(Object owner)
           
 
Method Summary
 void failed(Throwable e, org.junit.runners.model.FrameworkMethod method)
           
 void finished(org.junit.runners.model.FrameworkMethod method)
           
 void starting(org.junit.runners.model.FrameworkMethod method)
           
 void succeeded(org.junit.runners.model.FrameworkMethod method)
           
 TestTracer withLevel(org.sonatype.gossip.Level level)
           
 
Methods inherited from class org.junit.rules.TestWatchman
apply
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestTracer

public TestTracer(org.slf4j.Logger logger)

TestTracer

public TestTracer(Object owner)
Method Detail

withLevel

public TestTracer withLevel(org.sonatype.gossip.Level level)

starting

public void starting(org.junit.runners.model.FrameworkMethod method)
Overrides:
starting in class org.junit.rules.TestWatchman

succeeded

public void succeeded(org.junit.runners.model.FrameworkMethod method)
Overrides:
succeeded in class org.junit.rules.TestWatchman

failed

public void failed(Throwable e,
                   org.junit.runners.model.FrameworkMethod method)
Overrides:
failed in class org.junit.rules.TestWatchman

finished

public void finished(org.junit.runners.model.FrameworkMethod method)
Overrides:
finished in class org.junit.rules.TestWatchman


Copyright © 2008-2012 Sonatype, Inc.. All Rights Reserved.