]> source.dussan.org Git - archiva.git/commitdiff
correct text for dotnet-library type and re-enable Selenium test
authorBrett Porter <brett@apache.org>
Sat, 1 Oct 2011 15:35:40 +0000 (15:35 +0000)
committerBrett Porter <brett@apache.org>
Sat, 1 Oct 2011 15:35:40 +0000 (15:35 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1178020 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-web/archiva-webapp-test/src/test/testng/org/apache/archiva/web/test/ArtifactManagementTest.java
archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/showArtifact.jsp

index 038b0314dc9ecc48728faee05205ee00731fa6cf..b4156bb61d1b03dcacd2b7c8e17b000b1b323e20 100644 (file)
@@ -98,7 +98,7 @@ public class ArtifactManagementTest
                                + "' was successfully deployed to repository 'internal'" );
     }
 
-    @Test( groups = "requiresUpload", enabled = false )
+    @Test( groups = "requiresUpload" )
     public void testDotNetTypes()
     {
         String groupId = getProperty( "GROUPID_DOTNETARTIFACT" );
@@ -115,7 +115,6 @@ public class ArtifactManagementTest
         String basePath =
             "/archiva/repository/internal/" + groupId + "/" + artifactId + "/" + getVersion() + "/" + artifactId + "-"
                 + getVersion();
-        // FIXME: currently broken - is dotnet-library
         assertLinkPresent( ".NET Library" );
         assertElementPresent( "//a[@href='" + basePath + ".dll']" );
         assertElementPresent( "//a[@href='" + basePath + ".pom']" );
index bd9e8d1f3beb72a279e3e31b93c68c53fc014fb6..b5e4799843a4065ce75e6d0f8189f2f55f827411 100644 (file)
                   <c:url var="imageUrl" value="/images/download-type-other.png"/>
                   <c:set var="packageName">JavaDoc Archive</c:set>
                 </c:when>
-                <c:when test="${a.type == 'library'}">
+                <c:when test="${a.type == 'library' || a.type == 'dotnet-library'}">
                   <c:url var="imageUrl" value="/images/download-type-other.png"/>
                   <c:set var="packageName">.NET Library</c:set>
                 </c:when>