continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r495614 - in /maven/continuum/trunk/continuum-webapp-test/src/test/it/org/apache/continuum/web/test: AbstractContinuumTestCase.java AccountSecurityTest.java ProjectGroupTest.java
Date Fri, 12 Jan 2007 15:49:24 GMT
Author: evenisse
Date: Fri Jan 12 07:49:23 2007
New Revision: 495614

URL: http://svn.apache.org/viewvc?view=rev&rev=495614
Log: (empty)

Modified:
    maven/continuum/trunk/continuum-webapp-test/src/test/it/org/apache/continuum/web/test/AbstractContinuumTestCase.java
    maven/continuum/trunk/continuum-webapp-test/src/test/it/org/apache/continuum/web/test/AccountSecurityTest.java
    maven/continuum/trunk/continuum-webapp-test/src/test/it/org/apache/continuum/web/test/ProjectGroupTest.java

Modified: maven/continuum/trunk/continuum-webapp-test/src/test/it/org/apache/continuum/web/test/AbstractContinuumTestCase.java
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-webapp-test/src/test/it/org/apache/continuum/web/test/AbstractContinuumTestCase.java?view=diff&rev=495614&r1=495613&r2=495614
==============================================================================
--- maven/continuum/trunk/continuum-webapp-test/src/test/it/org/apache/continuum/web/test/AbstractContinuumTestCase.java
(original)
+++ maven/continuum/trunk/continuum-webapp-test/src/test/it/org/apache/continuum/web/test/AbstractContinuumTestCase.java
Fri Jan 12 07:49:23 2007
@@ -159,7 +159,7 @@
         assertPage( "Continuum - Group Summary" );
         assertTextPresent( "Project Groups" );
 
-        if ( isTextPresent( "No Project Groups Known." ) )
+        if ( isTextPresent( "Project Groups list is empty." ) )
         {
             assertTextNotPresent( "Name" );
             assertTextNotPresent( "Group Id" );

Modified: maven/continuum/trunk/continuum-webapp-test/src/test/it/org/apache/continuum/web/test/AccountSecurityTest.java
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-webapp-test/src/test/it/org/apache/continuum/web/test/AccountSecurityTest.java?view=diff&rev=495614&r1=495613&r2=495614
==============================================================================
--- maven/continuum/trunk/continuum-webapp-test/src/test/it/org/apache/continuum/web/test/AccountSecurityTest.java
(original)
+++ maven/continuum/trunk/continuum-webapp-test/src/test/it/org/apache/continuum/web/test/AccountSecurityTest.java
Fri Jan 12 07:49:23 2007
@@ -236,6 +236,7 @@
     }
 
     public void testDefaultRolesOfNewSystemAdministrator()
+        throws Exception
     {
         // initialize
         createUser( CUSTOM_USERNAME5, CUSTOM_FULLNAME, CUSTOM_EMAILADD, CUSTOM_PASSWORD,
true );
@@ -249,12 +250,10 @@
         clickButtonWithValue( "Add Selected Roles" );
 
         // verify roles        
-        String[] roleList = {"Project User - Maven One Project", "Project Developer - Test
Project Group Name",
-            "User Administrator", "System Administrator", "Project Developer - Maven One
Project",
-            "Project Developer - Default Project Group", "Project Developer - Apache Maven",
-            "Project User - Apache Maven", "Project User - Default Project Group",
-            "Continuum Group Project Administrator", "Project User - Test Project Group Name"};
-
+        String[] roleList = {"System Administrator", "User Administrator", 
+            "Continuum Group Project Administrator", "Project Developer - Default Project
Group",
+            "Project User - Default Project Group"};
+Thread.sleep( 20000 );
         assertElementPresent( XPathExpressionUtil.getList( roleList ) );
         deleteUser( CUSTOM_USERNAME5, CUSTOM_FULLNAME, CUSTOM_EMAILADD );
     }

Modified: maven/continuum/trunk/continuum-webapp-test/src/test/it/org/apache/continuum/web/test/ProjectGroupTest.java
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-webapp-test/src/test/it/org/apache/continuum/web/test/ProjectGroupTest.java?view=diff&rev=495614&r1=495613&r2=495614
==============================================================================
--- maven/continuum/trunk/continuum-webapp-test/src/test/it/org/apache/continuum/web/test/ProjectGroupTest.java
(original)
+++ maven/continuum/trunk/continuum-webapp-test/src/test/it/org/apache/continuum/web/test/ProjectGroupTest.java
Fri Jan 12 07:49:23 2007
@@ -47,16 +47,18 @@
         assertCellValueFromTable( "Build File", tableElement, 0, 2 );
         assertCellValueFromTable( "schedule", tableElement, 0, 3 );
         assertCellValueFromTable( "From", tableElement, 0, 4 );
-        assertCellValueFromTable( "Default", tableElement, 0, 5 );
-        assertCellValueFromTable( "", tableElement, 0, 6 );
+        assertCellValueFromTable( "Build Fresh", tableElement, 0, 5 );
+        assertCellValueFromTable( "Default", tableElement, 0, 6 );
         assertCellValueFromTable( "", tableElement, 0, 7 );
+        assertCellValueFromTable( "", tableElement, 0, 8 );
 
         assertCellValueFromTable( "clean install", tableElement, 1, 0 );
         assertCellValueFromTable( "--batch-mode --non-recursive", tableElement, 1, 1 );
         assertCellValueFromTable( "pom.xml", tableElement, 1, 2 );
         assertCellValueFromTable( "DEFAULT_SCHEDULE", tableElement, 1, 3 );
         assertCellValueFromTable( "GROUP", tableElement, 1, 4 );
-        assertCellValueFromTable( "true", tableElement, 1, 5 );
+        assertCellValueFromTable( "false", tableElement, 1, 5 );
+        assertCellValueFromTable( "true", tableElement, 1, 6 );
         assertImgWithAlt( "Edit" );
         assertImgWithAlt( "Delete" );
     }



Mime
View raw message