continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jzurb...@apache.org
Subject svn commit: r931034 - in /continuum/trunk/continuum-webapp-test/src/test: resources/testng.properties testng/org/apache/continuum/web/test/BuildEnvironmentTest.java testng/org/apache/continuum/web/test/MavenTwoProjectTest.java
Date Tue, 06 Apr 2010 06:29:40 GMT
Author: jzurbano
Date: Tue Apr  6 06:29:39 2010
New Revision: 931034

URL: http://svn.apache.org/viewvc?rev=931034&view=rev
Log:
renamed property to BUILD_ENV_NAME

Modified:
    continuum/trunk/continuum-webapp-test/src/test/resources/testng.properties
    continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/BuildEnvironmentTest.java
    continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/MavenTwoProjectTest.java

Modified: continuum/trunk/continuum-webapp-test/src/test/resources/testng.properties
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-webapp-test/src/test/resources/testng.properties?rev=931034&r1=931033&r2=931034&view=diff
==============================================================================
--- continuum/trunk/continuum-webapp-test/src/test/resources/testng.properties (original)
+++ continuum/trunk/continuum-webapp-test/src/test/resources/testng.properties Tue Apr  6
06:29:39 2010
@@ -227,7 +227,7 @@ INSTALL_VAR_PATH=JAVA5_HOME
 ########################
 # buildEnvironment group 
 ########################
-BUIL_ENV_NAME=APPLICATION_JDK4
+BUILD_ENV_NAME=APPLICATION_JDK4
 
 ########################
 # buildTemplate group 

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=931034&r1=931033&r2=931034&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
Tue Apr  6 06:29:39 2010
@@ -32,9 +32,9 @@ public class BuildEnvironmentTest
 {
     public void testAddBuildEnvironment()
     {
-        String BUIL_ENV_NAME = getProperty( "BUIL_ENV_NAME" );
+        String BUILD_ENV_NAME = getProperty( "BUILD_ENV_NAME" );
         goToAddBuildEnvironment();
-        addBuildEnvironment( BUIL_ENV_NAME, new String[] {}, true );
+        addBuildEnvironment( BUILD_ENV_NAME, new String[] {}, true );
     }
 
     public void testAddInvalidBuildEnvironment()
@@ -47,8 +47,8 @@ public class BuildEnvironmentTest
     @Test( dependsOnMethods = { "testAddBuildEnvironment" } )
     public void testEditInvalidBuildEnvironment()
     {
-        String BUIL_ENV_NAME = getProperty( "BUIL_ENV_NAME" );
-        goToEditBuildEnvironment( BUIL_ENV_NAME );
+        String BUILD_ENV_NAME = getProperty( "BUILD_ENV_NAME" );
+        goToEditBuildEnvironment( BUILD_ENV_NAME );
         editBuildEnvironment( "", new String[] {}, false );
         assertTextPresent( "You must define a name" );
     }
@@ -56,30 +56,30 @@ public class BuildEnvironmentTest
     @Test( dependsOnMethods = { "testAddBuildEnvironment" } )
     public void testAddDuplicatedBuildEnvironment()
     {
-        String BUIL_ENV_NAME = getProperty( "BUIL_ENV_NAME" );
+        String BUILD_ENV_NAME = getProperty( "BUILD_ENV_NAME" );
         goToAddBuildEnvironment();
-        addBuildEnvironment( BUIL_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" } )
     public void testEditBuildEnvironment()
     {
-        String BUIL_ENV_NAME = getProperty( "BUIL_ENV_NAME" );
+        String BUILD_ENV_NAME = getProperty( "BUILD_ENV_NAME" );
         String newName = "new_name";
-        goToEditBuildEnvironment( BUIL_ENV_NAME );
+        goToEditBuildEnvironment( BUILD_ENV_NAME );
         editBuildEnvironment( newName, new String[] {}, true );
         // TODO: ADD INSTALLATIONS TO ENVIROTMENT
         goToEditBuildEnvironment( newName );
-        editBuildEnvironment( BUIL_ENV_NAME, new String[] {}, true );
+        editBuildEnvironment( BUILD_ENV_NAME, new String[] {}, true );
     }
 
     @Test( dependsOnMethods = { "testEditInvalidBuildEnvironment", "testEditBuildEnvironment",
         "testAddDuplicatedBuildEnvironment", "testEditInvalidBuildEnvironment" } )
     public void testDeleteBuildEnvironment()
     {
-        String BUIL_ENV_NAME = getProperty( "BUIL_ENV_NAME" );
-        removeBuildEnvironment( BUIL_ENV_NAME );
+        String BUILD_ENV_NAME = getProperty( "BUILD_ENV_NAME" );
+        removeBuildEnvironment( BUILD_ENV_NAME );
     }
 
     @Test( dependsOnMethods = { "testDeleteBuildEnvironment", "testAddBuildAgentGroupWithEmptyBuildAgent"
} )
@@ -89,7 +89,7 @@ public class BuildEnvironmentTest
         {
             enableDistributedBuilds();
 
-            String BUILD_ENV_NAME = getProperty( "BUIL_ENV_NAME" );
+            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,
true );
@@ -103,7 +103,7 @@ public class BuildEnvironmentTest
     @Test( dependsOnMethods = { "testAddBuildEnvironmentWithBuildAgentGroup" } )
     public void testEditDuplicatedBuildEnvironmentParallelBuilds()
     {
-        String BUILD_ENV_NAME = getProperty( "BUIL_ENV_NAME" );
+        String BUILD_ENV_NAME = getProperty( "BUILD_ENV_NAME" );
         String newName = "NEW_BUILD_ENV";
         goToAddBuildEnvironment();
         addBuildEnvironment( newName, new String[] {}, true );
@@ -119,7 +119,7 @@ public class BuildEnvironmentTest
         {
             enableDistributedBuilds();
 
-            String BUILD_ENV_NAME = getProperty( "BUIL_ENV_NAME" );
+            String BUILD_ENV_NAME = getProperty( "BUILD_ENV_NAME" );
             String BUILD_AGENT_GROUPNAME = getProperty( "BUILD_AGENT_GROUPNAME" );
             String newName = "NEW_BUILD_ENV";
             goToEditBuildEnvironment( newName );

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=931034&r1=931033&r2=931034&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
Tue Apr  6 06:29:39 2010
@@ -336,7 +336,7 @@ public class MavenTwoProjectTest
     {
         String M2_PROJ_GRP_NAME = getProperty( "M2_DELETE_PROJ_GRP_NAME" );
         String M2_PROJ_GRP_ID = getProperty( "M2_DELETE_PROJ_GRP_ID" );
-        String BUILD_ENV_NAME = getProperty( "BUIL_ENV_NAME" );
+        String BUILD_ENV_NAME = getProperty( "BUILD_ENV_NAME" );
 
         try
         {



Mime
View raw message