diff options
author | Benjamin Jones <bjones@galois.com> | 2012-12-13 11:06:39 -0800 |
---|---|---|
committer | Benjamin Jones <bjones@galois.com> | 2012-12-13 11:06:39 -0800 |
commit | a5337f1c0229e88fb753e52f5e261a071c6e129b (patch) | |
tree | abe25fb3c85f5769c273516ef0148d84b6450127 | |
parent | 2146ce0681bc0fdc937c0949fd186075b8c62fb5 (diff) |
added example run report: basic_report/
-rw-r--r-- | exampleData/headlessRuns/basic_report/byRule.html | 128 | ||||
-rw-r--r-- | exampleData/headlessRuns/basic_report/byURL.html | 96 | ||||
-rw-r--r-- | exampleData/headlessRuns/basic_report/summary.html | 73 |
3 files changed, 297 insertions, 0 deletions
diff --git a/exampleData/headlessRuns/basic_report/byRule.html b/exampleData/headlessRuns/basic_report/byRule.html new file mode 100644 index 0000000..561ac75 --- /dev/null +++ b/exampleData/headlessRuns/basic_report/byRule.html @@ -0,0 +1,128 @@ + +<html> + <head> + <title>Results sorted by rule + </title> + <style type="text/css">h1 { font-size: 150%; }h2 { font-size: 110%; }li { margin: 5 0 0 0; }table { border: 1px solid grey; cellpadding: 5%; width: 200px; } +td.pass-number{ text-align: right;color: green; } +td.fail-number{ text-align: right;color: red; } +td.text{ text-align: left; } +th { font-weight: bold; } +td, th { border: 1px solid grey; } +.hlRow { background: #EEEEEE; } +.regRow { background: #FFFFFF; } + + </style> + </head> + <body> + <h1>Results by Rule + </h1> + <ul> + <li> + <b>Color Guidelines + </b>: Foreground/background color guidelines + <ul> + <li class="regRow">Problem: Rule Name: foreground color: #C3C2C5 / Rule Desc: null / XPath: //*[@id="nav-left"] + <br/>URL: + <a href="http://localhost:8000/testColorRules.html">http://localhost:8000/testColorRules.html + </a> + </li> + <li class="hlRow">Problem: Rule Name: foreground color: #C3C2C5 / Rule Desc: null / XPath: /html/body/div/ul + <br/>URL: + <a href="http://localhost:8000/testColorRules.html">http://localhost:8000/testColorRules.html + </a> + </li> + <li class="regRow">Problem: Rule Name: foreground color: #C3C2C5 / Rule Desc: null / XPath: /html/body/div/ul/li + <br/>URL: + <a href="http://localhost:8000/testColorRules.html">http://localhost:8000/testColorRules.html + </a> + </li> + <li class="hlRow">Problem: Rule Name: foreground color: #EE / Rule Desc: null / XPath: /html/body/div/ul/li/a + <br/>URL: + <a href="http://localhost:8000/testColorRules.html">http://localhost:8000/testColorRules.html + </a> + </li> + <li class="regRow">Problem: Rule Name: foreground color: #C3C2C5 / Rule Desc: null / XPath: /html/body/div/ul/li[2] + <br/>URL: + <a href="http://localhost:8000/testColorRules.html">http://localhost:8000/testColorRules.html + </a> + </li> + <li class="hlRow">Problem: Rule Name: foreground color: #EE / Rule Desc: null / XPath: /html/body/div/ul/li[2]/a + <br/>URL: + <a href="http://localhost:8000/testColorRules.html">http://localhost:8000/testColorRules.html + </a> + </li> + <li class="regRow">Problem: Rule Name: foreground color: #C3C2C5 / Rule Desc: null / XPath: /html/body/div/ul/li[3] + <br/>URL: + <a href="http://localhost:8000/testColorRules.html">http://localhost:8000/testColorRules.html + </a> + </li> + <li class="hlRow">Problem: Rule Name: foreground color: #EE / Rule Desc: null / XPath: /html/body/div/ul/li[3]/a + <br/>URL: + <a href="http://localhost:8000/testColorRules.html">http://localhost:8000/testColorRules.html + </a> + </li> + <li class="regRow">Problem: Rule Name: foreground color: #FFFFF1 / Rule Desc: null / XPath: /html/body/div[2]/p + <br/>URL: + <a href="http://localhost:8000/testColorRules.html">http://localhost:8000/testColorRules.html + </a> + </li> + <li class="hlRow">Problem: Rule Name: foreground color: #CCCCCC / Rule Desc: null / XPath: /html/body/div[2]/p[2] + <br/>URL: + <a href="http://localhost:8000/testColorRules.html">http://localhost:8000/testColorRules.html + </a> + </li> + <li class="regRow">Problem: Rule Name: foreground color: #808080 / Rule Desc: null / XPath: /html/body/div[2]/hr + <br/>URL: + <a href="http://localhost:8000/testColorRules.html">http://localhost:8000/testColorRules.html + </a> + </li> + <li class="hlRow">Problem: Rule Name: foreground color: #808080 / Rule Desc: null / XPath: /html/body/div[2]/hr[2] + <br/>URL: + <a href="http://localhost:8000/testColorRules.html">http://localhost:8000/testColorRules.html + </a> + </li> + <li class="regRow">Problem: Rule Name: foreground color: #C7C7C7 / Rule Desc: null / XPath: //*[@id="content"] + <br/>URL: + <a href="http://localhost:8000/testColorRules.html">http://localhost:8000/testColorRules.html + </a> + </li> + <li class="hlRow">Problem: Rule Name: non-standard header color: #000000 / Rule Desc: null / XPath: /html/body/div[2]/h1 + <br/>URL: + <a href="http://localhost:8000/testColorRules.html">http://localhost:8000/testColorRules.html + </a> + </li> + </ul> + </li> + <li> + <b>Fonts + </b>: Guidelines regarding site fonts + <ul> + <li class="regRow">Problem: Rule Name: non-standard font: serif, 32, bold / Rule Desc: null / XPath: /html/body/h1 + <br/>URL: + <a href="http://localhost:8000/testFontRules.html">http://localhost:8000/testFontRules.html + </a> + </li> + <li class="hlRow">Problem: Rule Name: non-standard font: Verdana, 24, normal / Rule Desc: null / XPath: /html/body/p[2] + <br/>URL: + <a href="http://localhost:8000/testFontRules.html">http://localhost:8000/testFontRules.html + </a> + </li> + <li class="regRow">Problem: Rule Name: non-standard font: Times, 16, normal / Rule Desc: null / XPath: /html/body/p[3] + <br/>URL: + <a href="http://localhost:8000/testFontRules.html">http://localhost:8000/testFontRules.html + </a> + </li> + <li class="hlRow">Problem: Rule Name: non-standard font: Times, 24, normal / Rule Desc: null / XPath: /html/body/p[4] + <br/>URL: + <a href="http://localhost:8000/testFontRules.html">http://localhost:8000/testFontRules.html + </a> + </li> + <li class="regRow">Problem: Rule Name: non-standard font: Times, 36, normal / Rule Desc: null / XPath: /html/body/p[5] + <br/>URL: + <a href="http://localhost:8000/testFontRules.html">http://localhost:8000/testFontRules.html + </a> + </li> + </ul> + </li> + </ul>
\ No newline at end of file diff --git a/exampleData/headlessRuns/basic_report/byURL.html b/exampleData/headlessRuns/basic_report/byURL.html new file mode 100644 index 0000000..2054b9f --- /dev/null +++ b/exampleData/headlessRuns/basic_report/byURL.html @@ -0,0 +1,96 @@ + +<html> + <head> + <title>Results sorted by URL + </title> + <style type="text/css">h1 { font-size: 150%; }h2 { font-size: 110%; }li { margin: 5 0 0 0; }table { border: 1px solid grey; cellpadding: 5%; width: 200px; } +td.pass-number{ text-align: right;color: green; } +td.fail-number{ text-align: right;color: red; } +td.text{ text-align: left; } +th { font-weight: bold; } +td, th { border: 1px solid grey; } +.hlRow { background: #EEEEEE; } +.regRow { background: #FFFFFF; } + + </style> + </head> + <body> + <body> + <h1>Results by URL + </h1> + <ol> + <li> + <h2> + <a href="http://localhost:8000/testColorRules.html">http://localhost:8000/testColorRules.html + </a> + </h2> + <ul> + <li class="regRow">Color Guidelines: Foreground/background color guidelines + <br/>Rule Name: foreground color: #C3C2C5 / Rule Desc: null / XPath: //*[@id="nav-left"] + </li> + <li class="hlRow">Color Guidelines: Foreground/background color guidelines + <br/>Rule Name: foreground color: #C3C2C5 / Rule Desc: null / XPath: /html/body/div/ul + </li> + <li class="regRow">Color Guidelines: Foreground/background color guidelines + <br/>Rule Name: foreground color: #C3C2C5 / Rule Desc: null / XPath: /html/body/div/ul/li + </li> + <li class="hlRow">Color Guidelines: Foreground/background color guidelines + <br/>Rule Name: foreground color: #EE / Rule Desc: null / XPath: /html/body/div/ul/li/a + </li> + <li class="regRow">Color Guidelines: Foreground/background color guidelines + <br/>Rule Name: foreground color: #C3C2C5 / Rule Desc: null / XPath: /html/body/div/ul/li[2] + </li> + <li class="hlRow">Color Guidelines: Foreground/background color guidelines + <br/>Rule Name: foreground color: #EE / Rule Desc: null / XPath: /html/body/div/ul/li[2]/a + </li> + <li class="regRow">Color Guidelines: Foreground/background color guidelines + <br/>Rule Name: foreground color: #C3C2C5 / Rule Desc: null / XPath: /html/body/div/ul/li[3] + </li> + <li class="hlRow">Color Guidelines: Foreground/background color guidelines + <br/>Rule Name: foreground color: #EE / Rule Desc: null / XPath: /html/body/div/ul/li[3]/a + </li> + <li class="regRow">Color Guidelines: Foreground/background color guidelines + <br/>Rule Name: foreground color: #FFFFF1 / Rule Desc: null / XPath: /html/body/div[2]/p + </li> + <li class="hlRow">Color Guidelines: Foreground/background color guidelines + <br/>Rule Name: foreground color: #CCCCCC / Rule Desc: null / XPath: /html/body/div[2]/p[2] + </li> + <li class="regRow">Color Guidelines: Foreground/background color guidelines + <br/>Rule Name: foreground color: #808080 / Rule Desc: null / XPath: /html/body/div[2]/hr + </li> + <li class="hlRow">Color Guidelines: Foreground/background color guidelines + <br/>Rule Name: foreground color: #808080 / Rule Desc: null / XPath: /html/body/div[2]/hr[2] + </li> + <li class="regRow">Color Guidelines: Foreground/background color guidelines + <br/>Rule Name: foreground color: #C7C7C7 / Rule Desc: null / XPath: //*[@id="content"] + </li> + <li class="hlRow">Color Guidelines: Foreground/background color guidelines + <br/>Rule Name: non-standard header color: #000000 / Rule Desc: null / XPath: /html/body/div[2]/h1 + </li> + </ul> + </li> + <li> + <h2> + <a href="http://localhost:8000/testFontRules.html">http://localhost:8000/testFontRules.html + </a> + </h2> + <ul> + <li class="regRow">Fonts: Guidelines regarding site fonts + <br/>Rule Name: non-standard font: serif, 32, bold / Rule Desc: null / XPath: /html/body/h1 + </li> + <li class="hlRow">Fonts: Guidelines regarding site fonts + <br/>Rule Name: non-standard font: Verdana, 24, normal / Rule Desc: null / XPath: /html/body/p[2] + </li> + <li class="regRow">Fonts: Guidelines regarding site fonts + <br/>Rule Name: non-standard font: Times, 16, normal / Rule Desc: null / XPath: /html/body/p[3] + </li> + <li class="hlRow">Fonts: Guidelines regarding site fonts + <br/>Rule Name: non-standard font: Times, 24, normal / Rule Desc: null / XPath: /html/body/p[4] + </li> + <li class="regRow">Fonts: Guidelines regarding site fonts + <br/>Rule Name: non-standard font: Times, 36, normal / Rule Desc: null / XPath: /html/body/p[5] + </li> + </ul> + </li> + </ol> + </body>
\ No newline at end of file diff --git a/exampleData/headlessRuns/basic_report/summary.html b/exampleData/headlessRuns/basic_report/summary.html new file mode 100644 index 0000000..2477983 --- /dev/null +++ b/exampleData/headlessRuns/basic_report/summary.html @@ -0,0 +1,73 @@ + +<html> + <head> + <title>Summary of Results + </title> + <style type="text/css">h1 { font-size: 150%; }h2 { font-size: 110%; }li { margin: 5 0 0 0; }table { border: 1px solid grey; cellpadding: 5%; width: 200px; } +td.pass-number{ text-align: right;color: green; } +td.fail-number{ text-align: right;color: red; } +td.text{ text-align: left; } +th { font-weight: bold; } +td, th { border: 1px solid grey; } +.hlRow { background: #EEEEEE; } +.regRow { background: #FFFFFF; } + + </style> + </head> + <body> + <h1>Headless Run Summary + </h1> + <p> + <ul> + <li> + <a href="byurl.html">Results organized by URL + </a> + </li> + <li> + <a href="byrule.html">Results organized by Rule + </a> + </li> + </ul> + </p> + <p> + <div id="stats"> + <p> + <h3>Unique URLs: + <span class="number">2 + </span> + </h3> + </p> + <p> + <table id="stats-table"> + <tr> + <th>URL + </th> + <th>Pass + </th> + <th>Fail + </th> + </tr> + <tr class="hlRow"> + <td class="text"> + <a href="http://localhost:8000/testColorRules.html">http://localhost:8000/testColorRules.html + </a> + </td> + <td class="pass-number">0 + </td> + <td class="fail-number">14 + </td> + </tr> + <tr class="regRow"> + <td class="text"> + <a href="http://localhost:8000/testFontRules.html">http://localhost:8000/testFontRules.html + </a> + </td> + <td class="pass-number">0 + </td> + <td class="fail-number">5 + </td> + </tr> + </table> + </p> + </div> + </p>
\ No newline at end of file |