continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r1548070 - /continuum/branches/CONTINUUM-2713/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/NotifierTest.java
Date Thu, 05 Dec 2013 10:00:47 GMT
Author: brett
Date: Thu Dec  5 10:00:47 2013
New Revision: 1548070

URL: http://svn.apache.org/r1548070
Log:
ability to re-run notifier test

Modified:
    continuum/branches/CONTINUUM-2713/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/NotifierTest.java

Modified: continuum/branches/CONTINUUM-2713/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/NotifierTest.java
URL: http://svn.apache.org/viewvc/continuum/branches/CONTINUUM-2713/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/NotifierTest.java?rev=1548070&r1=1548069&r2=1548070&view=diff
==============================================================================
--- continuum/branches/CONTINUUM-2713/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/NotifierTest.java
(original)
+++ continuum/branches/CONTINUUM-2713/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/NotifierTest.java
Thu Dec  5 10:00:47 2013
@@ -77,12 +77,13 @@ public class NotifierTest
         String pomPassword = getProperty( "MAVEN2_POM_PASSWORD" );
 
         loginAsAdmin();
-        addProjectGroup( projectGroupName, projectGroupId, projectGroupDescription, true,
false );
+
+        removeProjectGroup( projectGroupName, false );
+
+        addProjectGroup( projectGroupName, projectGroupId, projectGroupDescription, true,
true );
         clickLinkWithText( projectGroupName );
-        if ( !isLinkPresent( projectName ) )
-        {
-            addMavenTwoProject( projectPomUrl, pomUsername, pomPassword, projectGroupName,
true );
-        }
+
+        addMavenTwoProject( projectPomUrl, pomUsername, pomPassword, projectGroupName, true
);
     }
 
     @BeforeMethod



Mime
View raw message