continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r1372260 [22/30] - in /continuum/trunk: ./ continuum-api/ continuum-api/src/main/java/org/apache/continuum/builder/distributed/ continuum-api/src/main/java/org/apache/continuum/builder/distributed/executor/ continuum-api/src/main/java/org/a...
Date Mon, 13 Aug 2012 04:29:28 GMT
Modified: continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/BuildDefinitionTemplateTest.java
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/BuildDefinitionTemplateTest.java?rev=1372260&r1=1372259&r2=1372260&view=diff
==============================================================================
--- continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/BuildDefinitionTemplateTest.java (original)
+++ continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/BuildDefinitionTemplateTest.java Mon Aug 13 04:29:09 2012
@@ -26,7 +26,7 @@ import org.testng.annotations.Test;
  * @author José Morales Martínez
  * @version $Id$
  */
-@Test( groups = { "buildDefinitionTemplate" } )
+@Test( groups = {"buildDefinitionTemplate"} )
 public class BuildDefinitionTemplateTest
     extends AbstractBuildDefinitionTemplateTest
 {
@@ -35,15 +35,16 @@ public class BuildDefinitionTemplateTest
     {
         String TEMPLATE_NAME = getProperty( "TEMPLATE_NAME" );
         goToAddTemplate();
-        addEditTemplate( TEMPLATE_NAME, new String[] { "Default Maven Build Definition",
-            "Default Maven 1 Build Definition" }, new String[] {}, true );
+        addEditTemplate( TEMPLATE_NAME,
+                         new String[]{"Default Maven Build Definition", "Default Maven 1 Build Definition"},
+                         new String[]{}, true );
     }
 
     public void testAddInvalidTemplate()
         throws Exception
     {
         goToAddTemplate();
-        addEditTemplate( "", new String[] {}, new String[] {}, false );
+        addEditTemplate( "", new String[]{}, new String[]{}, false );
         assertTextPresent( "Name is required" );
     }
 
@@ -51,27 +52,26 @@ public class BuildDefinitionTemplateTest
         throws Exception
     {
         goToAddTemplate();
-        addEditTemplate( "Name <script>alert('gotcha')</script>", new String[] {}, new String[] {}, false );
+        addEditTemplate( "Name <script>alert('gotcha')</script>", new String[]{}, new String[]{}, false );
         assertTextPresent( "Name contains invalid characters" );
     }
 
-    @Test( dependsOnMethods = { "testAddTemplate" } )
+    @Test( dependsOnMethods = {"testAddTemplate"} )
     public void testEditTemplate()
         throws Exception
     {
         String TEMPLATE_NAME = getProperty( "TEMPLATE_NAME" );
         String newName = "new_name";
-        goToEditTemplate( TEMPLATE_NAME, new String[] { "Default Maven Build Definition",
-            "Default Maven 1 Build Definition" } );
-        addEditTemplate( newName, new String[] { "Default Shell Build Definition" },
-                         new String[] { "Default Maven Build Definition" }, true );
-        goToEditTemplate( newName,
-                          new String[] { "Default Maven 1 Build Definition", "Default Shell Build Definition" } );
-        addEditTemplate( TEMPLATE_NAME, new String[] { "Default Maven Build Definition" },
-                         new String[] { "Default Shell Build Definition" }, true );
+        goToEditTemplate( TEMPLATE_NAME,
+                          new String[]{"Default Maven Build Definition", "Default Maven 1 Build Definition"} );
+        addEditTemplate( newName, new String[]{"Default Shell Build Definition"},
+                         new String[]{"Default Maven Build Definition"}, true );
+        goToEditTemplate( newName, new String[]{"Default Maven 1 Build Definition", "Default Shell Build Definition"} );
+        addEditTemplate( TEMPLATE_NAME, new String[]{"Default Maven Build Definition"},
+                         new String[]{"Default Shell Build Definition"}, true );
     }
 
-    @Test( dependsOnMethods = { "testEditTemplate" } )
+    @Test( dependsOnMethods = {"testEditTemplate"} )
     public void testDeleteTemplate()
     {
         String TEMPLATE_NAME = getProperty( "TEMPLATE_NAME" );
@@ -104,13 +104,14 @@ public class BuildDefinitionTemplateTest
     {
         String invalidString = "<script>alert('gotcha')</script>";
         goToAddBuildDefinitionTemplate();
-        addEditBuildDefinitionTemplate( invalidString, invalidString, invalidString, invalidString, true, true, true, false );
+        addEditBuildDefinitionTemplate( invalidString, invalidString, invalidString, invalidString, true, true, true,
+                                        false );
         assertTextPresent( "BuildFile contains invalid characters" );
         assertTextPresent( "Goals contain invalid characters" );
         assertTextPresent( "Arguments contain invalid characters" );
     }
 
-    @Test( dependsOnMethods = { "testAddBuildDefinitionTemplate" } )
+    @Test( dependsOnMethods = {"testAddBuildDefinitionTemplate"} )
     public void testEditBuildDefinitionTemplate()
         throws Exception
     {
@@ -123,7 +124,7 @@ public class BuildDefinitionTemplateTest
                                         TEMPLATE_BUILD_DESCRIPTION, false, false, false, true );
     }
 
-    @Test( dependsOnMethods = { "testEditBuildDefinitionTemplate" } )
+    @Test( dependsOnMethods = {"testEditBuildDefinitionTemplate"} )
     public void testDeleteBuildDefinitionTemplate()
     {
         String TEMPLATE_BUILD_DESCRIPTION = getProperty( "TEMPLATE_BUILD_DESCRIPTION" );

Modified: continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/BuildDefinitionTest.java
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/BuildDefinitionTest.java?rev=1372260&r1=1372259&r2=1372260&view=diff
==============================================================================
--- continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/BuildDefinitionTest.java (original)
+++ continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/BuildDefinitionTest.java Mon Aug 13 04:29:09 2012
@@ -20,14 +20,13 @@ package org.apache.continuum.web.test;
  */
 
 import org.apache.continuum.web.test.parent.AbstractAdminTest;
-import org.apache.continuum.web.test.parent.AbstractContinuumTest;
 import org.testng.annotations.Test;
 
 /**
  * @author José Morales Martínez
  * @version $Id$
  */
-@Test( groups = { "buildDefinition" } )
+@Test( groups = {"buildDefinition"} )
 public class BuildDefinitionTest
     extends AbstractAdminTest
 {
@@ -67,7 +66,7 @@ public class BuildDefinitionTest
         assertImgWithAlt( "Build" );
     }
 
-    @Test( dependsOnMethods = { "testAddProjectGroup2" } )
+    @Test( dependsOnMethods = {"testAddProjectGroup2"} )
     public void testAddInvalidGroupBuildDefinition()
         throws Exception
     {
@@ -80,8 +79,8 @@ public class BuildDefinitionTest
         clickButtonWithValue( "Save" );
         assertTextPresent( "Build file is required and cannot contain spaces only" );
     }
-    
-    @Test( dependsOnMethods = { "testAddProjectGroup2" } )
+
+    @Test( dependsOnMethods = {"testAddProjectGroup2"} )
     public void testAddGroupBuildDefinitionWithXSS()
         throws Exception
     {
@@ -96,7 +95,7 @@ public class BuildDefinitionTest
         assertTextPresent( "Build file contains invalid characters." );
     }
 
-    @Test( dependsOnMethods = { "testAddProjectGroup2" } )
+    @Test( dependsOnMethods = {"testAddProjectGroup2"} )
     public void testBuildFromGroupBuildDefinition()
         throws Exception
     {
@@ -108,7 +107,7 @@ public class BuildDefinitionTest
         assertProjectGroupSummaryPage( TEST2_PROJ_GRP_NAME, TEST2_PROJ_GRP_ID, TEST2_PROJ_GRP_DESCRIPTION );
     }
 
-    @Test( dependsOnMethods = { "testAddProjectGroup2" } )
+    @Test( dependsOnMethods = {"testAddProjectGroup2"} )
     public void testAddDefautltGroupBuildDefinition()
         throws Exception
     {
@@ -125,7 +124,7 @@ public class BuildDefinitionTest
                                      BUILD_DESCRIPTION, true, false, true );
     }
 
-    @Test( dependsOnMethods = { "testAddProjectGroup2" } )
+    @Test( dependsOnMethods = {"testAddProjectGroup2"} )
     public void testAddNotDefautltGroupBuildDefinition()
         throws Exception
     {
@@ -142,7 +141,7 @@ public class BuildDefinitionTest
                                      BUILD_DESCRIPTION, false, false, false );
     }
 
-    @Test( dependsOnMethods = { "testAddNotDefautltGroupBuildDefinition" } )
+    @Test( dependsOnMethods = {"testAddNotDefautltGroupBuildDefinition"} )
     public void testEditGroupBuildDefinition()
         throws Exception
     {
@@ -169,7 +168,7 @@ public class BuildDefinitionTest
                                      BUILD_DESCRIPTION, false, true, false );
     }
 
-    @Test( dependsOnMethods = { "testEditGroupBuildDefinition" } )
+    @Test( dependsOnMethods = {"testEditGroupBuildDefinition"} )
     public void testDeleteGroupBuildDefinition()
         throws Exception
     {
@@ -186,7 +185,7 @@ public class BuildDefinitionTest
         assertGroupBuildDefinitionPage( TEST2_PROJ_GRP_NAME );
     }
 
-    @Test( dependsOnMethods = { "testMoveProject" } )
+    @Test( dependsOnMethods = {"testMoveProject"} )
     public void testAddNotDefautltProjectBuildDefinition()
         throws Exception
     {
@@ -202,7 +201,7 @@ public class BuildDefinitionTest
                                      false, false );
     }
 
