You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by kr...@apache.org on 2012/01/28 11:50:19 UTC
svn commit: r1237039 -
/maven/surefire/trunk/surefire-integration-tests/src/test/java/org/apache/maven/surefire/its/jiras/Surefire809GroupExpressionsIT.java
Author: krosenvold
Date: Sat Jan 28 10:50:19 2012
New Revision: 1237039
URL: http://svn.apache.org/viewvc?rev=1237039&view=rev
Log:
o Added debug logging to test
Modified:
maven/surefire/trunk/surefire-integration-tests/src/test/java/org/apache/maven/surefire/its/jiras/Surefire809GroupExpressionsIT.java
Modified: maven/surefire/trunk/surefire-integration-tests/src/test/java/org/apache/maven/surefire/its/jiras/Surefire809GroupExpressionsIT.java
URL: http://svn.apache.org/viewvc/maven/surefire/trunk/surefire-integration-tests/src/test/java/org/apache/maven/surefire/its/jiras/Surefire809GroupExpressionsIT.java?rev=1237039&r1=1237038&r2=1237039&view=diff
==============================================================================
--- maven/surefire/trunk/surefire-integration-tests/src/test/java/org/apache/maven/surefire/its/jiras/Surefire809GroupExpressionsIT.java (original)
+++ maven/surefire/trunk/surefire-integration-tests/src/test/java/org/apache/maven/surefire/its/jiras/Surefire809GroupExpressionsIT.java Sat Jan 28 10:50:19 2012
@@ -35,7 +35,7 @@ public class Surefire809GroupExpressions
public void testTestNGRunCategoryAB()
{
- OutputValidator validator = unpackTestNG().groups( "CategoryA&&CategoryB" ).executeTest();
+ OutputValidator validator = unpackTestNG().groups( "CategoryA&&CategoryB" ).debugLogging().executeTest();
validator.verifyErrorFreeLog();
validator.assertTestSuiteResults( 2, 0, 0, 0 );
validator.verifyTextInLog( "BasicTest.testInCategoriesAB()" );
@@ -44,7 +44,7 @@ public class Surefire809GroupExpressions
public void testTestNGRunCategoryNotC()
{
- OutputValidator validator = unpackTestNG().groups( "!CategoryC" ).executeTest();
+ OutputValidator validator = unpackTestNG().groups( "!CategoryC" ).debugLogging().executeTest();
validator.verifyErrorFreeLog();
validator.assertTestSuiteResults( 8, 0, 0, 0 );
validator.verifyTextInLog( "catA: 2" );