Blame view

test/FitNesseRoot/files/templates/testHistoryXML.vm 506 Bytes
fbe3c2bb   Benjamin Renard   First commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?xml version="1.0"?>
<TestHistory>

  #foreach ($page in $testHistory.pageNames)
  #set ($pageHistory = $testHistory.getPageHistory($page))
  #if($pageHistory)
  #set($linkExtra = "?pageHistory&amp;format=xml")

  <Page>
    <Name>$page</Name>
    <PageHistoryLink>$page$linkExtra</PageHistoryLink>
    <Pass>$pageHistory.passes</Pass>
    <Fail>$pageHistory.failures</Fail>
    <MinDate>$pageHistory.minDate</MinDate>
    <MaxDate>$pageHistory.maxDate</MaxDate>
  </Page>

  #end
  #end

</TestHistory>