Blame view

test/FitNesseRoot/files/templates/pageHistoryXML.vm 566 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
22
<?xml version="1.0"?>
<PageHistory>

  #if($pageHistory)

  <Page>
    <Name>$pageHistory.FullPageName</Name>
    #set($dates = $pageHistory.datesInChronologicalOrder())
    #foreach($date in $dates)
    <TestResult>
      <Date>$date</Date>
      <ResultLink>$pageHistory.FullPageName?pageHistory&amp;resultDate=$pageHistory.formatDate("yyyyMMddHHmmss",$date)&amp;format=xml</ResultLink>
      #set($bar = $pageHistory.getPassFailBar($date, 50))
      <Pass>$bar.Pass</Pass>
      <Fail>$bar.Fail</Fail>
     </TestResult>
    #end
  </Page>

  #end

</PageHistory>