incubator-isis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From danhayw...@apache.org
Subject svn commit: r1044269 - in /incubator/isis/trunk/support/prototype/viewer-bdd/src/test/resources/org/apache/isis/support/prototype: scenarios/ scenarios/newClaim/ stories/
Date Fri, 10 Dec 2010 10:26:46 GMT
Author: danhaywood
Date: Fri Dec 10 10:26:46 2010
New Revision: 1044269

URL: http://svn.apache.org/viewvc?rev=1044269&view=rev
Log:
BDD viewer doc changes

Added:
    incubator/isis/trunk/support/prototype/viewer-bdd/src/test/resources/org/apache/isis/support/prototype/scenarios/
    incubator/isis/trunk/support/prototype/viewer-bdd/src/test/resources/org/apache/isis/support/prototype/scenarios/ScenarioSuite.html
    incubator/isis/trunk/support/prototype/viewer-bdd/src/test/resources/org/apache/isis/support/prototype/scenarios/newClaim/
    incubator/isis/trunk/support/prototype/viewer-bdd/src/test/resources/org/apache/isis/support/prototype/scenarios/newClaim/Fixture.html
    incubator/isis/trunk/support/prototype/viewer-bdd/src/test/resources/org/apache/isis/support/prototype/scenarios/newClaim/Index.html
    incubator/isis/trunk/support/prototype/viewer-bdd/src/test/resources/org/apache/isis/support/prototype/scenarios/newClaim/ScenarioDefaultsOk.html
    incubator/isis/trunk/support/prototype/viewer-bdd/src/test/resources/org/apache/isis/support/prototype/scenarios/newClaim/ScenarioOnceCreatedShowsUpForClaimant.html
Removed:
    incubator/isis/trunk/support/prototype/viewer-bdd/src/test/resources/org/apache/isis/support/prototype/stories/

Added: incubator/isis/trunk/support/prototype/viewer-bdd/src/test/resources/org/apache/isis/support/prototype/scenarios/ScenarioSuite.html
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/support/prototype/viewer-bdd/src/test/resources/org/apache/isis/support/prototype/scenarios/ScenarioSuite.html?rev=1044269&view=auto
==============================================================================
--- incubator/isis/trunk/support/prototype/viewer-bdd/src/test/resources/org/apache/isis/support/prototype/scenarios/ScenarioSuite.html
(added)
+++ incubator/isis/trunk/support/prototype/viewer-bdd/src/test/resources/org/apache/isis/support/prototype/scenarios/ScenarioSuite.html
Fri Dec 10 10:26:46 2010
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "file:src/test/resources/dtd/xhtml1-strict.dtd">
+<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"
+    xmlns:concordion="http://www.concordion.org/2007/concordion"
+    xmlns:isis="http://isis.apache.org/2010/concordion">
+<link href="../concordion.css" rel="stylesheet" type="text/css" />
+<body>
+
+<h1>Stories</h1>
+
+<ul>
+	<li>
+	<p><a concordion:run="concordion"
+		href="newClaim/Index.html">New Claim Stories</a></p>
+	</li>
+</ul>
+
+</body>
+</html>
\ No newline at end of file

