portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject svn commit: r332165 - in /portals/jetspeed-2/trunk/components/page-manager/src/test/org/apache/jetspeed/page: TestCastorXmlPageManager.java TestDatabasePageManager.java
Date Wed, 09 Nov 2005 22:26:45 GMT
Author: taylor
Date: Wed Nov  9 14:26:44 2005
New Revision: 332165

URL: http://svn.apache.org/viewcvs?rev=332165&view=rev
Log:
added Version attribute to Document (Page, Link, PageSecurity, FolderMetadata)
test cases for Page

Modified:
    portals/jetspeed-2/trunk/components/page-manager/src/test/org/apache/jetspeed/page/TestCastorXmlPageManager.java
    portals/jetspeed-2/trunk/components/page-manager/src/test/org/apache/jetspeed/page/TestDatabasePageManager.java

Modified: portals/jetspeed-2/trunk/components/page-manager/src/test/org/apache/jetspeed/page/TestCastorXmlPageManager.java
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/components/page-manager/src/test/org/apache/jetspeed/page/TestCastorXmlPageManager.java?rev=332165&r1=332164&r2=332165&view=diff
==============================================================================
--- portals/jetspeed-2/trunk/components/page-manager/src/test/org/apache/jetspeed/page/TestCastorXmlPageManager.java
(original)
+++ portals/jetspeed-2/trunk/components/page-manager/src/test/org/apache/jetspeed/page/TestCastorXmlPageManager.java
Wed Nov  9 14:26:44 2005
@@ -212,6 +212,7 @@
         assertTrue(testpage.getDefaultSkin().equals("test-skin"));
         assertTrue(testpage.getDefaultDecorator(Fragment.LAYOUT).equals("test-layout"));
         assertTrue(testpage.getDefaultDecorator(Fragment.PORTLET).equals("test-portlet"));
+        assertTrue(testpage.getVersion().equals("2.77"));
 
         GenericMetadata md = testpage.getMetadata();
         Collection descriptions = md.getFields("description");

Modified: portals/jetspeed-2/trunk/components/page-manager/src/test/org/apache/jetspeed/page/TestDatabasePageManager.java
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/components/page-manager/src/test/org/apache/jetspeed/page/TestDatabasePageManager.java?rev=332165&r1=332164&r2=332165&view=diff
==============================================================================
--- portals/jetspeed-2/trunk/components/page-manager/src/test/org/apache/jetspeed/page/TestDatabasePageManager.java
(original)
+++ portals/jetspeed-2/trunk/components/page-manager/src/test/org/apache/jetspeed/page/TestDatabasePageManager.java
Wed Nov  9 14:26:44 2005
@@ -120,6 +120,7 @@
 
         Page page = pageManager.newPage("/default-page.psml");
         page.setTitle("Default Page");
+        page.setVersion("6.89");
         page.setDefaultDecorator("tigris", Fragment.LAYOUT);
         page.setDefaultDecorator("blue-gradient", Fragment.PORTLET);
         page.setDefaultSkin("skin-1");
@@ -290,6 +291,7 @@
             assertEquals("/default-page.psml", check.getPath());
             assertEquals("default-page.psml", check.getName());
             assertEquals("Default Page", check.getTitle());
+            assertEquals("6.89", check.getVersion());            
             assertEquals("tigris", check.getDefaultDecorator(Fragment.LAYOUT));
             assertEquals("blue-gradient", check.getDefaultDecorator(Fragment.PORTLET));
             assertEquals("skin-1", check.getDefaultSkin());



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message