continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r499387 - in /maven/continuum/trunk/continuum-webapp-test/src/test/it/org/apache/continuum/web/test: AddMavenOneProjectTestCase.java AddMavenTwoProjectTest.java ProjectGroupTest.java
Date Wed, 24 Jan 2007 13:00:48 GMT
Author: evenisse
Date: Wed Jan 24 05:00:47 2007
New Revision: 499387

URL: http://svn.apache.org/viewvc?view=rev&rev=499387
Log:
Remove added project groups

Modified:
    maven/continuum/trunk/continuum-webapp-test/src/test/it/org/apache/continuum/web/test/AddMavenOneProjectTestCase.java
    maven/continuum/trunk/continuum-webapp-test/src/test/it/org/apache/continuum/web/test/AddMavenTwoProjectTest.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/AddMavenOneProjectTestCase.java
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-webapp-test/src/test/it/org/apache/continuum/web/test/AddMavenOneProjectTestCase.java?view=diff&rev=499387&r1=499386&r2=499387
==============================================================================
--- maven/continuum/trunk/continuum-webapp-test/src/test/it/org/apache/continuum/web/test/AddMavenOneProjectTestCase.java
(original)
+++ maven/continuum/trunk/continuum-webapp-test/src/test/it/org/apache/continuum/web/test/AddMavenOneProjectTestCase.java
Wed Jan 24 05:00:47 2007
@@ -61,12 +61,14 @@
      * test with valid pom url
      */
     public void testValidPomUrl()
+        throws Exception
     {
         String pomUrl = "http://svn.apache.org/repos/asf/maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-one-projects/valid-project.xml";
         submitAddMavenOneProjectPage( pomUrl, true );
         //Test the group is created
         assertTextPresent( "Maven One Project" );
         //TODO: add more tests
+        removeProjectGroup( "Maven One Project", "maven-one-project", "This is a sample Maven
One Project." );
     }
 
     /**

Modified: maven/continuum/trunk/continuum-webapp-test/src/test/it/org/apache/continuum/web/test/AddMavenTwoProjectTest.java
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-webapp-test/src/test/it/org/apache/continuum/web/test/AddMavenTwoProjectTest.java?view=diff&rev=499387&r1=499386&r2=499387
==============================================================================
--- maven/continuum/trunk/continuum-webapp-test/src/test/it/org/apache/continuum/web/test/AddMavenTwoProjectTest.java
(original)
+++ maven/continuum/trunk/continuum-webapp-test/src/test/it/org/apache/continuum/web/test/AddMavenTwoProjectTest.java
Wed Jan 24 05:00:47 2007
@@ -26,6 +26,8 @@
         addMavenTwoProject( TEST_POM_URL, TEST_POM_USERNAME, TEST_POM_PASSWORD, null, true
);
 
         clickLinkWithText( DEFAULT_PROJ_GRP_NAME );
+
+        removeProjectGroup( "Apache Maven", "org.apache.maven", "Maven is a software project
management and comprehension tool. Based on the concept of a project object model (POM), Maven
can manage a project's build, reporting and documentation from a central piece of information."
);
     }
 
     public void testAddMavenTwoProjectFromRemoteSourceToNonDefaultProjectGroup()
@@ -34,10 +36,12 @@
         addProjectGroup( TEST_PROJ_GRP_NAME, TEST_PROJ_GRP_ID, TEST_PROJ_GRP_DESCRIPTION
);
 
         addMavenTwoProject( TEST_POM_URL, TEST_POM_USERNAME, TEST_POM_PASSWORD, TEST_PROJ_GRP_NAME,
true );
-Thread.sleep( 30000 );
+
         assertCellValueFromTable( TEST_PROJ_GRP_NAME, "ec_table", 2, 0 );
         assertCellValueFromTable( TEST_PROJ_GRP_ID, "ec_table", 2, 1 );
         assertCellValueFromTable( "1", "ec_table", 2, 2 );
+
+        removeProjectGroup( TEST_PROJ_GRP_NAME, TEST_PROJ_GRP_ID, TEST_PROJ_GRP_DESCRIPTION
);
     }
 
     /**

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=499387&r1=499386&r2=499387
==============================================================================
--- 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
Wed Jan 24 05:00:47 2007
@@ -82,6 +82,8 @@
         goToProjectGroupsSummaryPage();
         assertCellValueFromTable( "1", "ec_table", 1, 2 );
         assertCellValueFromTable( "0", "ec_table", 2, 2 );
+
+        removeProjectGroup( TEST_PROJ_GRP_NAME, TEST_PROJ_GRP_ID, TEST_PROJ_GRP_DESCRIPTION
);
     }
 
 }



Mime
View raw message