maven-surefire-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From krosenv...@apache.org
Subject svn commit: r1097340 - /maven/surefire/trunk/surefire-integration-tests/src/test/java/org/apache/maven/surefire/its/DefaultConfigurationIT.java
Date Thu, 28 Apr 2011 07:26:40 GMT
Author: krosenvold
Date: Thu Apr 28 07:26:40 2011
New Revision: 1097340

URL: http://svn.apache.org/viewvc?rev=1097340&view=rev
Log:
o Removed conflict between tests when running in parallel

Modified:
    maven/surefire/trunk/surefire-integration-tests/src/test/java/org/apache/maven/surefire/its/DefaultConfigurationIT.java

Modified: maven/surefire/trunk/surefire-integration-tests/src/test/java/org/apache/maven/surefire/its/DefaultConfigurationIT.java
URL: http://svn.apache.org/viewvc/maven/surefire/trunk/surefire-integration-tests/src/test/java/org/apache/maven/surefire/its/DefaultConfigurationIT.java?rev=1097340&r1=1097339&r2=1097340&view=diff
==============================================================================
--- maven/surefire/trunk/surefire-integration-tests/src/test/java/org/apache/maven/surefire/its/DefaultConfigurationIT.java
(original)
+++ maven/surefire/trunk/surefire-integration-tests/src/test/java/org/apache/maven/surefire/its/DefaultConfigurationIT.java
Thu Apr 28 07:26:40 2011
@@ -31,18 +31,19 @@ import java.io.File;
  * @author <a href="mailto:dfabulich@apache.org">Dan Fabulich</a>
  */
 public class DefaultConfigurationIT
-    extends AbstractSurefireIntegrationTestClass
+    extends SurefireVerifierTestClass
 {
+
+    public DefaultConfigurationIT() {
+        super("/default-configuration");
+    }
+
     public void testDefaultConfiguration()
         throws Exception
     {
-        File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/default-configuration"
);
-
-        Verifier verifier = new Verifier( testDir.getAbsolutePath() );
-        this.executeGoal( verifier, "test" );
-        verifier.verifyErrorFreeLog();
-        verifier.resetStreams();
+        executeTest( );
+        verifyErrorFreeLog();
 
-        HelperAssertions.assertTestSuiteResults( 1, 0, 0, 0, testDir );
+        assertTestSuiteResults( 1, 0, 0, 0 );
     }
 }



Mime
View raw message