]> source.dussan.org Git - archiva.git/commitdiff
removed commented assertions
authorMaria Odea B. Ching <oching@apache.org>
Fri, 27 Jun 2008 06:56:49 +0000 (06:56 +0000)
committerMaria Odea B. Ching <oching@apache.org>
Fri, 27 Jun 2008 06:56:49 +0000 (06:56 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@672128 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-web/archiva-rss/src/test/java/org/apache/archiva/rss/RssFeedGeneratorTest.java
archiva-modules/archiva-web/archiva-rss/src/test/java/org/apache/archiva/rss/processor/NewArtifactsRssFeedProcessorTest.java
archiva-modules/archiva-web/archiva-rss/src/test/java/org/apache/archiva/rss/processor/NewVersionsOfArtifactRssFeedProcessorTest.java

index 1b8b876b7b335617d18a85b98645989bc1890ec9..0c8287be0dc40d0c5c6aa45cb73c0ac7a80c0ab4 100644 (file)
@@ -70,8 +70,7 @@ public class RssFeedGeneratorTest
         SyndFeed feed =
             generator.generateFeed( "Test Feed", "The test feed from Archiva.", entries );
 
-        assertEquals( "Test Feed", feed.getTitle() );
-        //assertEquals( "http://localhost:8080/archiva/rss/generated-rss2.0-feed.xml", feed.getLink() );
+        assertEquals( "Test Feed", feed.getTitle() );        
         assertEquals( "The test feed from Archiva.", feed.getDescription() );
         assertEquals( "en-us", feed.getLanguage() );
         assertEquals( entries.get( 2 ).getPublishedDate(), feed.getPublishedDate() );
index bb01786fb1054f10bcf827409a630081b1d6e878..91bb1a19c813e398102959343c198f1c4d614a3f 100644 (file)
@@ -114,8 +114,7 @@ public class NewArtifactsRssFeedProcessorTest
 
         SyndFeed feed = newArtifactsProcessor.process( reqParams );
 
-        assertTrue( feed.getTitle().equals( "New Artifacts in Repository 'test-repo'" ) );
-        //assertTrue( feed.getLink().equals( "http://localhost:8080/archiva/rss/rss_feeds?repoId=test-repo" ) );
+        assertTrue( feed.getTitle().equals( "New Artifacts in Repository 'test-repo'" ) );        
         assertTrue( feed.getDescription().equals(
                                                   "New artifacts found in repository 'test-repo' during repository scan." ) );
         assertTrue( feed.getLanguage().equals( "en-us" ) );
index 02c31fb5f8feb5dd008c782798004018ca4c3210..307380af40af032071229166ca0935f5ae10f375 100644 (file)
@@ -92,9 +92,7 @@ public class NewVersionsOfArtifactRssFeedProcessorTest
 
         SyndFeed feed = newVersionsProcessor.process( reqParams );
 
-        assertEquals( "New Versions of Artifact 'org.apache.archiva:artifact-two'", feed.getTitle() );
-        //assertEquals( "http://localhost:8080/archiva/rss/rss_feeds?groupId=org.apache.archiva&artifactId=artifact-two",
-        //              feed.getLink() );
+        assertEquals( "New Versions of Artifact 'org.apache.archiva:artifact-two'", feed.getTitle() );        
         assertEquals(
                       "New versions of artifact 'org.apache.archiva:artifact-two' found in repository 'test-repo' during repository scan.",
                       feed.getDescription() );