-    @Test( dependsOnMethods = { "testAddNotDefautltProjectBuildDefinition" } )
+    @Test( dependsOnMethods = {"testAddNotDefautltProjectBuildDefinition"} )
     public void testDeleteProjectBuildDefinition()
         throws Exception
     {

Modified: continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/BuildEnvironmentTest.java
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/BuildEnvironmentTest.java?rev=1372260&r1=1372259&r2=1372260&view=diff
==============================================================================
--- continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/BuildEnvironmentTest.java (original)
+++ continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/BuildEnvironmentTest.java Mon Aug 13 04:29:09 2012
@@ -26,7 +26,7 @@ import org.testng.annotations.Test;
  * @author José Morales Martínez
  * @version $Id$
  */
-@Test( groups = { "buildEnvironment" } )
+@Test( groups = {"buildEnvironment"} )
 public class BuildEnvironmentTest
     extends AbstractBuildEnvironmentTest
 {
@@ -34,62 +34,62 @@ public class BuildEnvironmentTest
     {
         String BUILD_ENV_NAME = getProperty( "BUILD_ENV_NAME" );
         goToAddBuildEnvironment();
-        addBuildEnvironment( BUILD_ENV_NAME, new String[] {}, true );
+        addBuildEnvironment( BUILD_ENV_NAME, new String[]{}, true );
     }
 
     public void testAddInvalidBuildEnvironment()
     {
         goToAddBuildEnvironment();
-        addBuildEnvironment( "", new String[] {}, false );
+        addBuildEnvironment( "", new String[]{}, false );
         assertTextPresent( "You must define a name" );
     }
 
     public void testAddBuildEnvironmentWithXSS()
     {
         goToAddBuildEnvironment();
-        addBuildEnvironment( "<script>alert('gotcha')</script>", new String[] {}, false );
+        addBuildEnvironment( "<script>alert('gotcha')</script>", new String[]{}, false );
         assertTextPresent( "Build environment name contains invalid characters." );
     }
 
-    @Test( dependsOnMethods = { "testAddBuildEnvironment" } )
+    @Test( dependsOnMethods = {"testAddBuildEnvironment"} )
     public void testEditInvalidBuildEnvironment()
     {
         String BUILD_ENV_NAME = getProperty( "BUILD_ENV_NAME" );
         goToEditBuildEnvironment( BUILD_ENV_NAME );
-        editBuildEnvironment( "", new String[] {}, false );
+        editBuildEnvironment( "", new String[]{}, false );
         assertTextPresent( "You must define a name" );
     }
 
-    @Test( dependsOnMethods = { "testAddBuildEnvironment" } )
+    @Test( dependsOnMethods = {"testAddBuildEnvironment"} )
     public void testAddDuplicatedBuildEnvironment()
     {
         String BUILD_ENV_NAME = getProperty( "BUILD_ENV_NAME" );
         goToAddBuildEnvironment();
-        addBuildEnvironment( BUILD_ENV_NAME, new String[] {}, false );
+        addBuildEnvironment( BUILD_ENV_NAME, new String[]{}, false );
         assertTextPresent( "A Build Environment with the same name already exists" );
     }
 
-    @Test( dependsOnMethods = { "testAddBuildEnvironment" } )
+    @Test( dependsOnMethods = {"testAddBuildEnvironment"} )
     public void testEditBuildEnvironment()
     {
         String BUILD_ENV_NAME = getProperty( "BUILD_ENV_NAME" );
         String newName = "new_name";
         goToEditBuildEnvironment( BUILD_ENV_NAME );
-        editBuildEnvironment( newName, new String[] {}, true );
+        editBuildEnvironment( newName, new String[]{}, true );
         // TODO: ADD INSTALLATIONS TO ENVIROTMENT
         goToEditBuildEnvironment( newName );
-        editBuildEnvironment( BUILD_ENV_NAME, new String[] {}, true );
+        editBuildEnvironment( BUILD_ENV_NAME, new String[]{}, true );
     }
 
-    @Test( dependsOnMethods = { "testEditInvalidBuildEnvironment", "testEditBuildEnvironment",
-        "testAddDuplicatedBuildEnvironment", "testEditInvalidBuildEnvironment" } )
+    @Test( dependsOnMethods = {"testEditInvalidBuildEnvironment", "testEditBuildEnvironment",
+        "testAddDuplicatedBuildEnvironment", "testEditInvalidBuildEnvironment"} )
     public void testDeleteBuildEnvironment()
     {
         String BUILD_ENV_NAME = getProperty( "BUILD_ENV_NAME" );
         removeBuildEnvironment( BUILD_ENV_NAME );
     }
 
-    @Test( dependsOnMethods = { "testDeleteBuildEnvironment", "testAddBuildAgentGroupWithEmptyBuildAgent" } )
+    @Test( dependsOnMethods = {"testDeleteBuildEnvironment", "testAddBuildAgentGroupWithEmptyBuildAgent"} )
     public void testAddBuildEnvironmentWithBuildAgentGroup()
     {
         try
@@ -99,30 +99,30 @@ public class BuildEnvironmentTest
             String BUILD_ENV_NAME = getProperty( "BUILD_ENV_NAME" );
             String BUILD_AGENT_GROUPNAME = getProperty( "BUILD_AGENT_GROUPNAME" );
             goToAddBuildEnvironment();
-            addBuildEnvironmentWithBuildAgentGroup( BUILD_ENV_NAME, new String[] {}, BUILD_AGENT_GROUPNAME );
+            addBuildEnvironmentWithBuildAgentGroup( BUILD_ENV_NAME, new String[]{}, BUILD_AGENT_GROUPNAME );
         }
         finally
         {
             disableDistributedBuilds();
         }
     }
-    
-    @Test( dependsOnMethods = { "testAddBuildEnvironmentWithBuildAgentGroup" } )
+
+    @Test( dependsOnMethods = {"testAddBuildEnvironmentWithBuildAgentGroup"} )
     public void testEditDuplicatedBuildEnvironmentParallelBuilds()
     {
         String BUILD_ENV_NAME = getProperty( "BUILD_ENV_NAME" );
         String newName = "NEW_BUILD_ENV";
         goToAddBuildEnvironment();
-        addBuildEnvironment( newName, new String[] {}, true );
+        addBuildEnvironment( newName, new String[]{}, true );
         goToEditBuildEnvironment( newName );
-        editBuildEnvironment( BUILD_ENV_NAME, new String[] {}, false );
+        editBuildEnvironment( BUILD_ENV_NAME, new String[]{}, false );
         assertTextPresent( "A Build Environment with the same name already exists" );
     }
-    
-    @Test( dependsOnMethods = { "testEditDuplicatedBuildEnvironmentParallelBuilds" } )
+
+    @Test( dependsOnMethods = {"testEditDuplicatedBuildEnvironmentParallelBuilds"} )
     public void testEditDuplicatedBuildEnvironmentDistributedBuilds()
     {
-    try
+        try
         {
             enableDistributedBuilds();
 
@@ -130,7 +130,7 @@ public class BuildEnvironmentTest
             String BUILD_AGENT_GROUPNAME = getProperty( "BUILD_AGENT_GROUPNAME" );
             String newName = "NEW_BUILD_ENV";
             goToEditBuildEnvironment( newName );
-            editBuildEnvironmentWithBuildAgentGroup( BUILD_ENV_NAME, new String[] {}, BUILD_AGENT_GROUPNAME, false );
+            editBuildEnvironmentWithBuildAgentGroup( BUILD_ENV_NAME, new String[]{}, BUILD_AGENT_GROUPNAME, false );
             assertTextPresent( "A Build Environment with the same name already exists" );
         }
         finally

Modified: continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/CSRFSecurityTest.java
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/CSRFSecurityTest.java?rev=1372260&r1=1372259&r2=1372260&view=diff
==============================================================================
--- continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/CSRFSecurityTest.java (original)
+++ continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/CSRFSecurityTest.java Mon Aug 13 04:29:09 2012
@@ -20,13 +20,12 @@ package org.apache.continuum.web.test;
  */
 
 import org.apache.continuum.web.test.parent.AbstractAdminTest;
-import org.apache.continuum.web.test.parent.AbstractContinuumTest;
 import org.testng.annotations.Test;
 
 /**
  * Test actions that are vulnerable to CSRF.
  */
-@Test( groups = { "csrf" } )
+@Test( groups = {"csrf"} )
 public class CSRFSecurityTest
     extends AbstractAdminTest
 {
@@ -35,13 +34,14 @@ public class CSRFSecurityTest
         getSelenium().open( baseUrl );
         getSelenium().open( baseUrl + "/deleteProject!default.action?projectGroupId=2&projectId=2" );
         assertTextPresent( "Security Alert - Invalid Token Found" );
-        assertTextPresent( "Possible CSRF attack detected! Invalid token found in the request." );   
+        assertTextPresent( "Possible CSRF attack detected! Invalid token found in the request." );
     }
 
     public void testCSRFRemoveProjectBuildDefinition()
     {
         getSelenium().open( baseUrl );
-        getSelenium().open( baseUrl + "/removeProjectBuildDefinition.action?projectId=1&buildDefinitionId=9&confirmed=true" );
+        getSelenium().open(
+            baseUrl + "/removeProjectBuildDefinition.action?projectId=1&buildDefinitionId=9&confirmed=true" );
         assertTextPresent( "Security Alert - Invalid Token Found" );
         assertTextPresent( "Possible CSRF attack detected! Invalid token found in the request." );
     }
@@ -49,7 +49,8 @@ public class CSRFSecurityTest
     public void testCSRFRemoveGroupBuildDefinition()
     {
         getSelenium().open( baseUrl );
-        getSelenium().open( baseUrl + "/removeGroupBuildDefinition.action?projectGroupId=2&buildDefinitionId=8&confirmed=true" );
+        getSelenium().open(
+            baseUrl + "/removeGroupBuildDefinition.action?projectGroupId=2&buildDefinitionId=8&confirmed=true" );
         assertTextPresent( "Security Alert - Invalid Token Found" );
         assertTextPresent( "Possible CSRF attack detected! Invalid token found in the request." );
     }
@@ -60,7 +61,7 @@ public class CSRFSecurityTest
         getSelenium().open( baseUrl + "/removeProjectGroup.action?projectGroupId=2" );
         assertTextPresent( "Security Alert - Invalid Token Found" );
         assertTextPresent( "Possible CSRF attack detected! Invalid token found in the request." );
-    } 
+    }
 
     public void testCSRFRemoveBuildResult()
     {
@@ -81,9 +82,10 @@ public class CSRFSecurityTest
     public void testCSRFRemoveReleaseResults()
     {
         getSelenium().open( baseUrl );
-        getSelenium().open( baseUrl + "/removeReleaseResults.action?projectGroupId=2&selectedReleaseResults=1&confirmed=true" );
+        getSelenium().open(
+            baseUrl + "/removeReleaseResults.action?projectGroupId=2&selectedReleaseResults=1&confirmed=true" );
         assertTextPresent( "Security Alert - Invalid Token Found" );
-        assertTextPresent( "Possible CSRF attack detected! Invalid token found in the request." );   
+        assertTextPresent( "Possible CSRF attack detected! Invalid token found in the request." );
     }
 
     public void testCSRFSaveFooter()
@@ -113,7 +115,8 @@ public class CSRFSecurityTest
     public void testCSRFDeleteBuildDefinitionTemplate()
     {
         getSelenium().open( baseUrl );
-        getSelenium().open( baseUrl + "/deleteDefinitionTemplate.action?buildDefinitionTemplate.id=5&buildDefinitionTemplate.name=Test+Template" );
+        getSelenium().open( baseUrl +
+                                "/deleteDefinitionTemplate.action?buildDefinitionTemplate.id=5&buildDefinitionTemplate.name=Test+Template" );
         assertTextPresent( "Security Alert - Invalid Token Found" );
         assertTextPresent( "Possible CSRF attack detected! Invalid token found in the request." );
     }
@@ -145,7 +148,8 @@ public class CSRFSecurityTest
     public void testCSRFDeleteBuildAgent()
     {
         getSelenium().open( baseUrl );
-        getSelenium().open( baseUrl + "/security/deleteBuildAgent.action?buildAgent.url=http%3A%2F%2Flocalhost%3A8181%2Fcontinuum-buildagent%2Fxmlrpc&confirmed=true" );
+        getSelenium().open( baseUrl +
+                                "/security/deleteBuildAgent.action?buildAgent.url=http%3A%2F%2Flocalhost%3A8181%2Fcontinuum-buildagent%2Fxmlrpc&confirmed=true" );
         assertTextPresent( "Security Alert - Invalid Token Found" );
         assertTextPresent( "Possible CSRF attack detected! Invalid token found in the request." );
     }
@@ -153,15 +157,17 @@ public class CSRFSecurityTest
     public void testCSRFDeleteBuildAgentGroup()
     {
         getSelenium().open( baseUrl );
-        getSelenium().open( baseUrl + "/security/deleteBuildAgentGroup.action?buildAgentGroup.name=Test+Agent+Group&confirmed=true" );
+        getSelenium().open(
+            baseUrl + "/security/deleteBuildAgentGroup.action?buildAgentGroup.name=Test+Agent+Group&confirmed=true" );
         assertTextPresent( "Security Alert - Invalid Token Found" );
-        assertTextPresent( "Possible CSRF attack detected! Invalid token found in the request." );    
+        assertTextPresent( "Possible CSRF attack detected! Invalid token found in the request." );
     }
 
     public void testCSRFDeleteProjectGroupNotifier()
     {
         getSelenium().open( baseUrl );
-        getSelenium().open( baseUrl + "/deleteProjectGroupNotifier.action?projectGroupId=2&notifierId=1&notifierType=mail" );
+        getSelenium().open(
+            baseUrl + "/deleteProjectGroupNotifier.action?projectGroupId=2&notifierId=1&notifierType=mail" );
         assertTextPresent( "Security Alert - Invalid Token Found" );
         assertTextPresent( "Possible CSRF attack detected! Invalid token found in the request." );
     }

Modified: continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/ConfigurationTest.java
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/ConfigurationTest.java?rev=1372260&r1=1372259&r2=1372260&view=diff
==============================================================================
--- continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/ConfigurationTest.java (original)
+++ continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/ConfigurationTest.java Mon Aug 13 04:29:09 2012
@@ -20,14 +20,14 @@ package org.apache.continuum.web.test;
  */
 
 import org.apache.continuum.web.test.parent.AbstractConfigurationTest;
-import org.testng.annotations.Test;
 import org.testng.Assert;
+import org.testng.annotations.Test;
 
 /**
  * @author José Morales Martínez
  * @version $Id$
  */
-@Test( groups = { "configuration" } )
+@Test( groups = {"configuration"} )
 public class ConfigurationTest
     extends AbstractConfigurationTest
 {
@@ -54,7 +54,7 @@ public class ConfigurationTest
         NUMBER_ALLOWED_PARALLEL = getFieldValue( "numberOfAllowedBuildsinParallel" );
     }
 
-    @Test( dependsOnMethods = { "defaultConfiguration" } )
+    @Test( dependsOnMethods = {"defaultConfiguration"} )
     public void editConfiguration()
     {
         String newWorking = "newWorking";
@@ -90,8 +90,8 @@ public class ConfigurationTest
     {
         String invalidString = "<script>alert('gotcha')</script>";
         goToConfigurationPage();
-        submitConfiguration( invalidString, invalidString, invalidString, invalidString, 
-                             invalidString, invalidString, true, false );
+        submitConfiguration( invalidString, invalidString, invalidString, invalidString, invalidString, invalidString,
+                             true, false );
         assertTextPresent( "Working directory contains invalid characters." );
         assertTextPresent( "Build output directory contains invalid characters." );
         assertTextPresent( "Release output directory contains invalid characters." );
@@ -102,60 +102,71 @@ public class ConfigurationTest
     public void testSetFooterXSS()
     {
         goToAppearancePage();
-        setFieldValue( "saveFooter_footer", "Copyright <SCRIPT>alert(String.fromCharCode(88,83,83))</SCRIPT> 2005-2011&nbsp;The Apache Software Foundation" );
+        setFieldValue( "saveFooter_footer",
+                       "Copyright <SCRIPT>alert(String.fromCharCode(88,83,83))</SCRIPT> 2005-2011&nbsp;The Apache Software Foundation" );
         submit();
         Assert.assertFalse( getSelenium().isAlertPresent() );
         assertTextPresent( "Copyright 2005-2011 The Apache Software Foundation" );
 
-        setFieldValue( "saveFooter_footer", "Copyright <SCRIPT SRC=http://ha.ckers.org/xss.js></SCRIPT> 2005-2011&nbsp;The Apache Software Foundation" );
+        setFieldValue( "saveFooter_footer",
+                       "Copyright <SCRIPT SRC=http://ha.ckers.org/xss.js></SCRIPT> 2005-2011&nbsp;The Apache Software Foundation" );
         submit();
         Assert.assertFalse( getSelenium().isAlertPresent() );
         assertTextPresent( "Copyright 2005-2011 The Apache Software Foundation" );
 
-        setFieldValue( "saveFooter_footer", "Copyright <IMG SRC=\"javascript:alert('XSS');\"> 2005-2011&nbsp;The Apache Software Foundation" );
+        setFieldValue( "saveFooter_footer",
+                       "Copyright <IMG SRC=\"javascript:alert('XSS');\"> 2005-2011&nbsp;The Apache Software Foundation" );
         submit();
         Assert.assertFalse( getSelenium().isAlertPresent() );
         assertTextPresent( "Copyright 2005-2011 The Apache Software Foundation" );
 
-        setFieldValue( "saveFooter_footer", "Copyright <IMG SRC=JaVaScRiPt:alert('XSS')> 2005-2011&nbsp;The Apache Software Foundation" );
+        setFieldValue( "saveFooter_footer",
+                       "Copyright <IMG SRC=JaVaScRiPt:alert('XSS')> 2005-2011&nbsp;The Apache Software Foundation" );
         submit();
         Assert.assertFalse( getSelenium().isAlertPresent() );
         assertTextPresent( "Copyright 2005-2011 The Apache Software Foundation" );
 
-        setFieldValue( "saveFooter_footer", "Copyright <IMG SRC=javascript:alert(&quot;XSS&quot;)> 2005-2011&nbsp;The Apache Software Foundation" );
+        setFieldValue( "saveFooter_footer",
+                       "Copyright <IMG SRC=javascript:alert(&quot;XSS&quot;)> 2005-2011&nbsp;The Apache Software Foundation" );
         submit();
         Assert.assertFalse( getSelenium().isAlertPresent() );
         assertTextPresent( "Copyright 2005-2011 The Apache Software Foundation" );
 
         // unicode
-        setFieldValue( "saveFooter_footer", "Copyright <IMG SRC=&#106;&#97;&#118;&#97;&#115;&#99;&#114;&#105;&#112;&#116;&#58;&#97;&#108;&#101;&#114;&#116;&#40;&#39;&#88;&#83;&#83;&#39;&#41;> 2005-2011&nbsp;The Apache Software Foundation" );
+        setFieldValue( "saveFooter_footer",
+                       "Copyright <IMG SRC=&#106;&#97;&#118;&#97;&#115;&#99;&#114;&#105;&#112;&#116;&#58;&#97;&#108;&#101;&#114;&#116;&#40;&#39;&#88;&#83;&#83;&#39;&#41;> 2005-2011&nbsp;The Apache Software Foundation" );
         submit();
         Assert.assertFalse( getSelenium().isAlertPresent() );
         assertTextPresent( "Copyright 2005-2011 The Apache Software Foundation" );
 
         // utf-8
-        setFieldValue( "saveFooter_footer", "Copyright <IMG SRC=&#0000106&#0000097&#0000118&#0000097&#0000115&#0000099&#0000114&#0000105&#0000112&#0000116&#0000058&#0000097&#0000108&#0000101&#0000114&#0000116&#0000040&#0000039&#0000088&#0000083&#0000083&#0000039&#0000041> 2005-2011&nbsp;The Apache Software Foundation" );
+        setFieldValue( "saveFooter_footer",
+                       "Copyright <IMG SRC=&#0000106&#0000097&#0000118&#0000097&#0000115&#0000099&#0000114&#0000105&#0000112&#0000116&#0000058&#0000097&#0000108&#0000101&#0000114&#0000116&#0000040&#0000039&#0000088&#0000083&#0000083&#0000039&#0000041> 2005-2011&nbsp;The Apache Software Foundation" );
         submit();
         Assert.assertFalse( getSelenium().isAlertPresent() );
         assertTextPresent( "Copyright 2005-2011 The Apache Software Foundation" );
-        
+
         // hex encoding
-        setFieldValue( "saveFooter_footer", "Copyright <IMG SRC=&#x6A&#x61&#x76&#x61&#x73&#x63&#x72&#x69&#x70&#x74&#x3A&#x61&#x6C&#x65&#x72&#x74&#x28&#x27&#x58&#x53&#x53&#x27&#x29> 2005-2011&nbsp;The Apache Software Foundation" );
+        setFieldValue( "saveFooter_footer",
+                       "Copyright <IMG SRC=&#x6A&#x61&#x76&#x61&#x73&#x63&#x72&#x69&#x70&#x74&#x3A&#x61&#x6C&#x65&#x72&#x74&#x28&#x27&#x58&#x53&#x53&#x27&#x29> 2005-2011&nbsp;The Apache Software Foundation" );
         submit();
         Assert.assertFalse( getSelenium().isAlertPresent() );
         assertTextPresent( "Copyright 2005-2011 The Apache Software Foundation" );
 
-        setFieldValue( "saveFooter_footer", "Copyright <IMG SRC=\"jav    ascript:alert('XSS');\"> 2005-2011&nbsp;The Apache Software Foundation" );
+        setFieldValue( "saveFooter_footer",
+                       "Copyright <IMG SRC=\"jav    ascript:alert('XSS');\"> 2005-2011&nbsp;The Apache Software Foundation" );
         submit();
         Assert.assertFalse( getSelenium().isAlertPresent() );
         assertTextPresent( "Copyright 2005-2011 The Apache Software Foundation" );
 
-        setFieldValue( "saveFooter_footer", "Copyright <IMG SRC=\"jav&#x09;ascript:alert('XSS');\"> 2005-2011&nbsp;The Apache Software Foundation" );
+        setFieldValue( "saveFooter_footer",
+                       "Copyright <IMG SRC=\"jav&#x09;ascript:alert('XSS');\"> 2005-2011&nbsp;The Apache Software Foundation" );
         submit();
         Assert.assertFalse( getSelenium().isAlertPresent() );
         assertTextPresent( "Copyright 2005-2011 The Apache Software Foundation" );
 
-        setFieldValue( "saveFooter_footer", "Copyright <STYLE>@import'http://ha.ckers.org/xss.css';</STYLE> 2005-2011&nbsp;The Apache Software Foundation" );
+        setFieldValue( "saveFooter_footer",
+                       "Copyright <STYLE>@import'http://ha.ckers.org/xss.css';</STYLE> 2005-2011&nbsp;The Apache Software Foundation" );
         submit();
         Assert.assertFalse( getSelenium().isAlertPresent() );
         assertTextPresent( "Copyright 2005-2011 The Apache Software Foundation" );

Modified: continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/DistributedBuildTest.java
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/DistributedBuildTest.java?rev=1372260&r1=1372259&r2=1372260&view=diff
==============================================================================
--- continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/DistributedBuildTest.java (original)
+++ continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/DistributedBuildTest.java Mon Aug 13 04:29:09 2012
@@ -30,7 +30,7 @@ import org.testng.annotations.Test;
  * @author José Morales Martínez
  * @version $Id$
  */
-@Test( groups = { "distributed" } )
+@Test( groups = {"distributed"} )
 public class DistributedBuildTest
     extends AbstractBuildAgentsTest
 {
@@ -56,7 +56,7 @@ public class DistributedBuildTest
         disableDistributedBuilds();
     }
 
-    @Test( dependsOnMethods = { "testDeleteBuildAgentGroup" } )
+    @Test( dependsOnMethods = {"testDeleteBuildAgentGroup"} )
     public void testBuildProjectGroupNoBuildAgentConfigured()
         throws Exception
     {
@@ -67,8 +67,8 @@ public class DistributedBuildTest
         String M2_PROJ_GRP_ID = getProperty( "M2_DELETE_PROJ_GRP_ID" );
         projectGroupName = M2_PROJ_GRP_NAME;
 
-        addMavenTwoProject( getProperty( "M2_DELETE_POM_URL" ), getProperty( "M2_POM_USERNAME" ),
-                            getProperty( "M2_POM_PASSWORD" ), null, true );
+        addMavenTwoProject( getProperty( "M2_DELETE_POM_URL" ), getProperty( "M2_POM_USERNAME" ), getProperty(
+            "M2_POM_PASSWORD" ), null, true );
         goToProjectGroupsSummaryPage();
         assertLinkPresent( projectGroupName );
         clickLinkWithText( projectGroupName );
@@ -90,14 +90,14 @@ public class DistributedBuildTest
 
         addBuildAgent( getBuildAgentUrl() );
 
-        addMavenTwoProject( getProperty( "M2_DELETE_POM_URL" ), getProperty( "M2_POM_USERNAME" ),
-                            getProperty( "M2_POM_PASSWORD" ), null, true );
+        addMavenTwoProject( getProperty( "M2_DELETE_POM_URL" ), getProperty( "M2_POM_USERNAME" ), getProperty(
+            "M2_POM_PASSWORD" ), null, true );
 
         buildProjectGroup( M2_PROJ_GRP_NAME, M2_PROJ_GRP_ID, "", M2_PROJ_GRP_NAME, true );
     }
 
-    @Test( dependsOnMethods = { "testAddBuildAgentGroupWithEmptyBuildAgent",
-        "testAddBuildEnvironmentWithBuildAgentGroup" } )
+    @Test(
+        dependsOnMethods = {"testAddBuildAgentGroupWithEmptyBuildAgent", "testAddBuildEnvironmentWithBuildAgentGroup"} )
     public void testProjectGroupNoBuildAgentConfiguredInBuildAgentGroup()
         throws Exception
     {
@@ -106,8 +106,8 @@ public class DistributedBuildTest
         String BUILD_ENV_NAME = getProperty( "BUILD_ENV_NAME" );
         projectGroupName = M2_PROJ_GRP_NAME;
 
-        addMavenTwoProject( getProperty( "M2_DELETE_POM_URL" ), getProperty( "M2_POM_USERNAME" ),
-                            getProperty( "M2_POM_PASSWORD" ), null, true );
+        addMavenTwoProject( getProperty( "M2_DELETE_POM_URL" ), getProperty( "M2_POM_USERNAME" ), getProperty(
+            "M2_POM_PASSWORD" ), null, true );
         goToProjectGroupsSummaryPage();
         assertLinkPresent( M2_PROJ_GRP_NAME );
         clickLinkWithText( M2_PROJ_GRP_NAME );

Modified: continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/InstallationTest.java
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/InstallationTest.java?rev=1372260&r1=1372259&r2=1372260&view=diff
==============================================================================
--- continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/InstallationTest.java (original)
+++ continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/InstallationTest.java Mon Aug 13 04:29:09 2012
@@ -26,18 +26,19 @@ import org.testng.annotations.Test;
  * @author José Morales Martínez
  * @version $Id$
  */
-@Test( groups = { "installation" } )
+@Test( groups = {"installation"} )
 public class InstallationTest
     extends AbstractInstallationTest
 {
     public void testAddJdkToolWithoutBuildEnvironment()
     {
         String INSTALL_TOOL_JDK_NAME = getProperty( "INSTALL_TOOL_JDK_NAME" );
-		String INSTALL_TOOL_JDK_PATH = isWindows() ? getProperty( "INSTALL_TOOL_JDK_PATH" ) :  getEscapeProperty( "INSTALL_TOOL_JDK_PATH" );
-		goToAddInstallationTool();
-		addInstallation( INSTALL_TOOL_JDK_NAME, "JDK", INSTALL_TOOL_JDK_PATH, false, true, true );
+        String INSTALL_TOOL_JDK_PATH = isWindows() ? getProperty( "INSTALL_TOOL_JDK_PATH" ) : getEscapeProperty(
+            "INSTALL_TOOL_JDK_PATH" );
+        goToAddInstallationTool();
+        addInstallation( INSTALL_TOOL_JDK_NAME, "JDK", INSTALL_TOOL_JDK_PATH, false, true, true );
     }
-    
+
     public void testAddJdkToolWithoutBuildEnvironmentWithInvalidValues()
     {
         String INSTALL_TOOL_JDK_NAME = "!@#$<>?etc";
@@ -51,11 +52,12 @@ public class InstallationTest
     public void testAddMavenToolWithBuildEnvironment()
     {
         String INSTALL_TOOL_MAVEN_NAME = getProperty( "INSTALL_TOOL_MAVEN_NAME" );
-		String INSTALL_TOOL_MAVEN_PATH = isWindows() ? getProperty( "INSTALL_TOOL_MAVEN_PATH" ) :  getEscapeProperty( "INSTALL_TOOL_MAVEN_PATH" );
-		goToAddInstallationTool();
-		addInstallation( INSTALL_TOOL_MAVEN_NAME, "Maven", INSTALL_TOOL_MAVEN_PATH, true, true, true );
-		// TODO: Validate build environment
-		
+        String INSTALL_TOOL_MAVEN_PATH = isWindows() ? getProperty( "INSTALL_TOOL_MAVEN_PATH" ) : getEscapeProperty(
+            "INSTALL_TOOL_MAVEN_PATH" );
+        goToAddInstallationTool();
+        addInstallation( INSTALL_TOOL_MAVEN_NAME, "Maven", INSTALL_TOOL_MAVEN_PATH, true, true, true );
+        // TODO: Validate build environment
+
     }
 
     public void testAddInstallationVariableWithBuildEnvironment()
@@ -76,7 +78,7 @@ public class InstallationTest
         goToAddInstallationVariable();
         addInstallation( INSTALL_VAR_NAME, INSTALL_VAR_VARIABLE_NAME, INSTALL_VAR_PATH, false, false, true );
     }
-    
+
     public void testAddInstallationVariableWithoutBuildEnvironmentWithInvalidValues()
     {
         String INSTALL_VAR_NAME = "!@#$<>?etc";
@@ -119,18 +121,19 @@ public class InstallationTest
         assertTextPresent( "You must define an environment variable" );
     }
 
-    @Test( dependsOnMethods = { "testAddJdkToolWithoutBuildEnvironment" } )
+    @Test( dependsOnMethods = {"testAddJdkToolWithoutBuildEnvironment"} )
     public void testAddDuplicatedInstallationTool()
     {
         String INSTALL_TOOL_JDK_NAME = getProperty( "INSTALL_TOOL_JDK_NAME" );
-		String INSTALL_TOOL_JDK_PATH = isWindows() ? getProperty( "INSTALL_TOOL_JDK_PATH" ) :  getEscapeProperty( "INSTALL_TOOL_JDK_PATH" );
-		goToAddInstallationTool();
-		addInstallation( INSTALL_TOOL_JDK_NAME, "JDK", INSTALL_TOOL_JDK_PATH, false, true, false );
-		assertTextPresent( "Installation name already exists" );
-		
+        String INSTALL_TOOL_JDK_PATH = isWindows() ? getProperty( "INSTALL_TOOL_JDK_PATH" ) : getEscapeProperty(
+            "INSTALL_TOOL_JDK_PATH" );
+        goToAddInstallationTool();
+        addInstallation( INSTALL_TOOL_JDK_NAME, "JDK", INSTALL_TOOL_JDK_PATH, false, true, false );
+        assertTextPresent( "Installation name already exists" );
+
     }
 
-    @Test( dependsOnMethods = { "testAddInstallationVariableWithBuildEnvironment" } )
+    @Test( dependsOnMethods = {"testAddInstallationVariableWithBuildEnvironment"} )
     public void testAddDuplicatedInstallationVariable()
     {
         String INSTALL_VAR_NAME = getProperty( "INSTALL_VAR_NAME" );
@@ -141,19 +144,20 @@ public class InstallationTest
         assertTextPresent( "Installation name already exists" );
     }
 
-    @Test( dependsOnMethods = { "testAddJdkToolWithoutBuildEnvironment" } )
+    @Test( dependsOnMethods = {"testAddJdkToolWithoutBuildEnvironment"} )
     public void testEditInstallationTool()
     {
         String INSTALL_TOOL_JDK_NAME = getProperty( "INSTALL_TOOL_JDK_NAME" );
-		String INSTALL_TOOL_JDK_PATH = isWindows() ? getProperty( "INSTALL_TOOL_JDK_PATH" ) :  getEscapeProperty( "INSTALL_TOOL_JDK_PATH" );
-		String newName = "new_name";
-		goToEditInstallation( INSTALL_TOOL_JDK_NAME, "JDK", INSTALL_TOOL_JDK_PATH, true );
-		editInstallation( newName, "JDK", INSTALL_TOOL_JDK_PATH, true, true );
-		goToEditInstallation( newName, "JDK", INSTALL_TOOL_JDK_PATH, true );
-		editInstallation( INSTALL_TOOL_JDK_NAME, "JDK", INSTALL_TOOL_JDK_PATH, true, true );
+        String INSTALL_TOOL_JDK_PATH = isWindows() ? getProperty( "INSTALL_TOOL_JDK_PATH" ) : getEscapeProperty(
+            "INSTALL_TOOL_JDK_PATH" );
+        String newName = "new_name";
+        goToEditInstallation( INSTALL_TOOL_JDK_NAME, "JDK", INSTALL_TOOL_JDK_PATH, true );
+        editInstallation( newName, "JDK", INSTALL_TOOL_JDK_PATH, true, true );
+        goToEditInstallation( newName, "JDK", INSTALL_TOOL_JDK_PATH, true );
+        editInstallation( INSTALL_TOOL_JDK_NAME, "JDK", INSTALL_TOOL_JDK_PATH, true, true );
     }
 
-    @Test( dependsOnMethods = { "testAddInstallationVariableWithBuildEnvironment" } )
+    @Test( dependsOnMethods = {"testAddInstallationVariableWithBuildEnvironment"} )
     public void testEditInstallationVariable()
     {
         String INSTALL_VAR_NAME = getProperty( "INSTALL_VAR_NAME" );
@@ -168,24 +172,24 @@ public class InstallationTest
         editInstallation( INSTALL_VAR_NAME, INSTALL_VAR_VARIABLE_NAME, INSTALL_VAR_PATH, false, true );
     }
 
-    @Test( dependsOnMethods = { "testEditInstallationTool", "testAddDuplicatedInstallationTool" } )
+    @Test( dependsOnMethods = {"testEditInstallationTool", "testAddDuplicatedInstallationTool"} )
     public void testDeleteInstallationTool()
     {
         String INSTALL_TOOL_JDK_NAME = getProperty( "INSTALL_TOOL_JDK_NAME" );
         removeInstallation( INSTALL_TOOL_JDK_NAME );
     }
 
-    @Test( dependsOnMethods = { "testEditInstallationVariable", "testAddDuplicatedInstallationVariable" } )
+    @Test( dependsOnMethods = {"testEditInstallationVariable", "testAddDuplicatedInstallationVariable"} )
     public void testDeleteInstallationVariable()
     {
         String INSTALL_VAR_NAME = getProperty( "INSTALL_VAR_NAME" );
         removeInstallation( INSTALL_VAR_NAME );
     }
 
-	public static boolean isWindows()
-	{
-		String os = System.getProperty("os.name").toLowerCase();
-		//windows
-	    return os.contains( "win" );
-	}
+    public static boolean isWindows()
+    {
+        String os = System.getProperty( "os.name" ).toLowerCase();
+        //windows
+        return os.contains( "win" );
+    }
 }

Modified: continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/LocalRepositoriesTest.java
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/LocalRepositoriesTest.java?rev=1372260&r1=1372259&r2=1372260&view=diff
==============================================================================
--- continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/LocalRepositoriesTest.java (original)
+++ continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/LocalRepositoriesTest.java Mon Aug 13 04:29:09 2012
@@ -26,7 +26,7 @@ import org.testng.annotations.Test;
  * @author José Morales Martínez
  * @version $Id$
  */
-@Test( groups = { "repository" } )
+@Test( groups = {"repository"} )
 public class LocalRepositoriesTest
     extends AbstractLocalRepositoryTest
 {
@@ -57,7 +57,7 @@ public class LocalRepositoriesTest
         assertTextPresent( "Local repository location contains invalid characters." );
     }
 
-    @Test( dependsOnMethods = { "testAddLocalRepository" } )
+    @Test( dependsOnMethods = {"testAddLocalRepository"} )
     public void testAddDuplicatedLocalRepository()
     {
         String LOCAL_REPOSITORY_NAME = getProperty( "LOCAL_REPOSITORY_NAME" );
@@ -67,8 +67,8 @@ public class LocalRepositoriesTest
         assertTextPresent( "Local repository name must be unique" );
         assertTextPresent( "Local repository location must be unique" );
     }
-    
-    @Test( dependsOnMethods = { "testAddDuplicatedLocalRepository" } )
+
+    @Test( dependsOnMethods = {"testAddDuplicatedLocalRepository"} )
     public void testAddDuplicateLocalRepositoryWithTrailingWhitespaces()
     {
         String duplicateRepositoryName = addTrailingWhitespace( getProperty( "LOCAL_REPOSITORY_NAME" ) );
@@ -79,7 +79,7 @@ public class LocalRepositoriesTest
         assertTextPresent( "Local repository location must be unique" );
     }
 
-    @Test( dependsOnMethods = { "testAddDuplicateLocalRepositoryWithTrailingWhitespaces" } )
+    @Test( dependsOnMethods = {"testAddDuplicateLocalRepositoryWithTrailingWhitespaces"} )
     public void testEditLocalRepository()
     {
         String LOCAL_REPOSITORY_NAME = getProperty( "LOCAL_REPOSITORY_NAME" );
@@ -92,7 +92,7 @@ public class LocalRepositoriesTest
         addEditLocalRepository( LOCAL_REPOSITORY_NAME, LOCAL_REPOSITORY_LOCATION, true );
     }
 
-    @Test( dependsOnMethods = { "testEditLocalRepository" } )
+    @Test( dependsOnMethods = {"testEditLocalRepository"} )
     public void testDeleteLocalRepository()
     {
         String LOCAL_REPOSITORY_NAME = getProperty( "LOCAL_REPOSITORY_NAME" );

Modified: continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/LoginTest.java
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/LoginTest.java?rev=1372260&r1=1372259&r2=1372260&view=diff
==============================================================================
--- continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/LoginTest.java (original)
+++ continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/LoginTest.java Mon Aug 13 04:29:09 2012
@@ -27,13 +27,14 @@ import org.testng.annotations.Test;
  * http://code.google.com/p/testng/source/browse/trunk/CHANGES.txt
  * Waiting 5.9 release. It's comming soon.
  */
+
 /**
  * Based on LoginTest of Emmanuel Venisse test.
  *
  * @author José Morales Martínez
  * @version $Id$
  */
-@Test( groups = { "login" } )
+@Test( groups = {"login"} )
 public class LoginTest
     extends AbstractContinuumTest
 {

Modified: continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/MavenOneProjectTest.java
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/MavenOneProjectTest.java?rev=1372260&r1=1372259&r2=1372260&view=diff
==============================================================================
--- continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/MavenOneProjectTest.java (original)
+++ continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/MavenOneProjectTest.java Mon Aug 13 04:29:09 2012
@@ -30,7 +30,7 @@ import org.testng.annotations.Test;
  * @author José Morales Martínez
  * @version $Id$
  */
-@Test( groups = { "mavenOneProject" } )
+@Test( groups = {"mavenOneProject"} )
 public class MavenOneProjectTest
     extends AbstractAdminTest
 {

Modified: continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/MavenTwoProjectTest.java
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/MavenTwoProjectTest.java?rev=1372260&r1=1372259&r2=1372260&view=diff
==============================================================================
--- continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/MavenTwoProjectTest.java (original)
+++ continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/MavenTwoProjectTest.java Mon Aug 13 04:29:09 2012
@@ -28,7 +28,7 @@ import org.testng.annotations.Test;
  * @author José Morales Martínez
  * @version $Id$
  */
-@Test( groups = { "mavenTwoProject" } )
+@Test( groups = {"mavenTwoProject"} )
 public class MavenTwoProjectTest
     extends AbstractAdminTest
 {
@@ -59,7 +59,7 @@ public class MavenTwoProjectTest
         addDefaultBuildDefinitionFromTemplate( "maven2" );
     }
 
-    @Test( dependsOnMethods = { "testAddMavenTwoProjectWithNoDefaultBuildDefinitionInTemplate" } )
+    @Test( dependsOnMethods = {"testAddMavenTwoProjectWithNoDefaultBuildDefinitionInTemplate"} )
     public void testAddMavenTwoProject()
         throws Exception
     {
@@ -71,7 +71,7 @@ public class MavenTwoProjectTest
         String M2_PROJ_GRP_ID = getProperty( "M2_PROJ_GRP_ID" );
         String M2_PROJ_GRP_DESCRIPTION = getProperty( "M2_PROJ_GRP_DESCRIPTION" );
         String M2_PROJ_GRP_SCM_ROOT_URL = getProperty( "M2_PROJ_GRP_SCM_ROOT_URL" );
-        
+
         // Enter values into Add Maven Two Project fields, and submit
         addMavenTwoProject( M2_POM_URL, M2_POM_USERNAME, M2_POM_PASSWORD, null, true );
         // Wait Struct Listener
@@ -118,7 +118,7 @@ public class MavenTwoProjectTest
         String M2_POM_URL = getProperty( "M2_POM_URL" );
         String M2_POM_USERNAME = getProperty( "M2_POM_USERNAME" );
         String M2_POM_PASSWORD = getProperty( "M2_POM_PASSWORD" );
-        
+
         addMavenTwoProject( M2_POM_URL, M2_POM_USERNAME, M2_POM_PASSWORD, TEST_PROJ_GRP_NAME, true );
 
         assertProjectGroupSummaryPage( TEST_PROJ_GRP_NAME, TEST_PROJ_GRP_ID, TEST_PROJ_GRP_DESCRIPTION );
@@ -128,7 +128,7 @@ public class MavenTwoProjectTest
         removeProjectGroup( TEST_PROJ_GRP_NAME );
     }
 
-    @Test( dependsOnMethods = { "testProjectGroupAllBuildSuccess" } )
+    @Test( dependsOnMethods = {"testProjectGroupAllBuildSuccess"} )
     public void testMoveProject()
         throws Exception
     {
@@ -180,7 +180,8 @@ public class MavenTwoProjectTest
     {
         String pomUrl = "aaa";
         submitAddMavenTwoProjectPage( pomUrl );
-        assertTextPresent( "The specified resource cannot be accessed. Please try again later or contact your administrator." );
+        assertTextPresent(
+            "The specified resource cannot be accessed. Please try again later or contact your administrator." );
     }
 
     /**
@@ -213,7 +214,8 @@ public class MavenTwoProjectTest
     {
         String pomUrl = getProperty( "MISS_PARENT_POM_URL" );
         submitAddMavenTwoProjectPage( pomUrl );
-        assertTextPresent( "Missing artifact trying to build the POM. Check that its parent POM is available or add it first in Continuum." );
+        assertTextPresent(
+            "Missing artifact trying to build the POM. Check that its parent POM is available or add it first in Continuum." );
     }
 
     /**
@@ -235,7 +237,8 @@ public class MavenTwoProjectTest
     {
         String pomUrl = "http://localhost:9595/";
         submitAddMavenTwoProjectPage( pomUrl );
-        assertTextPresent( "POM file does not exist. Either the POM you specified or one of its modules does not exist." );
+        assertTextPresent(
+            "POM file does not exist. Either the POM you specified or one of its modules does not exist." );
     }
 
     /**
@@ -249,17 +252,17 @@ public class MavenTwoProjectTest
         assertAboutPage();
     }
 
-    @Test( dependsOnMethods = { "testAddMavenTwoProject" } )
+    @Test( dependsOnMethods = {"testAddMavenTwoProject"} )
     public void testDeleteMavenTwoProject()
         throws Exception
     {
         String M2_PROJ_GRP_NAME = getProperty( "M2_DELETE_PROJ_GRP_NAME" );
         String M2_PROJ_GRP_SCM_ROOT_URL = getProperty( "M2_DELETE_PROJ_GRP_SCM_ROOT_URL" );
         goToProjectGroupsSummaryPage();
-        
+
         // delete project - delete icon
-        addMavenTwoProject( getProperty( "M2_DELETE_POM_URL" ), getProperty( "M2_POM_USERNAME" ),
-                            getProperty( "M2_POM_PASSWORD" ), null, true );
+        addMavenTwoProject( getProperty( "M2_DELETE_POM_URL" ), getProperty( "M2_POM_USERNAME" ), getProperty(
+            "M2_POM_PASSWORD" ), null, true );
         goToProjectGroupsSummaryPage();
         assertLinkPresent( M2_PROJ_GRP_NAME );
         clickLinkWithText( M2_PROJ_GRP_NAME );
@@ -284,8 +287,8 @@ public class MavenTwoProjectTest
         assertLinkNotPresent( M2_PROJ_GRP_NAME );
 
         // delete project - "Delete Project(s)" button
-        addMavenTwoProject( getProperty( "M2_DELETE_POM_URL" ), getProperty( "M2_POM_USERNAME" ),
-                            getProperty( "M2_POM_PASSWORD" ), null, true );
+        addMavenTwoProject( getProperty( "M2_DELETE_POM_URL" ), getProperty( "M2_POM_USERNAME" ), getProperty(
+            "M2_POM_PASSWORD" ), null, true );
         goToProjectGroupsSummaryPage();
         assertLinkPresent( M2_PROJ_GRP_NAME );
         clickLinkWithText( M2_PROJ_GRP_NAME );
@@ -314,21 +317,21 @@ public class MavenTwoProjectTest
         String M2_POM_URL = getProperty( "M2_PROJ_WITH_TAG_POM_URL" );
         String M2_POM_USERNAME = getProperty( "M2_POM_USERNAME" );
         String M2_POM_PASSWORD = getProperty( "M2_POM_PASSWORD" );
-    
+
         String M2_PROJ_GRP_NAME = getProperty( "M2_PROJ_WITH_TAG_PROJ_GRP_NAME" );
         String M2_PROJ_GRP_ID = getProperty( "M2_PROJ_WITH_TAG_PROJ_GRP_ID" );
         String M2_PROJ_GRP_DESCRIPTION = "";
-    
+
         addMavenTwoProject( M2_POM_URL, M2_POM_USERNAME, M2_POM_PASSWORD, null, true );
         assertProjectGroupSummaryPage( M2_PROJ_GRP_NAME, M2_PROJ_GRP_ID, M2_PROJ_GRP_DESCRIPTION );
-    
+
         buildProjectGroup( M2_PROJ_GRP_NAME, M2_PROJ_GRP_ID, M2_PROJ_GRP_DESCRIPTION, M2_PROJ_GRP_NAME, true );
-    
+
         removeProjectGroup( M2_PROJ_GRP_NAME );
         assertLinkNotPresent( M2_PROJ_GRP_NAME );
     }
 
-    @Test( dependsOnMethods = { "testAddMavenTwoProject" } )
+    @Test( dependsOnMethods = {"testAddMavenTwoProject"} )
     public void testProjectGroupAllBuildSuccess()
         throws Exception
     {

Modified: continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/MyAccountTest.java
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/MyAccountTest.java?rev=1372260&r1=1372259&r2=1372260&view=diff
==============================================================================
--- continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/MyAccountTest.java (original)
+++ continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/MyAccountTest.java Mon Aug 13 04:29:09 2012
@@ -29,7 +29,7 @@ import org.testng.annotations.Test;
  * @author José Morales Martínez
  * @version $Id$
  */
-@Test( groups = { "myAccount" } )
+@Test( groups = {"myAccount"} )
 public class MyAccountTest
     extends AbstractAdminTest
 {

Modified: continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/NotifierTest.java
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/NotifierTest.java?rev=1372260&r1=1372259&r2=1372260&view=diff
==============================================================================
--- continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/NotifierTest.java (original)
+++ continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/NotifierTest.java Mon Aug 13 04:29:09 2012
@@ -28,7 +28,7 @@ import org.testng.annotations.Test;
  * @author José Morales Martínez
  * @version $Id$
  */
-@Test( groups = { "notifier" } )
+@Test( groups = {"notifier"} )
 public class NotifierTest
     extends AbstractAdminTest
 {
@@ -119,7 +119,7 @@ public class NotifierTest
         assertTextPresent( "Address is invalid" );
     }
 
-    @Test( dependsOnMethods = { "testAddValidMailProjectNotifier" } )
+    @Test( dependsOnMethods = {"testAddValidMailProjectNotifier"} )
     public void testEditValidMailProjectNotifier()
         throws Exception
     {
@@ -129,7 +129,7 @@ public class NotifierTest
         editMailNotifier( projectGroupName, projectName, newMail, mailNotifierAddress, true );
     }
 
-    @Test( dependsOnMethods = { "testAddValidMailProjectNotifier" } )
+    @Test( dependsOnMethods = {"testAddValidMailProjectNotifier"} )
     public void testEditInvalidMailProjectNotifier()
         throws Exception
     {
@@ -151,7 +151,7 @@ public class NotifierTest
         addMailNotifier( projectGroupName, null, mailNotifierAddress, true );
     }
 
-    @Test( dependsOnMethods = { "testAddValidMailGroupNotifier" } )
+    @Test( dependsOnMethods = {"testAddValidMailGroupNotifier"} )
     public void testEditValidMailGroupNotifier()
         throws Exception
     {
@@ -163,7 +163,7 @@ public class NotifierTest
         editMailNotifier( projectGroupName, null, newMail, mailNotifierAddress, true );
     }
 
-    @Test( dependsOnMethods = { "testAddValidMailGroupNotifier" } )
+    @Test( dependsOnMethods = {"testAddValidMailGroupNotifier"} )
     public void testEditInvalidMailGroupNotifier()
         throws Exception
     {
@@ -198,7 +198,7 @@ public class NotifierTest
         assertTextPresent( "Channel contains invalid character" );
     }
 
-    @Test( dependsOnMethods = { "testAddValidIrcProjectNotifier" } )
+    @Test( dependsOnMethods = {"testAddValidIrcProjectNotifier"} )
     public void testEditValidIrcProjectNotifier()
         throws Exception
     {
@@ -211,7 +211,7 @@ public class NotifierTest
                          true );
     }
 
-    @Test( dependsOnMethods = { "testAddValidIrcProjectNotifier" } )
+    @Test( dependsOnMethods = {"testAddValidIrcProjectNotifier"} )
     public void testEditInvalidIrcProjectNotifier()
         throws Exception
     {
@@ -235,7 +235,7 @@ public class NotifierTest
         addIrcNotifier( projectGroupName, null, ircNotifierHost, ircNotifierChannel, true );
     }
 
-    @Test( dependsOnMethods = { "testAddValidIrcGroupNotifier" } )
+    @Test( dependsOnMethods = {"testAddValidIrcGroupNotifier"} )
     public void testEditValidIrcGroupNotifier()
         throws Exception
     {
@@ -248,7 +248,7 @@ public class NotifierTest
         editIrcNotifier( projectGroupName, null, newHost, newChannel, ircNotifierHost, ircNotifierChannel, true );
     }
 
-    @Test( dependsOnMethods = { "testAddValidIrcGroupNotifier" } )
+    @Test( dependsOnMethods = {"testAddValidIrcGroupNotifier"} )
     public void testEditInvalidIrcGroupNotifier()
         throws Exception
     {
@@ -287,7 +287,7 @@ public class NotifierTest
         assertTextPresent( "Address is invalid" );
     }
 
-    @Test( dependsOnMethods = { "testAddValidJabberProjectNotifier" } )
+    @Test( dependsOnMethods = {"testAddValidJabberProjectNotifier"} )
     public void testEditValidJabberProjectNotifier()
         throws Exception
     {
@@ -302,7 +302,7 @@ public class NotifierTest
                             jabberNotifierLogin, jabberNotifierPassword, jabberNotifierAddress, true );
     }
 
-    @Test( dependsOnMethods = { "testAddValidJabberProjectNotifier" } )
+    @Test( dependsOnMethods = {"testAddValidJabberProjectNotifier"} )
     public void testEditInvalidJabberProjectNotifier()
         throws Exception
     {
@@ -330,7 +330,7 @@ public class NotifierTest
                            jabberNotifierAddress, true );
     }
 
-    @Test( dependsOnMethods = { "testAddValidJabberGroupNotifier" } )
+    @Test( dependsOnMethods = {"testAddValidJabberGroupNotifier"} )
     public void testEditValidJabberGroupNotifier()
         throws Exception
     {
@@ -347,7 +347,7 @@ public class NotifierTest
                             jabberNotifierLogin, jabberNotifierPassword, jabberNotifierAddress, true );
     }
 
-    @Test( dependsOnMethods = { "testAddValidJabberGroupNotifier" } )
+    @Test( dependsOnMethods = {"testAddValidJabberGroupNotifier"} )
     public void testEditInvalidJabberGroupNotifier()
         throws Exception
     {
@@ -387,7 +387,7 @@ public class NotifierTest
         assertTextPresent( "Address is invalid" );
     }
 
-    @Test( dependsOnMethods = { "testAddValidMsnProjectNotifier" } )
+    @Test( dependsOnMethods = {"testAddValidMsnProjectNotifier"} )
     public void testEditValidMsnProjectNotifier()
         throws Exception
     {
@@ -401,7 +401,7 @@ public class NotifierTest
                          msnNotifierAddress, true );
     }
 
-    @Test( dependsOnMethods = { "testAddValidMsnProjectNotifier" } )
+    @Test( dependsOnMethods = {"testAddValidMsnProjectNotifier"} )
     public void testEditInvalidMsnProjectNotifier()
         throws Exception
     {
@@ -426,7 +426,7 @@ public class NotifierTest
         addMsnNotifier( projectGroupName, null, msnNotifierLogin, msnNotifierPassword, msnNotifierAddress, true );
     }
 
-    @Test( dependsOnMethods = { "testAddValidMsnGroupNotifier" } )
+    @Test( dependsOnMethods = {"testAddValidMsnGroupNotifier"} )
     public void testEditValidMsnGroupNotifier()
         throws Exception
     {
@@ -442,7 +442,7 @@ public class NotifierTest
                          msnNotifierAddress, true );
     }
 
-    @Test( dependsOnMethods = { "testAddValidMsnGroupNotifier" } )
+    @Test( dependsOnMethods = {"testAddValidMsnGroupNotifier"} )
     public void testEditInvalidMsnGroupNotifier()
         throws Exception
     {
@@ -478,7 +478,7 @@ public class NotifierTest
         assertTextPresent( "Destination URL is invalid" );
     }
 
-    @Test( dependsOnMethods = { "testAddValidWagonProjectNotifier" } )
+    @Test( dependsOnMethods = {"testAddValidWagonProjectNotifier"} )
     public void testEditValidWagonProjectNotifier()
         throws Exception
     {
@@ -490,7 +490,7 @@ public class NotifierTest
                            true );
     }
 
-    @Test( dependsOnMethods = { "testAddValidWagonProjectNotifier" } )
+    @Test( dependsOnMethods = {"testAddValidWagonProjectNotifier"} )
     public void testEditInvalidWagonProjectNotifier()
         throws Exception
     {
@@ -514,7 +514,7 @@ public class NotifierTest
         addWagonNotifierPage( projectGroupName, null, wagonNotifierUrl, wagonServerId, true );
     }
 
-    @Test( dependsOnMethods = { "testAddValidWagonGroupNotifier" } )
+    @Test( dependsOnMethods = {"testAddValidWagonGroupNotifier"} )
     public void testEditValidWagonGroupNotifier()
         throws Exception
     {
@@ -526,7 +526,7 @@ public class NotifierTest
         editWagonNotifier( projectGroupName, null, wagonNotifierUrl, newId, wagonNotifierUrl, wagonServerId, true );
     }
 
-    @Test( dependsOnMethods = { "testAddValidWagonGroupNotifier" } )
+    @Test( dependsOnMethods = {"testAddValidWagonGroupNotifier"} )
     public void testEditInvalidWagonGroupNotifier()
         throws Exception
     {
@@ -545,7 +545,7 @@ public class NotifierTest
         assertTextPresent( "Server Id is required" );
     }
 
-    @Test( dependsOnMethods = { "testEditValidMailGroupNotifier", "testEditInvalidMailGroupNotifier" } )
+    @Test( dependsOnMethods = {"testEditValidMailGroupNotifier", "testEditInvalidMailGroupNotifier"} )
     public void testDeleteGroupNotifier()
         throws Exception
     {
@@ -559,7 +559,7 @@ public class NotifierTest
         assertGroupNotifierPage( projectGroupName );
     }
 
-    @Test( dependsOnMethods = { "testEditValidMailProjectNotifier", "testEditInvalidMailProjectNotifier" } )
+    @Test( dependsOnMethods = {"testEditValidMailProjectNotifier", "testEditInvalidMailProjectNotifier"} )
     public void testDeleteProjectNotifier()
         throws Exception
     {

Modified: continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/ProjectGroupTest.java
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/ProjectGroupTest.java?rev=1372260&r1=1372259&r2=1372260&view=diff
==============================================================================
--- continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/ProjectGroupTest.java (original)
+++ continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/ProjectGroupTest.java Mon Aug 13 04:29:09 2012
@@ -28,7 +28,7 @@ import org.testng.annotations.Test;
  * @author José Morales Martínez
  * @version $Id$
  */
-@Test( groups = { "projectGroup" } )
+@Test( groups = {"projectGroup"} )
 public class ProjectGroupTest
     extends AbstractAdminTest
 {
@@ -54,14 +54,14 @@ public class ProjectGroupTest
         addProjectGroup( TEST2_PROJ_GRP_NAME, TEST2_PROJ_GRP_ID, TEST2_PROJ_GRP_DESCRIPTION, true );
         showProjectGroup( TEST2_PROJ_GRP_NAME, TEST2_PROJ_GRP_ID, TEST2_PROJ_GRP_DESCRIPTION );
     }
-    
+
     public void testAddProjectGroupWithInvalidValues()
         throws Exception
     {
         String TEST2_PROJ_GRP_NAME = "!@#$<>?etch";
         String TEST2_PROJ_GRP_ID = "-!@#<>etc";
         String TEST2_PROJ_GRP_DESCRIPTION = "![]<>'^&etc";
-        
+
         addProjectGroup( TEST2_PROJ_GRP_NAME, TEST2_PROJ_GRP_ID, TEST2_PROJ_GRP_DESCRIPTION, false );
         assertTextPresent( "Name contains invalid characters." );
         assertTextPresent( "Id contains invalid characters." );
@@ -83,7 +83,7 @@ public class ProjectGroupTest
         assertTextPresent( "Project Group ID is required" );
     }
 
-    @Test( dependsOnMethods = { "testAddProjectGroup2" } )
+    @Test( dependsOnMethods = {"testAddProjectGroup2"} )
     public void testEditProjectGroupWithValidValues()
         throws Exception
     {
@@ -103,7 +103,7 @@ public class ProjectGroupTest
         assertProjectGroupSummaryPage( TEST2_PROJ_GRP_NAME, TEST2_PROJ_GRP_ID, TEST2_PROJ_GRP_DESCRIPTION );
     }
 
-    @Test( dependsOnMethods = { "testAddProjectGroup2" } )
+    @Test( dependsOnMethods = {"testAddProjectGroup2"} )
     public void testEditProjectGroupWithInvalidValues()
         throws Exception
     {
@@ -115,8 +115,8 @@ public class ProjectGroupTest
                           TEST2_PROJ_GRP_DESCRIPTION );
         assertTextPresent( "Project Group Name is required" );
     }
-    
-    @Test( dependsOnMethods = { "testAddProjectGroup2" } )
+
+    @Test( dependsOnMethods = {"testAddProjectGroup2"} )
     public void testEditProjectGroupWithXSS()
         throws Exception
     {
@@ -136,7 +136,7 @@ public class ProjectGroupTest
         String TEST_GRP_NAME = getProperty( "TEST_DELETE_GRP_NAME" );
         String TEST_GRP_ID = getProperty( "TEST_DELETE_GRP_ID" );
         String TEST_GRP_DESCRIPTION = getProperty( "TEST_DELETE_GRP_DESCRIPTION" );
-        
+
         // delete group - delete icon
         addProjectGroup( TEST_GRP_NAME, TEST_GRP_ID, TEST_GRP_DESCRIPTION, true );
         assertLinkPresent( TEST_GRP_NAME );
@@ -145,7 +145,7 @@ public class ProjectGroupTest
         clickButtonWithValue( "Delete" );
         assertProjectGroupsSummaryPage();
         assertLinkNotPresent( TEST_GRP_NAME );
-        
+
         // delete group - "Delete Group" button
         addProjectGroup( TEST_GRP_NAME, TEST_GRP_ID, TEST_GRP_DESCRIPTION, true );
         assertLinkPresent( TEST_GRP_NAME );

Modified: continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/PurgeTest.java
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/PurgeTest.java?rev=1372260&r1=1372259&r2=1372260&view=diff
==============================================================================
--- continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/PurgeTest.java (original)
+++ continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/PurgeTest.java Mon Aug 13 04:29:09 2012
@@ -26,7 +26,7 @@ import org.testng.annotations.Test;
  * @author José Morales Martínez
  * @version $Id$
  */
-@Test( groups = { "purge" } )
+@Test( groups = {"purge"} )
 public class PurgeTest
     extends AbstractPurgeTest
 {
@@ -47,7 +47,7 @@ public class PurgeTest
         assertTextPresent( "Retention Count must be greater than 0." );
     }
 
-    @Test( dependsOnMethods = { "testAddRepositoryPurge" } )
+    @Test( dependsOnMethods = {"testAddRepositoryPurge"} )
     public void testEditRepositoryPurge()
     {
         String PURGE_REPOSITORY_DESCRIPTION = getProperty( "PURGE_REPOSITORY_DESCRIPTION" );
@@ -62,7 +62,7 @@ public class PurgeTest
         addEditRepositoryPurge( PURGE_REPOSITORY_DAYS, PURGE_REPOSITORY_RETETION, PURGE_REPOSITORY_DESCRIPTION, true );
     }
 
-    @Test( dependsOnMethods = { "testEditRepositoryPurge" } )
+    @Test( dependsOnMethods = {"testEditRepositoryPurge"} )
     public void testDeleteRepositoryPurge()
     {
         String PURGE_REPOSITORY_DESCRIPTION = getProperty( "PURGE_REPOSITORY_DESCRIPTION" );
@@ -86,7 +86,7 @@ public class PurgeTest
         assertTextPresent( "Retention Count must be greater than 0." );
     }
 
-    @Test( dependsOnMethods = { "testAddDirectoryPurge" } )
+    @Test( dependsOnMethods = {"testAddDirectoryPurge"} )
     public void testEditDirectoryPurge()
     {
         String PURGE_DIRECTORY_DESCRIPTION = getProperty( "PURGE_DIRECTORY_DESCRIPTION" );
@@ -101,7 +101,7 @@ public class PurgeTest
         addEditDirectoryPurge( PURGE_DIRECTORY_DAYS, PURGE_DIRECTORY_RETETION, PURGE_DIRECTORY_DESCRIPTION, true );
     }
 
-    @Test( dependsOnMethods = { "testEditDirectoryPurge" } )
+    @Test( dependsOnMethods = {"testEditDirectoryPurge"} )
     public void testDeleteDirectoryPurge()
     {
         String PURGE_DIRECTORY_DESCRIPTION = getProperty( "PURGE_DIRECTORY_DESCRIPTION" );

Modified: continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/QueueTest.java
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/QueueTest.java?rev=1372260&r1=1372259&r2=1372260&view=diff
==============================================================================
--- continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/QueueTest.java (original)
+++ continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/QueueTest.java Mon Aug 13 04:29:09 2012
@@ -29,7 +29,7 @@ import org.testng.annotations.Test;
  */
 
 
-@Test( groups = { "queue" } )
+@Test( groups = {"queue"} )
 public class QueueTest
     extends AbstractBuildQueueTest
 {
@@ -41,27 +41,27 @@ public class QueueTest
         addBuildQueue( BUILD_QUEUE_NAME, true );
     }
 
-	@Test( dependsOnMethods = { "testAddBuildQueue" } ) //"testDeleteBuildQueue" } )
+    @Test( dependsOnMethods = {"testAddBuildQueue"} ) //"testDeleteBuildQueue" } )
     public void testQueuePageWithoutBuild()
     {
-        clickAndWait( "link=Queues"  );
+        clickAndWait( "link=Queues" );
         assertPage( "Continuum - Build Queue" );
         assertTextPresent( "Nothing is building" );
         assertTextNotPresent( "Project Name* Build Definition" );
         assertTextPresent( "Current Build" );
-	    assertTextPresent( "Build Queue" );
-	    assertTextPresent( "Current Checkout" );
-	    assertTextPresent( "Checkout Queue " );
-	    assertTextPresent( "Current Prepare Build" );
-	    assertTextPresent( "Prepare Build Queue" );
+        assertTextPresent( "Build Queue" );
+        assertTextPresent( "Current Checkout" );
+        assertTextPresent( "Checkout Queue " );
+        assertTextPresent( "Current Prepare Build" );
+        assertTextPresent( "Prepare Build Queue" );
     }
 
-	@Test( dependsOnMethods = { "testAddBuildQueue", "testAddSchedule" } )
+    @Test( dependsOnMethods = {"testAddBuildQueue", "testAddSchedule"} )
     public void testAddBuildQueueToSchedule()
-  {
-	    ScheduleTest sched = new ScheduleTest();
+    {
+        ScheduleTest sched = new ScheduleTest();
 
-	    String SCHEDULE_NAME = getProperty( "SCHEDULE_NAME" );
+        String SCHEDULE_NAME = getProperty( "SCHEDULE_NAME" );
         String SCHEDULE_DESCRIPTION = getProperty( "SCHEDULE_DESCRIPTION" );
         String SCHEDULE_EXPR_SECOND = getProperty( "SCHEDULE_EXPR_SECOND" );
         String SCHEDULE_EXPR_MINUTE = getProperty( "SCHEDULE_EXPR_MINUTE" );
@@ -75,17 +75,16 @@ public class QueueTest
 
         String BUILD_QUEUE_NAME = getProperty( "BUILD_QUEUE_NAME" );
 
+        sched.goToEditSchedule( SCHEDULE_NAME, SCHEDULE_DESCRIPTION, SCHEDULE_EXPR_SECOND, SCHEDULE_EXPR_MINUTE,
+                                SCHEDULE_EXPR_HOUR, SCHEDULE_EXPR_DAY_MONTH, SCHEDULE_EXPR_MONTH,
+                                SCHEDULE_EXPR_DAY_WEEK, SCHEDULE_EXPR_YEAR, SCHEDULE_MAX_TIME, SCHEDULE_PERIOD );
+        getSelenium().addSelection( "saveSchedule_availableBuildQueuesIds", "label=" + BUILD_QUEUE_NAME );
+        getSelenium().click( "//input[@value='->']" );
+        submit();
 
-      sched.goToEditSchedule( SCHEDULE_NAME, SCHEDULE_DESCRIPTION, SCHEDULE_EXPR_SECOND, SCHEDULE_EXPR_MINUTE,
-              SCHEDULE_EXPR_HOUR, SCHEDULE_EXPR_DAY_MONTH, SCHEDULE_EXPR_MONTH, SCHEDULE_EXPR_DAY_WEEK,
-              SCHEDULE_EXPR_YEAR, SCHEDULE_MAX_TIME, SCHEDULE_PERIOD );
-	  getSelenium().addSelection("saveSchedule_availableBuildQueuesIds", "label="+BUILD_QUEUE_NAME);
-	  getSelenium().click("//input[@value='->']");
-	  submit();
-
-  }
+    }
 
-	@Test( dependsOnMethods = { "testAddBuildQueue" } )
+    @Test( dependsOnMethods = {"testAddBuildQueue"} )
     public void testAddNotAllowedBuildQueue()
     {
         setMaxBuildQueue( 1 );
@@ -94,7 +93,7 @@ public class QueueTest
         assertTextPresent( "You are only allowed 1 number of builds in parallel." );
     }
 
-    @Test( dependsOnMethods = { "testAddBuildQueue" } )
+    @Test( dependsOnMethods = {"testAddBuildQueue"} )
     public void testAddAlreadyExistBuildQueue()
     {
         setMaxBuildQueue( 3 );
@@ -103,7 +102,7 @@ public class QueueTest
         assertTextPresent( "Build queue name already exists." );
     }
 
-    @Test( dependsOnMethods = { "testAddAlreadyExistBuildQueue" } )
+    @Test( dependsOnMethods = {"testAddAlreadyExistBuildQueue"} )
     public void testAddEmptyBuildQueue()
     {
         setMaxBuildQueue( 3 );
@@ -111,7 +110,7 @@ public class QueueTest
         assertTextPresent( "You must define a name" );
     }
 
-    @Test( dependsOnMethods = { "testAddBuildQueueToSchedule" } )
+    @Test( dependsOnMethods = {"testAddBuildQueueToSchedule"} )
     public void testDeleteBuildQueue()
     {
         goToBuildQueuePage();
@@ -120,11 +119,11 @@ public class QueueTest
         assertTextNotPresent( BUILD_QUEUE_NAME );
     }
 
-    @Test( dependsOnMethods = { "testAddMavenTwoProject" } )
+    @Test( dependsOnMethods = {"testAddMavenTwoProject"} )
     public void testQueuePageWithProjectCurrentlyBuilding()
         throws Exception
     {
-    	  //build a project
+        //build a project
         String M2_PROJ_GRP_NAME = getProperty( "M2_PROJ_GRP_NAME" );
         String M2_PROJ_GRP_ID = getProperty( "M2_PROJ_GRP_ID" );
         String M2_PROJ_GRP_DESCRIPTION = getProperty( "M2_PROJ_GRP_DESCRIPTION" );
@@ -140,21 +139,21 @@ public class QueueTest
         assertTextPresent( "Checkout Queue " );
         assertTextPresent( "Current Prepare Build" );
         assertTextPresent( "Prepare Build Queue" );
-        assertElementPresent("//table[@id='ec_table']/tbody/tr/td[4]");
+        assertElementPresent( "//table[@id='ec_table']/tbody/tr/td[4]" );
         assertTextPresent( M2_PROJ_GRP_NAME );
         getSelenium().open( location );
         waitPage();
         waitForElementPresent( "//img[@alt='Success']" );
     }
 
-    @Test( dependsOnMethods = { "testQueuePageWithProjectCurrentlyBuilding", "testAddBuildAgent" } )
+    @Test( dependsOnMethods = {"testQueuePageWithProjectCurrentlyBuilding", "testAddBuildAgent"} )
     public void testQueuePageWithProjectCurrentlyBuildingInDistributedBuilds()
         throws Exception
     {
-    	  String M2_PROJ_GRP_NAME = getProperty( "M2_PROJ_GRP_NAME" );
+        String M2_PROJ_GRP_NAME = getProperty( "M2_PROJ_GRP_NAME" );
         String M2_PROJ_GRP_ID = getProperty( "M2_PROJ_GRP_ID" );
         String M2_PROJ_GRP_DESCRIPTION = getProperty( "M2_PROJ_GRP_DESCRIPTION" );
-        
+
         try
         {
             enableDistributedBuilds();
@@ -169,11 +168,11 @@ public class QueueTest
             assertTextPresent( "Prepare Build Queue" );
             assertTextPresent( M2_PROJ_GRP_NAME );
             assertTextPresent( "Build Agent URL" );
-	      }
-	      finally
-	      {
-	          disableDistributedBuilds();
-	      }
+        }
+        finally
+        {
+            disableDistributedBuilds();
+        }
     }
 
- }
+}

Modified: continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/ReleaseTest.java
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/ReleaseTest.java?rev=1372260&r1=1372259&r2=1372260&view=diff
==============================================================================
--- continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/ReleaseTest.java (original)
+++ continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/ReleaseTest.java Mon Aug 13 04:29:09 2012
@@ -33,7 +33,7 @@ import java.io.IOException;
 import java.io.InputStreamReader;
 import java.util.Arrays;
 
-@Test( groups = { "release" } )
+@Test( groups = {"release"} )
 public class ReleaseTest
     extends AbstractAdminTest
 {
@@ -187,7 +187,7 @@ public class ReleaseTest
         assertPreparedReleasesFileCreated();
     }
 
-    @Test( dependsOnMethods = { "testReleasePrepareProjectWithNoBuildEnvironment" } )
+    @Test( dependsOnMethods = {"testReleasePrepareProjectWithNoBuildEnvironment"} )
     public void testReleasePerformUsingProvidedParametersWithDistributedBuilds()
         throws Exception
     {

Modified: continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/ReportTest.java
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/ReportTest.java?rev=1372260&r1=1372259&r2=1372260&view=diff
==============================================================================
--- continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/ReportTest.java (original)
+++ continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/ReportTest.java Mon Aug 13 04:29:09 2012
@@ -20,17 +20,16 @@ package org.apache.continuum.web.test;
  */
 
 import org.apache.continuum.web.test.parent.AbstractAdminTest;
-import org.apache.continuum.web.test.parent.AbstractContinuumTest;
 import org.testng.annotations.Test;
 
-@Test( groups = { "report" } )
+@Test( groups = {"report"} )
 public class ReportTest
     extends AbstractAdminTest
 {
-    @Test( dependsOnMethods = { "testProjectGroupAllBuildSuccess" } )
+    @Test( dependsOnMethods = {"testProjectGroupAllBuildSuccess"} )
     public void testViewBuildsReportWithSuccessfulBuild()
         throws Exception
-    {        
+    {
         goToProjectBuildsReport();
         selectValue( "buildStatus", "Ok" );
         clickButtonWithValue( "View Report" );
@@ -115,7 +114,6 @@ public class ReportTest
         addMavenTwoProject( M2_POM_URL, M2_POM_USERNAME, M2_POM_PASSWORD, null, true );
         assertProjectGroupSummaryPage( M2_PROJ_GRP_NAME, M2_PROJ_GRP_ID, M2_PROJ_GRP_DESCRIPTION );
 
-        
         buildProjectGroup( M2_PROJ_GRP_NAME, M2_PROJ_GRP_ID, M2_PROJ_GRP_DESCRIPTION, M2_PROJ_GRP_NAME, false );
 
         goToProjectBuildsReport();

Modified: continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/ScheduleTest.java
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/ScheduleTest.java?rev=1372260&r1=1372259&r2=1372260&view=diff
==============================================================================
--- continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/ScheduleTest.java (original)
+++ continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/ScheduleTest.java Mon Aug 13 04:29:09 2012
@@ -26,7 +26,7 @@ import org.testng.annotations.Test;
  * @author José Morales Martínez
  * @version $Id$
  */
-@Test( groups = { "schedule" } )
+@Test( groups = {"schedule"} )
 public class ScheduleTest
     extends AbstractScheduleTest
 {
@@ -47,10 +47,10 @@ public class ScheduleTest
         addEditSchedule( SCHEDULE_NAME, SCHEDULE_DESCRIPTION, SCHEDULE_EXPR_SECOND, SCHEDULE_EXPR_MINUTE,
                          SCHEDULE_EXPR_HOUR, SCHEDULE_EXPR_DAY_MONTH, SCHEDULE_EXPR_MONTH, SCHEDULE_EXPR_DAY_WEEK,
                          SCHEDULE_EXPR_YEAR, SCHEDULE_MAX_TIME, SCHEDULE_PERIOD, false, false );
-	assertTextPresent( "Used Build Queues cannot be empty" );
+        assertTextPresent( "Used Build Queues cannot be empty" );
     }
 
-    @Test( dependsOnMethods = { "testAddScheduleNoBuildQueueToBeUsed" } )
+    @Test( dependsOnMethods = {"testAddScheduleNoBuildQueueToBeUsed"} )
     public void testAddSchedule()
     {
         String SCHEDULE_NAME = getProperty( "SCHEDULE_NAME" );
@@ -69,8 +69,8 @@ public class ScheduleTest
                          SCHEDULE_EXPR_HOUR, SCHEDULE_EXPR_DAY_MONTH, SCHEDULE_EXPR_MONTH, SCHEDULE_EXPR_DAY_WEEK,
                          SCHEDULE_EXPR_YEAR, SCHEDULE_MAX_TIME, SCHEDULE_PERIOD, true, true );
     }
-    
-    @Test( dependsOnMethods = { "testAddScheduleNoBuildQueueToBeUsed" } )
+
+    @Test( dependsOnMethods = {"testAddScheduleNoBuildQueueToBeUsed"} )
     public void testAddScheduleWithInvalidValues()
     {
         String SCHEDULE_NAME = "!@#$<>?etc";
@@ -100,7 +100,7 @@ public class ScheduleTest
         assertTextPresent( "Description is required and cannot contain spaces only" );
     }
 
-    @Test( dependsOnMethods = { "testAddSchedule" } )
+    @Test( dependsOnMethods = {"testAddSchedule"} )
     public void testAddDuplicatedSchedule()
     {
         String SCHEDULE_NAME = getProperty( "SCHEDULE_NAME" );
@@ -121,7 +121,7 @@ public class ScheduleTest
         assertTextPresent( "A Schedule with the same name already exists" );
     }
 
-    @Test( dependsOnMethods = { "testAddDuplicatedSchedule" } )
+    @Test( dependsOnMethods = {"testAddDuplicatedSchedule"} )
     public void testEditSchedule()
     {
         String SCHEDULE_NAME = getProperty( "SCHEDULE_NAME" );
@@ -149,14 +149,15 @@ public class ScheduleTest
         goToEditSchedule( SCHEDULE_NAME, SCHEDULE_DESCRIPTION, SCHEDULE_EXPR_SECOND, SCHEDULE_EXPR_MINUTE,
                           SCHEDULE_EXPR_HOUR, SCHEDULE_EXPR_DAY_MONTH, SCHEDULE_EXPR_MONTH, SCHEDULE_EXPR_DAY_WEEK,
                           SCHEDULE_EXPR_YEAR, SCHEDULE_MAX_TIME, SCHEDULE_PERIOD );
-        addEditSchedule( name, description, second, minute, hour, dayMonth, month, dayWeek, year, maxTime, period, false, true );
+        addEditSchedule( name, description, second, minute, hour, dayMonth, month, dayWeek, year, maxTime, period,
+                         false, true );
         goToEditSchedule( name, description, second, minute, hour, dayMonth, month, dayWeek, year, maxTime, period );
         addEditSchedule( SCHEDULE_NAME, SCHEDULE_DESCRIPTION, SCHEDULE_EXPR_SECOND, SCHEDULE_EXPR_MINUTE,
                          SCHEDULE_EXPR_HOUR, SCHEDULE_EXPR_DAY_MONTH, SCHEDULE_EXPR_MONTH, SCHEDULE_EXPR_DAY_WEEK,
                          SCHEDULE_EXPR_YEAR, SCHEDULE_MAX_TIME, SCHEDULE_PERIOD, false, true );
     }
 
-    @Test( dependsOnMethods = { "testEditSchedule" } )
+    @Test( dependsOnMethods = {"testEditSchedule"} )
     public void testDeleteSchedule()
     {
         String SCHEDULE_NAME = getProperty( "SCHEDULE_NAME" );

Modified: continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/ShellProjectTest.java
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/ShellProjectTest.java?rev=1372260&r1=1372259&r2=1372260&view=diff
==============================================================================
--- continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/ShellProjectTest.java (original)
+++ continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/ShellProjectTest.java Mon Aug 13 04:29:09 2012
@@ -28,7 +28,7 @@ import org.testng.annotations.Test;
  * @author José Morales Martínez
  * @version $Id$
  */
-@Test( groups = { "shellProject" } )
+@Test( groups = {"shellProject"} )
 public class ShellProjectTest
     extends AbstractAdminTest
 {
@@ -46,11 +46,11 @@ public class ShellProjectTest
         String DEFAULT_PROJ_GRP_ID = getProperty( "DEFAULT_PROJ_GRP_ID" );
         String DEFAULT_PROJ_GRP_DESCRIPTION = getProperty( "DEFAULT_PROJ_GRP_DESCRIPTION" );
         goToAddShellProjectPage();
-        addProject( SHELL_NAME, SHELL_DESCRIPTION, SHELL_VERSION, SHELL_SCM_URL, SHELL_SCM_USERNAME,
-                    SHELL_SCM_PASSWORD, SHELL_TAG, DEFAULT_PROJ_GRP_NAME, true, "shell" );
+        addProject( SHELL_NAME, SHELL_DESCRIPTION, SHELL_VERSION, SHELL_SCM_URL, SHELL_SCM_USERNAME, SHELL_SCM_PASSWORD,
+                    SHELL_TAG, DEFAULT_PROJ_GRP_NAME, true, "shell" );
         assertProjectGroupSummaryPage( DEFAULT_PROJ_GRP_NAME, DEFAULT_PROJ_GRP_ID, DEFAULT_PROJ_GRP_DESCRIPTION );
     }
-    
+
     public void testAddShellProjectWithInvalidValues()
         throws Exception
     {
@@ -81,7 +81,7 @@ public class ShellProjectTest
         assertTextPresent( "SCM Url is required and cannot contain null or spaces only" );
     }
 
-    @Test( dependsOnMethods = { "testAddShellProject" } )
+    @Test( dependsOnMethods = {"testAddShellProject"} )
     public void testAddDuplicateShellProject()
         throws Exception
     {
@@ -93,8 +93,8 @@ public class ShellProjectTest
         String SHELL_SCM_USERNAME = getProperty( "SHELL_SCM_USERNAME" );
         String SHELL_SCM_PASSWORD = getProperty( "SHELL_SCM_PASSWORD" );
         goToAddShellProjectPage();
-        addProject( SHELL_NAME, SHELL_DESCRIPTION, SHELL_VERSION, SHELL_SCM_URL, SHELL_SCM_USERNAME,
-                    SHELL_SCM_PASSWORD, SHELL_TAG, null, false, "shell" );
+        addProject( SHELL_NAME, SHELL_DESCRIPTION, SHELL_VERSION, SHELL_SCM_URL, SHELL_SCM_USERNAME, SHELL_SCM_PASSWORD,
+                    SHELL_TAG, null, false, "shell" );
         assertTextPresent( "Project name already exist" );
     }
 



Mime
View raw message