Added: incubator/isis/trunk/support/prototype/viewer-bdd/src/test/resources/org/apache/isis/support/prototype/scenarios/newClaim/Fixture.html
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/support/prototype/viewer-bdd/src/test/resources/org/apache/isis/support/prototype/scenarios/newClaim/Fixture.html?rev=1044269&view=auto
==============================================================================
--- incubator/isis/trunk/support/prototype/viewer-bdd/src/test/resources/org/apache/isis/support/prototype/scenarios/newClaim/Fixture.html
(added)
+++ incubator/isis/trunk/support/prototype/viewer-bdd/src/test/resources/org/apache/isis/support/prototype/scenarios/newClaim/Fixture.html
Fri Dec 10 10:26:46 2010
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "file:src/test/resources/dtd/xhtml1-strict.dtd">
+<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"
+    xmlns:concordion="http://www.concordion.org/2007/concordion"
+    xmlns:isis="http://isis.apache.org/2010/concordion">
+<link href="../../concordion.css" rel="stylesheet" type="text/css" />
+<body>
+
+<h2>Given</h2>
+<ul>
+	<li>
+	<p>bootstrapped in <a concordion:run="concordion"
+		href="../../common/BootstrapInExplorationMode.html">exploration</a> mode</p>
+	</li>
+    <li>
+    <p concordion:execute="#result=usingDateFormat(#format)"><span
+        concordion:assertTrue="#result">using a date format</span> of <span
+        concordion:set="#format">dd-MMM-yyyy</span>, and</p>
+    </li>
+	<li>
+	<p concordion:execute="#result=timeIs(#dateTime)"><span
+		concordion:assertTrue="#result">date/time</span> being <span
+		concordion:set="#dateTime">02-Mar-2007 09:20</span>, and</p>
+	</li>
+	<li>
+	<p concordion:execute="#result=logonAs(#userName)"><span
+		concordion:assertTrue="#result">logged on</span> as <span
+		concordion:set="#userName">fsmith</span></p>
+	</li>
+	<li>
+	<p>with <a concordion:run="concordion"
+		href="../../common/Employees.html">Employees</a>.</p>
+	</li>
+</ul>
+
+</body>
+</html>
\ No newline at end of file

Added: incubator/isis/trunk/support/prototype/viewer-bdd/src/test/resources/org/apache/isis/support/prototype/scenarios/newClaim/Index.html
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/support/prototype/viewer-bdd/src/test/resources/org/apache/isis/support/prototype/scenarios/newClaim/Index.html?rev=1044269&view=auto
==============================================================================
--- incubator/isis/trunk/support/prototype/viewer-bdd/src/test/resources/org/apache/isis/support/prototype/scenarios/newClaim/Index.html
(added)
+++ incubator/isis/trunk/support/prototype/viewer-bdd/src/test/resources/org/apache/isis/support/prototype/scenarios/newClaim/Index.html
Fri Dec 10 10:26:46 2010
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "file:src/test/resources/dtd/xhtml1-strict.dtd">
+<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"
+    xmlns:concordion="http://www.concordion.org/2007/concordion"
+    xmlns:isis="http://isis.apache.org/2010/concordion">
+<link href="../../concordion.css" rel="stylesheet" type="text/css" />
+<body>
+
+<h1>New Claim Stories</h1>
+
+<ul>
+    <li>
+    <p><a concordion:run="concordion"
+        href="ScenarioDefaultsOk.html">new claim defaults ok</a></p>
+    </li>
+	<li>
+	<p><a concordion:run="concordion"
+		href="ScenarioOnceCreatedShowsUpForClaimant.html">new claim shows up for claimant</a></p>
+	</li>
+</ul>
+
+
+
+</body>
+</html>
\ No newline at end of file

