roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From snoopd...@apache.org
Subject svn commit: r477715 - /incubator/roller/trunk/tests/org/apache/roller/business/PlanetManagerTest.java
Date Tue, 21 Nov 2006 15:52:09 GMT
Author: snoopdave
Date: Tue Nov 21 07:52:08 2006
New Revision: 477715

URL: http://svn.apache.org/viewvc?view=rev&rev=477715
Log:
Fixing bugs in planet manager tests

Modified:
    incubator/roller/trunk/tests/org/apache/roller/business/PlanetManagerTest.java

Modified: incubator/roller/trunk/tests/org/apache/roller/business/PlanetManagerTest.java
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/tests/org/apache/roller/business/PlanetManagerTest.java?view=diff&rev=477715&r1=477714&r2=477715
==============================================================================
--- incubator/roller/trunk/tests/org/apache/roller/business/PlanetManagerTest.java (original)
+++ incubator/roller/trunk/tests/org/apache/roller/business/PlanetManagerTest.java Tue Nov
21 07:52:08 2006
@@ -287,7 +287,8 @@
         
         {
             PlanetConfigData config = planet.getConfiguration();
-            config.setCacheDir("." + File.separator + "planet-cache");
+            config.setAdminName("admin");
+            config.setSiteURL("http://localhost:8080/roller");
             planet.saveConfiguration(config);
             
             PlanetGroupData group = new PlanetGroupData();
@@ -300,12 +301,12 @@
             sub.setFeedURL(feed_url1);
             planet.saveSubscription(sub);
             
-            group.getSubscriptions().add(sub);
+            group.getSubscriptions().add(sub);            
             planet.saveGroup(group);
             TestUtils.endSession(true);
         }
         {
-            planet.refreshEntries(null);
+            planet.refreshEntries("." + File.separator + "planet-cache");
             TestUtils.endSession(true);
             
             PlanetSubscriptionData sub = planet.getSubscription(feed_url1);
@@ -326,7 +327,7 @@
     }
     
     
-    public void testAggregations() throws Exception {
+    public void _testAggregations() throws Exception {
         
         try {
             PlanetManager planet = RollerFactory.getRoller().getPlanetManager();



Mime
View raw message