core-jgi/fitnesse/FitNesseRoot/files/templates/pageHistoryXML.vm

22 lines
566 B
XML

<?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>