Added: incubator/isis/trunk/support/prototype/viewer-bdd/src/test/resources/org/apache/isis/support/prototype/scenarios/newClaim/ScenarioDefaultsOk.html
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/support/prototype/viewer-bdd/src/test/resources/org/apache/isis/support/prototype/scenarios/newClaim/ScenarioDefaultsOk.html?rev=1044269&view=auto
==============================================================================
--- incubator/isis/trunk/support/prototype/viewer-bdd/src/test/resources/org/apache/isis/support/prototype/scenarios/newClaim/ScenarioDefaultsOk.html
(added)
+++ incubator/isis/trunk/support/prototype/viewer-bdd/src/test/resources/org/apache/isis/support/prototype/scenarios/newClaim/ScenarioDefaultsOk.html
Fri Dec 10 10:26:46 2010
@@ -0,0 +1,170 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "file:src/test/resources/dtd/xhtml1-strict.dtd">
+<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"
+    xmlns:concordion="http://www.concordion.org/2007/concordion"
+    xmlns:isis="http://isis.apache.org/2010/concordion">
+<link href="../../concordion.css" rel="stylesheet" type="text/css" />
+<body>
+
+<h1>New Claim Defaults OK</h1>
+
+<div class="example">
+
+<h2>Given</h2>
+<p>
+Given <a concordion:run="concordion"
+        href="Fixture.html">this fixture</a></p>
+
+
+<p>Locate and alias Tom and his approver:</p>
+<ul>
+	<li>
+	<p
+		isis:execute="#result=usingIsisViewer(#onObject,#aliasResultAs, #perform, #usingMember)">
+	With the <span concordion:set="#onObject">employees</span> service, <span
+		concordion:set="#perform">invoke action</span> <span
+		concordion:set="#usingMember">All Employees</span> and alias the resulting list
as <span
+		concordion:set="#aliasResultAs">list1</span>; <span
+		concordion:assertEquals="#result">ok</span></p>
+	</li>
+	<li>
+	<p
+		concordion:execute="#result=aliasItemsInList(#listAlias, #title, #aliasAs)">
+	Alias <span concordion:set="#title">Tom Brown</span> in <span
+		concordion:set="#listAlias">list1</span> as <span
+		concordion:set="#aliasAs">tomEmployee</span>; <span
+		concordion:assertEquals="#result">ok</span>.</p>
+	</li>
+</ul>
+
+
+<p>Note the approver for Tom.</p>
+<table
+	isis:execute="#result=usingIsisViewerThatArgs(#onObject, #aliasResultAs, #perform, #onMember,
#thatIt, #value)">
+	<tr>
+		<th concordion:set="#onObject">on object</th>
+		<th concordion:set="#aliasResultAs">alias result as</th>
+		<th concordion:set="#perform">perform</th>
+		<th concordion:set="#onMember">on member</th>
+		<th concordion:set="#thatIt">that it</th>
+		<th concordion:set="#value">value</th>
+		<th concordion:assertEquals="#result" />
+	</tr>
+	<tr>
+		<td>tomEmployee</td>
+		<td>tomsApprover</td>
+		<td>check property</td>
+		<td>Approver</td>
+		<td>is</td>
+		<td>Employee:Fred Smith</td>
+		<td>ok</td>
+	</tr>
+</table>
+
+<h2>When</h2>
+
+<p>Create new claim, but don't save:</p>
+<table
+	isis:execute="#result=usingIsisViewer(#onObject, #aliasResultAs, #perform, #onMember)">
+	<tr>
+		<th concordion:set="#onObject">on object</th>
+		<th concordion:set="#aliasResultAs">alias result as</th>
+		<th concordion:set="#perform">perform</th>
+		<th concordion:set="#onMember">on member</th>
+		<th concordion:assertEquals="#result" />
+	</tr>
+	<tr>
+		<td>tomEmployee</td>
+		<td>tomsClaim1</td>
+		<td>invoke action</td>
+		<td>New Claim</td>
+		<td>ok</td>
+	</tr>
+</table>
+
+
+<h2>Then</h2>
+
+<table
+	isis:execute="#result=usingIsisViewerThatArgs(#onObject, #aliasResultAs, #perform, #onMember,
#that, #args)">
+	<tr>
+		<th concordion:set="#onObject">on object</th>
+		<th concordion:set="#aliasResultAs">alias result as</th>
+		<th concordion:set="#perform">perform</th>
+		<th concordion:set="#onMember">on member</th>
+		<th concordion:set="#that">that it</th>
+		<th concordion:set="#args">value</th>
+		<th concordion:assertEquals="#result" />
+	</tr>
+	<tr>
+		<td>tomsClaim1</td>
+		<td />
+		<td>check object</td>
+		<td />
+		<td>is not saved</td>
+		<td />
+		<td>ok</td>
+	</tr>
+	<tr>
+		<td />
+		<td />
+		<td>check property</td>
+		<td>Date</td>
+		<td>is</td>
+		<td>02-Mar-2007</td>
+		<td>ok</td>
+	</tr>
+	<tr>
+		<td />
+		<td />
+		<td />
+		<td>Description</td>
+		<td>is</td>
+		<td>enter a description here</td>
+		<td>ok</td>
+	</tr>
+	<tr>
+		<td />
+		<td />
+		<td />
+		<td>Status</td>
+		<td>is</td>
+		<td>New</td>
+		<td>ok</td>
+	</tr>
+	<tr>
+		<td />
+		<td />
+		<td />
+		<td>Claimant</td>
+		<td>is</td>
+		<td>tomEmployee</td>
+		<td>ok</td>
+	</tr>
+	<tr>
+		<td />
+		<td />
+		<td />
+		<td>Approver</td>
+		<td>is</td>
+		<td>tomsApprover</td>
+		<td>ok</td>
+	</tr>
+	<tr>
+		<td />
+		<td />
+		<td>check collection</td>
+		<td>Items</td>
+		<td>is empty</td>
+		<td />
+		<td>ok</td>
+	</tr>
+</table>
+
+
+<!-- 
+<p concordion:execute="runViewer()">run viewer</p>
+--></div>
+
+</body>
+</html>
\ No newline at end of file

