From: Marecor M. Baclay Date: Mon, 24 Aug 2009 05:24:35 +0000 (+0000) Subject: fixed failed/skipped tests with jdk 1.5 X-Git-Tag: archiva-1.2.2~2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=024dd3d8656f5dbfe2ddf8b4dce09c4b83b775ba;p=archiva.git fixed failed/skipped tests with jdk 1.5 git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@807077 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/archiva-modules/archiva-web/archiva-webapp-test/src/test/testng/org/apache/archiva/web/test/RepositoryTest.java b/archiva-modules/archiva-web/archiva-webapp-test/src/test/testng/org/apache/archiva/web/test/RepositoryTest.java index 9ae70ed30..a18722d7b 100644 --- a/archiva-modules/archiva-web/archiva-webapp-test/src/test/testng/org/apache/archiva/web/test/RepositoryTest.java +++ b/archiva-modules/archiva-web/archiva-webapp-test/src/test/testng/org/apache/archiva/web/test/RepositoryTest.java @@ -22,7 +22,7 @@ package org.apache.archiva.web.test; import org.apache.archiva.web.test.parent.AbstractRepositoryTest; import org.testng.annotations.Test; -@Test( groups = { "repository" }, dependsOnMethods = { "testWithCorrectUsernamePassword" } ) +@Test( groups = { "repository" }, dependsOnMethods = { "testWithCorrectUsernamePassword" }, sequential = true ) public class RepositoryTest extends AbstractRepositoryTest { @@ -39,7 +39,7 @@ public class RepositoryTest @Test(dependsOnMethods = { "testAddManagedRepoValidValues" } ) public void testAddManagedRepoInvalidValues() { - goToRepositoriesPage(); + //goToRepositoriesPage(); clickLinkWithText( "Add" ); addManagedRepository( "", "" , "" , "", "Maven 2.x Repository", "", "", "" ); assertTextPresent( "You must enter a repository identifier." );