mirror of https://github.com/apache/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
This commit is contained in:
parent
7ba3b7caf7
commit
024dd3d865
|
@ -22,7 +22,7 @@ package org.apache.archiva.web.test;
|
||||||
import org.apache.archiva.web.test.parent.AbstractRepositoryTest;
|
import org.apache.archiva.web.test.parent.AbstractRepositoryTest;
|
||||||
import org.testng.annotations.Test;
|
import org.testng.annotations.Test;
|
||||||
|
|
||||||
@Test( groups = { "repository" }, dependsOnMethods = { "testWithCorrectUsernamePassword" } )
|
@Test( groups = { "repository" }, dependsOnMethods = { "testWithCorrectUsernamePassword" }, sequential = true )
|
||||||
public class RepositoryTest
|
public class RepositoryTest
|
||||||
extends AbstractRepositoryTest
|
extends AbstractRepositoryTest
|
||||||
{
|
{
|
||||||
|
@ -39,7 +39,7 @@ public class RepositoryTest
|
||||||
@Test(dependsOnMethods = { "testAddManagedRepoValidValues" } )
|
@Test(dependsOnMethods = { "testAddManagedRepoValidValues" } )
|
||||||
public void testAddManagedRepoInvalidValues()
|
public void testAddManagedRepoInvalidValues()
|
||||||
{
|
{
|
||||||
goToRepositoriesPage();
|
//goToRepositoriesPage();
|
||||||
clickLinkWithText( "Add" );
|
clickLinkWithText( "Add" );
|
||||||
addManagedRepository( "", "" , "" , "", "Maven 2.x Repository", "", "", "" );
|
addManagedRepository( "", "" , "" , "", "Maven 2.x Repository", "", "", "" );
|
||||||
assertTextPresent( "You must enter a repository identifier." );
|
assertTextPresent( "You must enter a repository identifier." );
|
||||||
|
|
Loading…
Reference in New Issue