Skip to content

Commit

Permalink
Added test for Directionality on HTML global rules; updated ENLASO's …
Browse files Browse the repository at this point in the history
…results.
  • Loading branch information
ysavourel committed Apr 4, 2013
1 parent 0776e1f commit fcbf1da
Show file tree
Hide file tree
Showing 6 changed files with 129 additions and 8 deletions.
14 changes: 14 additions & 0 deletions its2.0/expected/directionality/html/dir2htmloutput.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
/html dir="ltr"
/html/@lang dir="ltr"
/html/head[1] dir="ltr"
/html/head[1]/meta[1] dir="ltr"
/html/head[1]/meta[1]/@charset dir="ltr"
/html/head[1]/title[1] dir="ltr"
/html/head[1]/script[1] dir="ltr"
/html/head[1]/script[1]/@type dir="ltr"
/html/body[1] dir="ltr"
/html/body[1]/p[1] dir="ltr"
/html/body[1]/p[1]/q[1] dir="rtl"
/html/body[1]/p[1]/q[1]/@class dir="rtl"
/html/body[1]/p[1]/q[1]/@lang dir="rtl"
/html/body[1]/p[1]/quote[1] dir="ltr"
17 changes: 17 additions & 0 deletions its2.0/inputdata/directionality/html/dir2html.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset=utf-8>
<title>Directionality</title>
<script type="application/its+xml">
<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:h="http://www.w3.org/1999/xhtml" version="2.0">
<its:dirRule selector="//h:*[@class='rtLeft']" dir="rtl" />
</its:rules>
</script>
</head>
<body>
<p>In Hebrew, the title <q lang="he"
class="rtLeft">פעילות הבינאום, W3C</q>
means <quote>Internationalization Activity, W3C</quote>.</p>
</body>
</html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
/html dir="ltr"
/html/@lang dir="ltr"
/html/head[1] dir="ltr"
/html/head[1]/meta[1] dir="ltr"
/html/head[1]/meta[1]/@charset dir="ltr"
/html/head[1]/title[1] dir="ltr"
/html/head[1]/script[1] dir="ltr"
/html/head[1]/script[1]/@type dir="ltr"
/html/body[1] dir="ltr"
/html/body[1]/p[1] dir="ltr"
/html/body[1]/p[1]/q[1] dir="rtl"
/html/body[1]/p[1]/q[1]/@class dir="rtl"
/html/body[1]/p[1]/q[1]/@lang dir="rtl"
/html/body[1]/p[1]/quote[1] dir="ltr"
75 changes: 67 additions & 8 deletions its2.0/testSuiteDashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
</head>
<body>
<h1>ITS 2.0 Test Suite Dashboard</h1>
<p>Version generated: 2013-04-04T05:19:27.909-06:00</p>
<p>Version generated: 2013-04-04T07:06:11.251-06:00</p>
<h2 id="purpose">Purpose</h2>
<p>This document provides a summary of the ITS 2.0 Test Suite:</p>
<ul>
Expand All @@ -53,9 +53,9 @@ <h2 id="purpose">Purpose</h2>
</ul>
<h2 id="tests-current-state-summary">Current state of tests</h2>
<ul>
<li>Total number of input and reference output files: 226</li>
<li>Total number of tests from all implementers: 849</li>
<li>Current coverage: 651 tests successfully run (77%).</li>
<li>Total number of input and reference output files: 227</li>
<li>Total number of tests from all implementers: 851</li>
<li>Current coverage: 652 tests successfully run (77%).</li>
</ul>
<p>The following table compares actual tests run, versus number of tests to be run per
implementer. Explanation:</p>
Expand Down Expand Up @@ -243,7 +243,7 @@ <h2 id="tests-current-state-summary">Current state of tests</h2>
<span class="na">n/a</span>
</td>
<td>
<span class="ok">7/7</span>
<span class="ok">8/8</span>
</td>
<td>
<span class="na">n/a</span>
Expand All @@ -270,7 +270,7 @@ <h2 id="tests-current-state-summary">Current state of tests</h2>
<span class="na">n/a</span>
</td>
<td>
<span class="error">6/7</span>
<span class="error">6/8</span>
</td>
<td>
<span class="na">n/a</span>
Expand Down Expand Up @@ -1033,7 +1033,7 @@ <h2 id="tests-current-state-summary">Current state of tests</h2>
<td>0/19</td>
<td>24/24</td>
<td>42/49</td>
<td>222/222</td>
<td>223/223</td>
<td>17/19</td>
<td>69/72</td>
<td>22/23</td>
Expand All @@ -1042,7 +1042,7 @@ <h2 id="tests-current-state-summary">Current state of tests</h2>
<td>31/82</td>
<td>16/16</td>
<td>48/55</td>
<td>139/222</td>
<td>139/223</td>
<td>13/15</td>
</tr>
</table>
Expand Down Expand Up @@ -1254,6 +1254,13 @@ <h2 id="conformance-classes-overview">Overview of conformance classes</h2>
<a href="#t-dir4xml">dir4xml</a>
</td>
</tr>
<tr>
<td>HTML Global</td>
<td>1</td>
<td>
<a href="#t-dir2html">dir2html</a>
</td>
</tr>
<tr>
<td>HTML Local</td>
<td>1</td>
Expand Down Expand Up @@ -5271,6 +5278,58 @@ <h3 id="Directionality">Directionality</h3>
<span class="na">N/A</span>
</td>
</tr>
<tr>
<td>
<a target="_blank"
href="inputdata/directionality/html/dir2html.html"
id="t-dir2html">dir2html.html</a>
<br/>Global - Embedded rules<br/>
(assertions: <a target="_blank"
href="http://www.w3.org/International/multilingualweb/lt/drafts/its20/its20.html#dir-global">[1]</a>) <a target="_blank" href="expected/directionality/html/dir2htmloutput.txt">(expected)</a>
</td>
<td>
<span class="na">N/A</span>
</td>
<td>
<span class="na">N/A</span>
</td>
<td>
<span class="na">N/A</span>
</td>
<td>
<span class="ok">OK</span>
</td>
<td>
<span class="na">N/A</span>
</td>
<td>
<span class="na">N/A</span>
</td>
<td>
<span class="na">N/A</span>
</td>
<td>
<span class="na">N/A</span>
</td>
<td>
<span class="na">N/A</span>
</td>
<td>
<span class="na">N/A</span>
</td>
<td>
<span class="na">N/A</span>
</td>
<td>
<span class="na">N/A</span>
</td>
<td>
<span class="fnf" title="file not found">fnf</span>
</td>
<td>
<span class="na">N/A</span>
</td>
</tr>
</table>
<h3 id="Rubynon-normative">Ruby, non-normative</h3>
<p>Detailed overview:</p>
Expand Down
11 changes: 11 additions & 0 deletions its2.0/testSuiteDashboard.xml
Original file line number Diff line number Diff line change
Expand Up @@ -924,6 +924,17 @@ Line 11: Comparison failed.
<error>outputFileNotFound</error>
</outputImplementors>
</inputfile>
<inputfile location="inputdata/directionality/html/dir2html.html"
conformance-class="html-global">
<description assertions="dir-global">Global - Embedded rules</description>
<expectedOutput location="expected/directionality/html/dir2htmloutput.txt"/>
<outputImplementors implementer="enlaso"
location="outputimplementors/enlaso/directionality/html/dir2htmloutput.txt"/>
<outputImplementors implementer="ul"
location="outputimplementors/ul/directionality/html/dir2htmloutput.txt">
<error>outputFileNotFound</error>
</outputImplementors>
</inputfile>
</dataCategory>
<!--Ruby--><dataCategory identifier="ruby" name="Ruby, non-normative">
<inputfile location="inputdata/ruby/xml/ruby1xml.xml"
Expand Down
6 changes: 6 additions & 0 deletions its2.0/testsuiteMaster.xml
Original file line number Diff line number Diff line change
Expand Up @@ -528,6 +528,12 @@ location CDATA #REQUIRED>
<outputImplementors implementer="enlaso" location="outputimplementors/enlaso/directionality/html/dir1htmloutput.txt"/>
<outputImplementors implementer="ul" location="outputimplementors/ul/directionality/html/dir1htmloutput.txt"/>
</inputfile>
<inputfile location="inputdata/directionality/html/dir2html.html" conformance-class="html-global">
<description assertions="dir-global">Global - Embedded rules</description>
<expectedOutput location="expected/directionality/html/dir2htmloutput.txt"/>
<outputImplementors implementer="enlaso" location="outputimplementors/enlaso/directionality/html/dir2htmloutput.txt"/>
<outputImplementors implementer="ul" location="outputimplementors/ul/directionality/html/dir2htmloutput.txt"/>
</inputfile>
</dataCategory>

<!--Ruby-->
Expand Down

0 comments on commit fcbf1da

Please sign in to comment.