forked from arquillian/arquillian-rusheye
-
Notifications
You must be signed in to change notification settings - Fork 1
/
template_different_images.html
54 lines (53 loc) · 3.7 KB
/
template_different_images.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>${TestName}</title>
<meta name="Author" content="Pavel Tisnovsky" />
<meta name="Generator" content="ImageDiffer" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="keywords" content="test, java" />
<style type="text/css">
<!--
body {font-family: sans-serif, arial, helvetica, sans-serif; color:#000000; background-color:#ffffff; margin-left: 0px; margin-top: 0px; border:1px; border-color:#808080;border-style:solid}
h1 {font-family: arial, helvetica, sans-serif; color:#000000; background:#80a0a0; text-align:center; padding-left: 1em; margin: 0}
h2 {font-family: arial, helvetica, sans-serif; color:#000000; background:#80a0a0; padding-left: 1em; padding-right: 1cm}
a {font-family: arial, helvetica, sans-serif; color:#0000ff; text-decoration:none}
a:link {color:#0000ff}
a:visited {color:#0000ff}
a:visited {color:#0000ff}
a:hover {color:#ffffff; background:#404040}
p {font-family: arial, helvetica, sans-serif; color:#000000; text-align:justify; padding-left: 1em; padding-right: 1em}
.key {color: #0000aa}
.value {color: #aa0000}
.formular {background-color: #f0f0dd; vertical-align: top; border-collapse: collapse; border-color:#808080}
-->
</style>
</head>
<body>
<h1>${TestName}</h1>
<table border="0" frame="border" cellspacing="3" cellpadding="1" class="formular" summary="">
<tr><td class="key">Test result: </td><td class="value">${ComparisonStatus}</td>
<td rowspan="14"><a href="source1.png"><img src="source1.png" width="300px" /></a></td>
<td rowspan="14"><a href="source2.png"><img src="source2.png" width="300px" /></a></td>
<td rowspan="14"><a href="diff.png"><img src="diff.png" width="300px" /></a></td>
</tr>
<tr><td colspan="2"> </td></tr>
<tr><td class="key">Tested area: </td><td class="value">${AreaAsString}</td></tr>
<tr><td class="key">Different pixels area: </td><td class="value">${RectangleAsString}</td></tr>
<tr><td class="key">Total pixels: </td><td class="value">${TotalPixels}</td></tr>
<tr><td class="key">Masked pixels: </td><td class="value">${MaskedPixels}</td></tr>
<tr><td class="key">Perceptible pixels: </td><td class="value">${PerceptibleDiffs}</td></tr>
<tr><td class="key">Global different pixels: </td><td class="value">${DifferentPixels}</td></tr>
<tr><td class="key">Unperceptible different pixels:</td><td class="value">${SmallDifferences}</td></tr>
<tr><td class="key">Same pixels: </td><td class="value">${EqualPixels}</td></tr>
<tr><td colspan="2"> </td></tr>
<tr><td class="key">Template (source image1) </td><td><a href="source1.png">source1.png</a></td></tr>
<tr><td class="key">Test sample (source image2) </td><td><a href="source2.png">source2.png</a></td></tr>
<tr><td class="key">Diff. image </td><td><a href="diff.png">diff.png</a></td></tr>
</table>
<br clear="all" />
<hr noshade size="1" width="100%" />
<p>Generated by <strong>ImageDiffer</strong></p>
</body>
</html>