From f3f9a85b3f3028424d5b237aa5e2c16e02419e48 Mon Sep 17 00:00:00 2001 From: "Maria Odea B. Ching" Date: Fri, 27 Jun 2008 06:56:49 +0000 Subject: [PATCH] removed commented assertions git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@672128 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/archiva/rss/RssFeedGeneratorTest.java | 3 +-- .../rss/processor/NewArtifactsRssFeedProcessorTest.java | 3 +-- .../processor/NewVersionsOfArtifactRssFeedProcessorTest.java | 4 +--- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/archiva-modules/archiva-web/archiva-rss/src/test/java/org/apache/archiva/rss/RssFeedGeneratorTest.java b/archiva-modules/archiva-web/archiva-rss/src/test/java/org/apache/archiva/rss/RssFeedGeneratorTest.java index 1b8b876b7..0c8287be0 100644 --- a/archiva-modules/archiva-web/archiva-rss/src/test/java/org/apache/archiva/rss/RssFeedGeneratorTest.java +++ b/archiva-modules/archiva-web/archiva-rss/src/test/java/org/apache/archiva/rss/RssFeedGeneratorTest.java @@ -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() ); diff --git a/archiva-modules/archiva-web/archiva-rss/src/test/java/org/apache/archiva/rss/processor/NewArtifactsRssFeedProcessorTest.java b/archiva-modules/archiva-web/archiva-rss/src/test/java/org/apache/archiva/rss/processor/NewArtifactsRssFeedProcessorTest.java index bb01786fb..91bb1a19c 100644 --- a/archiva-modules/archiva-web/archiva-rss/src/test/java/org/apache/archiva/rss/processor/NewArtifactsRssFeedProcessorTest.java +++ b/archiva-modules/archiva-web/archiva-rss/src/test/java/org/apache/archiva/rss/processor/NewArtifactsRssFeedProcessorTest.java @@ -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" ) ); diff --git a/archiva-modules/archiva-web/archiva-rss/src/test/java/org/apache/archiva/rss/processor/NewVersionsOfArtifactRssFeedProcessorTest.java b/archiva-modules/archiva-web/archiva-rss/src/test/java/org/apache/archiva/rss/processor/NewVersionsOfArtifactRssFeedProcessorTest.java index 02c31fb5f..307380af4 100644 --- a/archiva-modules/archiva-web/archiva-rss/src/test/java/org/apache/archiva/rss/processor/NewVersionsOfArtifactRssFeedProcessorTest.java +++ b/archiva-modules/archiva-web/archiva-rss/src/test/java/org/apache/archiva/rss/processor/NewVersionsOfArtifactRssFeedProcessorTest.java @@ -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() ); -- 2.39.5