]> source.dussan.org Git - archiva.git/commitdiff
[MRM-1276] Selenium tests need a clean up
authorMarecor M. Baclay <mbaclay@apache.org>
Tue, 30 Mar 2010 06:16:30 +0000 (06:16 +0000)
committerMarecor M. Baclay <mbaclay@apache.org>
Tue, 30 Mar 2010 06:16:30 +0000 (06:16 +0000)
- removed it.properties in src/test/resources
- updated the path in property file and some classes for the changes made in r.928992

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@929005 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-web/archiva-webapp-test/src/test/resources/it.properties [deleted file]
archiva-modules/archiva-web/archiva-webapp-test/src/test/resources/testng.properties
archiva-modules/archiva-web/archiva-webapp-test/src/test/testng/org/apache/archiva/web/test/BrowseTest.java
archiva-modules/archiva-web/archiva-webapp-test/src/test/testng/org/apache/archiva/web/test/parent/AbstractArtifactManagementTest.java

diff --git a/archiva-modules/archiva-web/archiva-webapp-test/src/test/resources/it.properties b/archiva-modules/archiva-web/archiva-webapp-test/src/test/resources/it.properties
deleted file mode 100644 (file)
index a421830..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-#properties for integration tests
-
-BASE_URL=http://localhost:9696/archiva
-MAX_WAIT_TIME_IN_MS=60000
-
-ADMIN_USERNAME=admin
-ADMIN_FULLNAME=Administrator
-ADMIN_EMAIL=admin@localhost
-ADMIN_PASSWORD=admin123
-
-SELENIUM_HOST=localhost
-SELENIUM_PORT=4444
-SELENIUM_BROWSER=*firefox
index b7b268e19aec5913add426d7941275f51b59e1c9..1230adab38b861a20b0d6ac13cbf398764adcef9 100644 (file)
@@ -93,7 +93,7 @@ SNAPSHOT_GROUPID=org.apache.archiva
 SNAPSHOT_ARTIFACTID=archiva-test
 SNAPSHOT_VERSION=1.0-SNAPSHOT
 SNAPSHOT_PACKAGING=jar
-SNAPSHOT_ARTIFACTFILEPATH=src/test/it-resources/snapshots/org/apache/maven/archiva/web/test/foo-bar/1.0-SNAPSHOT/foo-bar-1.0-SNAPSHOT.jar
+SNAPSHOT_ARTIFACTFILEPATH=src/test/resources/snapshots/org/apache/maven/archiva/web/test/foo-bar/1.0-SNAPSHOT/foo-bar-1.0-SNAPSHOT.jar
 SNAPSHOT_REPOSITORYID=snapshots
 
 # REPOSITORIES
index a82a8f5849256e24457a9eb8b5ffd39d1aa5e416..1e7334383f31f06f0b4393fb4425eb573f89813b 100644 (file)
@@ -60,7 +60,7 @@ public class BrowseTest
         
         String snapshotsRepo = getProperty( "SNAPSHOTS_REPOSITORY" );
 
-        String path = "src/test/it-resources/snapshots/org/apache/maven/archiva/web/test/foo-bar/1.0-SNAPSHOT/foo-bar-1.0-SNAPSHOT.jar";
+        String path = "src/test/resources/snapshots/org/apache/maven/archiva/web/test/foo-bar/1.0-SNAPSHOT/foo-bar-1.0-SNAPSHOT.jar";
         // TODO: do this differently as uploading doesn't work on browsers other than *chrome (below as well)
         // upload a snapshot artifact to repository 'releases'        
         addArtifact( "archiva", "archiva-webapp", "1.0-SNAPSHOT", "jar", path, releasesRepo );
index 04f5242a757405f26180c4392cc2eb3a7a3ac7a3..2919b44410c65ca90bff1ef6fca3bf07b4603b52 100644 (file)
@@ -30,7 +30,7 @@ public abstract class AbstractArtifactManagementTest
        
        public String getArtifactFilePath()
        {
-               return "src/test/it-resources/snapshots/org/apache/maven/archiva/web/test/foo-bar/1.0-SNAPSHOT/foo-bar-1.0-SNAPSHOT.jar";
+               return "src/test/resources/snapshots/org/apache/maven/archiva/web/test/foo-bar/1.0-SNAPSHOT/foo-bar-1.0-SNAPSHOT.jar";
        }
        
        public String getRepositoryId()