[portal-commits] JBoss Portal SVN: r11964 - branches/JBoss_Portal_Branch_2_6/widget/src/main/org/jboss/portal/test/widget/netvibes.

portal-commits at lists.jboss.org portal-commits at lists.jboss.org
Wed Sep 24 09:24:15 EDT 2008


Author: thomas.heute at jboss.com
Date: 2008-09-24 09:24:15 -0400 (Wed, 24 Sep 2008)
New Revision: 11964

Modified:
   branches/JBoss_Portal_Branch_2_6/widget/src/main/org/jboss/portal/test/widget/netvibes/NetvibesQueryTestCase.java
Log:
Forgot to fix widget test in 2.6


Modified: branches/JBoss_Portal_Branch_2_6/widget/src/main/org/jboss/portal/test/widget/netvibes/NetvibesQueryTestCase.java
===================================================================
--- branches/JBoss_Portal_Branch_2_6/widget/src/main/org/jboss/portal/test/widget/netvibes/NetvibesQueryTestCase.java	2008-09-24 12:32:56 UTC (rev 11963)
+++ branches/JBoss_Portal_Branch_2_6/widget/src/main/org/jboss/portal/test/widget/netvibes/NetvibesQueryTestCase.java	2008-09-24 13:24:15 UTC (rev 11964)
@@ -36,14 +36,14 @@
    public void test01() throws Exception
    {
      NetvibesQuery q = new NetvibesQuery(0, 10, "14", "top", "foo");
-     assertEquals("http://eco.netvibes.com/rss-partner.php?synd=jboss&type=uwa&count=10&cat=14&sort=top&q=foo", q.buildQueryURL().toString());
+     assertEquals("http://api.eco.netvibes.com/search/?type=uwa&limit=10&category=14&sort=top&query=foo", q.buildQueryURL().toString());
    }
 
    
    public void test02() throws Exception
    {
      NetvibesQuery q = new NetvibesQuery(1, 11, "5", "foo", "bar");
-     assertEquals("http://eco.netvibes.com/rss-partner.php?synd=jboss&type=uwa&start=1&count=11&cat=5&sort=foo&q=bar", q.buildQueryURL().toString());
+     assertEquals("http://api.eco.netvibes.com/search/?type=uwa&page=1&limit=11&category=5&sort=foo&query=bar", q.buildQueryURL().toString());
    }
    
    public void test03()




More information about the portal-commits mailing list