archiva-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From och...@apache.org
Subject svn commit: r672128 - in /archiva/trunk/archiva-modules/archiva-web/archiva-rss/src/test/java/org/apache/archiva/rss: RssFeedGeneratorTest.java processor/NewArtifactsRssFeedProcessorTest.java processor/NewVersionsOfArtifactRssFeedProcessorTest.java
Date Fri, 27 Jun 2008 06:56:49 GMT
Author: oching
Date: Thu Jun 26 23:56:49 2008
New Revision: 672128

URL: http://svn.apache.org/viewvc?rev=672128&view=rev
Log:
removed commented assertions

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

Modified: archiva/trunk/archiva-modules/archiva-web/archiva-rss/src/test/java/org/apache/archiva/rss/RssFeedGeneratorTest.java
URL: http://svn.apache.org/viewvc/archiva/trunk/archiva-modules/archiva-web/archiva-rss/src/test/java/org/apache/archiva/rss/RssFeedGeneratorTest.java?rev=672128&r1=672127&r2=672128&view=diff
==============================================================================
--- archiva/trunk/archiva-modules/archiva-web/archiva-rss/src/test/java/org/apache/archiva/rss/RssFeedGeneratorTest.java
(original)
+++ archiva/trunk/archiva-modules/archiva-web/archiva-rss/src/test/java/org/apache/archiva/rss/RssFeedGeneratorTest.java
Thu Jun 26 23:56:49 2008
@@ -70,8 +70,7 @@
         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() );

Modified: archiva/trunk/archiva-modules/archiva-web/archiva-rss/src/test/java/org/apache/archiva/rss/processor/NewArtifactsRssFeedProcessorTest.java
URL: http://svn.apache.org/viewvc/archiva/trunk/archiva-modules/archiva-web/archiva-rss/src/test/java/org/apache/archiva/rss/processor/NewArtifactsRssFeedProcessorTest.java?rev=672128&r1=672127&r2=672128&view=diff
==============================================================================
--- archiva/trunk/archiva-modules/archiva-web/archiva-rss/src/test/java/org/apache/archiva/rss/processor/NewArtifactsRssFeedProcessorTest.java
(original)
+++ archiva/trunk/archiva-modules/archiva-web/archiva-rss/src/test/java/org/apache/archiva/rss/processor/NewArtifactsRssFeedProcessorTest.java
Thu Jun 26 23:56:49 2008
@@ -114,8 +114,7 @@
 
         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" ) );

Modified: archiva/trunk/archiva-modules/archiva-web/archiva-rss/src/test/java/org/apache/archiva/rss/processor/NewVersionsOfArtifactRssFeedProcessorTest.java
URL: http://svn.apache.org/viewvc/archiva/trunk/archiva-modules/archiva-web/archiva-rss/src/test/java/org/apache/archiva/rss/processor/NewVersionsOfArtifactRssFeedProcessorTest.java?rev=672128&r1=672127&r2=672128&view=diff
==============================================================================
--- archiva/trunk/archiva-modules/archiva-web/archiva-rss/src/test/java/org/apache/archiva/rss/processor/NewVersionsOfArtifactRssFeedProcessorTest.java
(original)
+++ archiva/trunk/archiva-modules/archiva-web/archiva-rss/src/test/java/org/apache/archiva/rss/processor/NewVersionsOfArtifactRssFeedProcessorTest.java
Thu Jun 26 23:56:49 2008
@@ -92,9 +92,7 @@
 
         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() );



Mime
View raw message