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

michi at wyona.com michi at wyona.com
Fri Jan 21 09:05:33 CET 2011


Author: michi
Date: 2011-01-21 09:05:32 +0100 (Fri, 21 Jan 2011)
New Revision: 56213

Added:
   public/yanel/trunk/src/realms/use-cases/yanel/src/test/canoo/tests/usecase-test-hello-yanel-resource.xml
Log:
thanks to Chanceline we now have a test for XML view of collection resource type

Added: public/yanel/trunk/src/realms/use-cases/yanel/src/test/canoo/tests/usecase-test-hello-yanel-resource.xml
===================================================================
--- public/yanel/trunk/src/realms/use-cases/yanel/src/test/canoo/tests/usecase-test-hello-yanel-resource.xml	                        (rev 0)
+++ public/yanel/trunk/src/realms/use-cases/yanel/src/test/canoo/tests/usecase-test-hello-yanel-resource.xml	2011-01-21 08:05:32 UTC (rev 56213)
@@ -0,0 +1,25 @@
+<?xml version="1.0"?>
+
+<!DOCTYPE project SYSTEM "../dtd/Project.dtd">
+
+<project name="hello-yanel-resource" default="test">
+
+  <import file="../definitions.xml"/>
+
+  <target name="test" depends="wt.defineMacros">
+
+    <webtest name="Usecase Test hello-yanel-resource">
+      &config;
+      <invoke description="Get the page: " url="/${realm.prefix}hello/?yanel.resource.viewid=source"/>
+
+     <verifyText description="Verify that title is contained in the page" text="dir:directory yanel:repository-configuration-file=" />
+
+
+     <verifyText description="Verify that title is contained in the page" text="dir:file path="/>
+
+
+   </webtest>
+       
+  </target>
+
+</project>



More information about the Yanel-commits mailing list