FitNesseRoot.files.templates.compareHistory.vm Maven / Gradle / Ivy
#set ($page_title="History Comparison")
#parse("pageHead.vm")
#if($resultContent)
#set($Header ="" )
#set($passfail = "fail")
#if($completeMatch)
#set($Header = "A Complete Match")
#set($passfail = "pass")
#else
#set($Header = "Something Didn't Match")
#end
$Header
#set($score = "")
"Scores"
$firstFileName
$secondFileName
#set ($matched = "Match")
#foreach($result in $resultContent)
#set($score = $comparer.findScoreByFirstTableIndexAsStringAsPercent($count))
#if($result.equals("pass"))
#set($matched = "Match. Score: " + $score + "%")
#else
#set($matched = "Not a match. Score: " + $score + "%")
#end
$matched
#set ($firstTable = $firstTables.get($count))
#set ($secondTable = $secondTables.get($count))
$firstTable
$secondTable
#set ($count = $count + 1)
#end
#else
Comparison Failed: $pageTitle.Title
#end
#parse("pageFooter.vm")