Added: incubator/isis/trunk/support/prototype/viewer-bdd/src/test/resources/org/apache/isis/support/prototype/scenarios/newClaim/ScenarioOnceCreatedShowsUpForClaimant.html
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/support/prototype/viewer-bdd/src/test/resources/org/apache/isis/support/prototype/scenarios/newClaim/ScenarioOnceCreatedShowsUpForClaimant.html?rev=1044269&view=auto
==============================================================================
--- incubator/isis/trunk/support/prototype/viewer-bdd/src/test/resources/org/apache/isis/support/prototype/scenarios/newClaim/ScenarioOnceCreatedShowsUpForClaimant.html
(added)
+++ incubator/isis/trunk/support/prototype/viewer-bdd/src/test/resources/org/apache/isis/support/prototype/scenarios/newClaim/ScenarioOnceCreatedShowsUpForClaimant.html
Fri Dec 10 10:26:46 2010
@@ -0,0 +1,337 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+"file:src/test/resources/dtd/xhtml1-strict.dtd">
+<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
+  <link href="../../concordion.css" rel="stylesheet" type="text/css" />
+
+  <body>
+    <h1>New Claim once created shows up for claimant</h1>
+
+    <div class="example">
+      <h2>Given</h2>
+
+      <p>Given <a href="Fixture.html" concordion:run="concordion"
+      xmlns:concordion="http://www.concordion.org/2007/concordion">this
+      fixture</a>:</p>
+
+      <p>Locate and alias <span>Tom</span>:</p>
+
+      <ul>
+        <li>
+          <p
+          isis:execute="#result=usingIsisViewer(#onObject,#aliasResultAs, #perform, #usingMember)"
+          xmlns:isis="http://isis.apache.org/2010/concordion">With the <span
+          concordion:set="#onObject"
+          xmlns:concordion="http://www.concordion.org/2007/concordion">employees</span>
+          service, <span concordion:set="#perform"
+          xmlns:concordion="http://www.concordion.org/2007/concordion">invoke
+          action</span> <span concordion:set="#usingMember"
+          xmlns:concordion="http://www.concordion.org/2007/concordion">All
+          Employees</span> and alias the resulting list as <span
+          concordion:set="#aliasResultAs"
+          xmlns:concordion="http://www.concordion.org/2007/concordion">list1</span>;
+          <span concordion:assertEquals="#result"
+          xmlns:concordion="http://www.concordion.org/2007/concordion">ok</span></p>
+        </li>
+
+        <li>
+          <p
+          concordion:execute="#result=aliasItemsInList(#listAlias, #title, #aliasAs)"
+          xmlns:concordion="http://www.concordion.org/2007/concordion">Alias
+          <span concordion:set="#title">Tom Brown</span> in <span
+          concordion:set="#listAlias">list1</span> as <span
+          concordion:set="#aliasAs">tomEmployee</span>; <span
+          concordion:assertEquals="#result">ok</span>.</p>
+        </li>
+      </ul>
+
+      <p>Initially Tom has no claims:</p>
+
+      <ul>
+        <li>
+          <p
+          isis:execute="#result=usingIsisViewer(#onObject,#aliasResultAs, #perform, #usingMember)"
+          xmlns:isis="http://isis.apache.org/2010/concordion">Using <span
+          concordion:set="#onObject"
+          xmlns:concordion="http://www.concordion.org/2007/concordion">tomEmployee</span>,
+          <span concordion:set="#perform"
+          xmlns:concordion="http://www.concordion.org/2007/concordion">invoke
+          action</span> <span concordion:set="#usingMember"
+          xmlns:concordion="http://www.concordion.org/2007/concordion">Claims
+          For</span> and alias the resulting list as <span
+          concordion:set="#aliasResultAs"
+          xmlns:concordion="http://www.concordion.org/2007/concordion">tomsClaimsInitially</span>;
+          <span concordion:assertEquals="#result"
+          xmlns:concordion="http://www.concordion.org/2007/concordion">ok</span>.</p>
+        </li>
+
+        <li>
+          <p>Confirm that <span
+          concordion:execute="#result=checkListIsEmpty(#TEXT)"
+          xmlns:concordion="http://www.concordion.org/2007/concordion">tomsClaimsInitially</span>
+          has no claims; <span concordion:assertEquals="#result"
+          xmlns:concordion="http://www.concordion.org/2007/concordion">ok</span>.</p>
+        </li>
+      </ul>
+
+      <h2>When</h2>
+
+      <p>Create new claims, and save:</p>
+
+      <table isis:execute="#result=usingIsisViewerArgs(#onObject, #aliasResultAs, #perform,
#onMember, #value)"
+             xmlns:isis="http://isis.apache.org/2010/concordion">
+        <tr>
+          <th concordion:set="#onObject"
+          xmlns:concordion="http://www.concordion.org/2007/concordion">on
+          object</th>
+
+          <th concordion:set="#aliasResultAs"
+          xmlns:concordion="http://www.concordion.org/2007/concordion">alias
+          result as</th>
+
+          <th concordion:set="#perform"
+          xmlns:concordion="http://www.concordion.org/2007/concordion">perform</th>
+
+          <th concordion:set="#onMember"
+          xmlns:concordion="http://www.concordion.org/2007/concordion">on
+          member</th>
+
+          <th concordion:set="#value"
+          xmlns:concordion="http://www.concordion.org/2007/concordion">value</th>
+
+          <th concordion:assertEquals="#result"
+              xmlns:concordion="http://www.concordion.org/2007/concordion" />
+        </tr>
+
+        <tr>
+          <td>tomEmployee</td>
+
+          <td>tomsClaim1</td>
+
+          <td>invoke action</td>
+
+          <td>New Claim</td>
+
+          <td />
+
+          <td>ok</td>
+        </tr>
+
+        <tr>
+          <td>tomsClaim1</td>
+
+          <td />
+
+          <td>set property</td>
+
+          <td>Description</td>
+
+          <td>claim 1</td>
+
+          <td>ok</td>
+        </tr>
+
+        <tr>
+          <td>tomsClaim1</td>
+
+          <td />
+
+          <td>set property</td>
+
+          <td>Date</td>
+
+          <td>14-Feb-2007</td>
+
+          <td>ok</td>
+        </tr>
+
+        <tr>
+          <td>tomsClaim1</td>
+
+          <td />
+
+          <td>save</td>
+
+          <td />
+
+          <td />
+
+          <td>ok</td>
+        </tr>
+
+        <tr>
+          <td>tomEmployee</td>
+
+          <td>tomsClaim2</td>
+
+          <td>invoke action</td>
+
+          <td>New Claim</td>
+
+          <td />
+
+          <td>ok</td>
+        </tr>
+
+        <tr>
+          <td>tomsClaim2</td>
+
+          <td />
+
+          <td>set property</td>
+
+          <td>Description</td>
+
+          <td>claim 2</td>
+
+          <td>ok</td>
+        </tr>
+
+        <tr>
+          <td>tomsClaim2</td>
+
+          <td />
+
+          <td>set property</td>
+
+          <td>Date</td>
+
+          <td>18-Feb-2007</td>
+
+          <td>ok</td>
+        </tr>
+
+        <tr>
+          <td>tomsClaim2</td>
+
+          <td />
+
+          <td>save</td>
+
+          <td />
+
+          <td />
+
+          <td>ok</td>
+        </tr>
+      </table>
+
+      <p>run viewer</p>
+
+      <h2>Then</h2>
+
+      <p>Tom now has claims:</p>
+
+      <ul>
+        <li>
+          <p
+          isis:execute="#result=usingIsisViewer(#onObject,#tomsClaimsAfterwards, #perform,
#usingMember)"
+          xmlns:isis="http://isis.apache.org/2010/concordion">Using <span
+          concordion:set="#onObject"
+          xmlns:concordion="http://www.concordion.org/2007/concordion">tomEmployee</span>,
+          <span concordion:set="#perform"
+          xmlns:concordion="http://www.concordion.org/2007/concordion">invoke
+          action</span> <span concordion:set="#usingMember"
+          xmlns:concordion="http://www.concordion.org/2007/concordion">Claims
+          For</span> and alias the resulting list as <span
+          concordion:set="#tomsClaimsAfterwards"
+          xmlns:concordion="http://www.concordion.org/2007/concordion">tomsClaimsAfterwards</span>;
+          <span concordion:assertEquals="#result"
+          xmlns:concordion="http://www.concordion.org/2007/concordion">ok</span>.</p>
+        </li>
+
+        <li>
+          <p
+          concordion:execute="#result=checkListIsNotEmpty(#tomsClaimsAfterwards)"
+          xmlns:concordion="http://www.concordion.org/2007/concordion">Confirm
+          that the tom's claims afterwards is not empty; <span
+          concordion:assertEquals="#result">ok</span>.</p>
+        </li>
+
+        <li>
+          <p
+          concordion:execute="#result=checkListSize(#tomsClaimsAfterwards,#expectedSize)"
+          xmlns:concordion="http://www.concordion.org/2007/concordion">Confirm
+          that tom has <span concordion:set="#expectedSize">2</span> claims;
+          <span concordion:assertEquals="#result">ok</span>.</p>
+        </li>
+
+        <li>
+          <p
+          concordion:execute="#result=checkListContains(#tomsClaimsAfterwards,#tomsClaim1)"
+          xmlns:concordion="http://www.concordion.org/2007/concordion">Confirm
+          that tom's set of claims contains <span
+          concordion:set="#tomsClaim1">tomsClaim1</span>; <span
+          concordion:assertEquals="#result">ok</span>.</p>
+        </li>
+
+        <li>
+          <p
+          concordion:execute="#result=checkListDoesNotContain(#tomsClaimsAfterwards,#tomEmployee)"
+          xmlns:concordion="http://www.concordion.org/2007/concordion">Confirm
+          that tom's set of claims does NOT contain <span
+          concordion:set="#tomEmployee">tomEmployee</span>; himself (duh!);
+          <span concordion:assertEquals="#result">ok</span>.</p>
+        </li>
+
+        <li>
+          <p>Tom has these claims (checking using Isis' checkList):</p>
+
+          <table isis:execute="#result=checkList(#tomsClaimsAfterwards, #title)"
+                 xmlns:isis="http://isis.apache.org/2010/concordion">
+            <tr>
+              <th concordion:set="#title"
+              xmlns:concordion="http://www.concordion.org/2007/concordion">title</th>
+
+              <th concordion:assertEquals="#result"
+                  xmlns:concordion="http://www.concordion.org/2007/concordion" />
+            </tr>
+
+            <tr>
+              <td>New - 2007-2-18</td>
+
+              <td>ok</td>
+            </tr>
+
+            <tr>
+              <td>New - 2007-2-14</td>
+
+              <td>ok</td>
+            </tr>
+          </table>
+        </li>
+
+        <li>
+          <p>Tom has these claims (checking using Concordion's
+          verifyRows):</p>
+
+          <table concordion:verifyRows="#claimPojo: getListContents(#tomsClaimsAfterwards)"
+                 xmlns:concordion="http://www.concordion.org/2007/concordion">
+            <tr>
+              <th
+              concordion:assertEquals="#claimPojo.description">Description</th>
+
+              <th concordion:assertEquals="#claimPojo.date">Date</th>
+            </tr>
+
+            <tr>
+              <td>claim 2</td>
+
+              <td>2007-2-18</td>
+            </tr>
+
+            <tr>
+              <td>claim 1</td>
+
+              <td>2007-2-14</td>
+            </tr>
+          </table>
+        </li>
+      </ul>
+
+      <!-- 
+<p concordion:execute="runViewer()">run viewer</p>
+ -->
+    </div>
+  </body>
+</html>



Mime
View raw message