You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@continuum.apache.org by br...@apache.org on 2014/05/20 15:45:20 UTC
svn commit: r1596245 -
/continuum/branches/CONTINUUM-2713/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/listener/CaptureScreenShotsListener.java
Author: brett
Date: Tue May 20 13:45:20 2014
New Revision: 1596245
URL: http://svn.apache.org/r1596245
Log:
show test currently in progress
Modified:
continuum/branches/CONTINUUM-2713/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/listener/CaptureScreenShotsListener.java
Modified: continuum/branches/CONTINUUM-2713/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/listener/CaptureScreenShotsListener.java
URL: http://svn.apache.org/viewvc/continuum/branches/CONTINUUM-2713/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/listener/CaptureScreenShotsListener.java?rev=1596245&r1=1596244&r2=1596245&view=diff
==============================================================================
--- continuum/branches/CONTINUUM-2713/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/listener/CaptureScreenShotsListener.java (original)
+++ continuum/branches/CONTINUUM-2713/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/listener/CaptureScreenShotsListener.java Tue May 20 13:45:20 2014
@@ -35,9 +35,16 @@ public class CaptureScreenShotsListener
extends TestListenerAdapter
{
@Override
+ public void onTestStart( ITestResult tr )
+ {
+ System.out.print( "Test " + tr.getName() + "... " );
+ super.onTestStart( tr );
+ }
+
+ @Override
public void onTestSkipped( ITestResult tr )
{
- System.out.println( "Test " + tr.getName() + " -> Skipped" );
+ System.out.println( "Skipped" );
super.onTestSkipped( tr );
}
@@ -45,14 +52,14 @@ public class CaptureScreenShotsListener
public void onTestFailure( ITestResult tr )
{
captureError( tr );
- System.out.println( "Test " + tr.getName() + " -> Failed" );
+ System.out.println( "Failed" );
super.onTestFailure( tr );
}
@Override
public void onTestSuccess( ITestResult tr )
{
- System.out.println( "Test " + tr.getName() + " -> Success" );
+ System.out.println( "Success" );
super.onTestFailure( tr );
}