[Yanel-commits] rev 38367 -
public/yanel/trunk/src/realms/use-cases/yanel/config/src/test/canoo/tests
michi at wyona.com
michi at wyona.com
Thu Sep 4 15:58:57 CEST 2008
Author: michi
Date: 2008-09-04 15:58:56 +0200 (Thu, 04 Sep 2008)
New Revision: 38367
Added:
public/yanel/trunk/src/realms/use-cases/yanel/config/src/test/canoo/tests/usecase-test-update-resource.xml
Log:
thanks to Michel Pauli more tests added
Added: public/yanel/trunk/src/realms/use-cases/yanel/config/src/test/canoo/tests/usecase-test-update-resource.xml
===================================================================
--- public/yanel/trunk/src/realms/use-cases/yanel/config/src/test/canoo/tests/usecase-test-update-resource.xml (rev 0)
+++ public/yanel/trunk/src/realms/use-cases/yanel/config/src/test/canoo/tests/usecase-test-update-resource.xml 2008-09-04 13:58:56 UTC (rev 38367)
@@ -0,0 +1,39 @@
+<?xml version="1.0"?>
+<!DOCTYPE project SYSTEM "../dtd/Project.dtd">
+
+<project name="create-resource-test" default="test">
+
+ <import file="../definitions.xml"/>
+
+ <target name="test" depends="wt.defineMacros">
+ <webtest name="Usecase Test 'Yanel Updater'">
+ &config;
+ <invoke description="Get the page: " url="/${realm.prefix}update-webapp.html"/>
+ <verifyText description="Verify that text is contained in the page" text="Yanel Updater"/>
+ </webtest>
+
+ <webtest name="Usecase Test 'Update : Testing Control'">
+ &config;
+ <invoke description="Get the page: " url="http://localhost:8080/yanel/test/testing-control.html"/>
+ <verifyText description="Verify that text is contained in the page" text="HtmlUnit Tests"/>
+ </webtest>
+
+ <webtest name="Usecase Test 'Update : jMeter Results'">
+ &config;
+ <invoke description="Get the page: " url="http://localhost:8080/yanel/test/jmeter/jmeter-results/"/>
+
+<!--
+ <verifyText description="Verify that text is contained in the page" text="Yanel Path (with regard to realm): /jmeter/jmeter-results/"/>
+-->
+ <verifyText description="Verify that text is contained in the page" text="Yanel Path (with regard to realm)"/>
+ </webtest>
+<!--
+ <webtest name="Usecase Test 'Create resource: New Resource'">
+ &config;
+ <invoke description="Get the page: " url="/${realm.prefix}test-resource-creator-wiki.html"/>
+ <verifyText description="Verify that text is contained in the page" text="Title 101"/>
+ </webtest>
+-->
+ </target>
+
+</project>
More information about the Yanel-commits
mailing list