source: resources/apps/xforms-test-suite/tests/hello-world/suite.xml @ aab39dd

Revision aab39dd, 1.2 KB checked in by Eric van der Vlist <>, 7 years ago (diff)

Refactoring the test suite vocabulary and adding a schema

  • Property mode set to 100644
1<?xml version="1.0" encoding="UTF-8"?>
2<?xml-model href="../../suite.rng" type="application/xml" schematypens=""?>
3<?xml-model href="../../suite.rng" type="application/xml" schematypens=""?>
4<suite xmlns:xh="" xmlns:xf=""
5    xmlns:xs="" xmlns=""
6    xmlns:m="" xmlns:v=""
7    xmlns:c="">
8    <form src="hello-world.xhtml"/>
10    <!-- The test cases -->
11    <case id="test-greetings">
12        <title>Test that greetings are correctly set</title>
13        <c:setvalue ref="instance('instance')/PersonGivenName">Eric</c:setvalue>
14        <m:assertEqual>
15            <m:actual ref="instance('instance')/Greetings"/>
16            <m:expected>Hello Eric. We hope you like XForms!</m:expected>
17            <m:message>The greetings should be the concatenation of "Hello ", the given name and ". We hope you like
18                XForms!".</m:message>
19        </m:assertEqual>
20    </case>
Note: See TracBrowser for help on using the repository browser.