[Yanel-commits] rev 48289 - public/yanel/trunk/src/realms/use-cases/yanel/src/test/canoo/tests

michi at wyona.com michi at wyona.com
Thu Mar 25 10:27:54 CET 2010


Author: michi
Date: 2010-03-25 10:27:54 +0100 (Thu, 25 Mar 2010)
New Revision: 48289

Modified:
   public/yanel/trunk/src/realms/use-cases/yanel/src/test/canoo/tests/usecase-test-policy-manager.xml
Log:
more tests re policies added

Modified: public/yanel/trunk/src/realms/use-cases/yanel/src/test/canoo/tests/usecase-test-policy-manager.xml
===================================================================
--- public/yanel/trunk/src/realms/use-cases/yanel/src/test/canoo/tests/usecase-test-policy-manager.xml	2010-03-25 09:21:16 UTC (rev 48288)
+++ public/yanel/trunk/src/realms/use-cases/yanel/src/test/canoo/tests/usecase-test-policy-manager.xml	2010-03-25 09:27:54 UTC (rev 48289)
@@ -15,7 +15,13 @@
       <!-- Test policy viewer/manager -->
       <invoke description="Get the policy viewer page: " url="/${realm.prefix}?yanel.policy=read"/>
       <verifyText description="Check policy path in page title:" text="Aggregated Access Policy for path &lt;em&gt;/&lt;/em&gt;:"/>
+      <verifyText description="Check policy content:" text="Usecase: policy.read"/>
+      <verifyText description="Check policy content:" text="WORLD: Permission"/>
 
+      <!-- Test policy viewer/manager including parent policies-->
+      <invoke description="Get the policy viewer page: " url="/${realm.prefix}?yanel.policy=read&amp;orderedBy=0&amp;showParents=true"/>
+      <verifyText description="Check edit link:" text="Edit policy"/>
+
       <!-- Test policy editor -->
       <invoke description="Get the policy editor page: " url="/${realm.prefix}?yanel.policy=update"/>
       <verifyText description="Check policy path in page title:" text="Edit Access Policy of Node '/'"/>



More information about the Yanel-commits mailing list