Skip to content

Commit

Permalink
Add test reports for generic sensor and its concrete sensors (#154)
Browse files Browse the repository at this point in the history
Test Platforms: Chrome Canary 67 on Android and Windows Desktop
  • Loading branch information
Honry authored Mar 21, 2018
1 parent 3da7bd9 commit d2b1688
Show file tree
Hide file tree
Showing 52 changed files with 13,620 additions and 300 deletions.
739 changes: 739 additions & 0 deletions accelerometer/CA67.json

Large diffs are not rendered by default.

739 changes: 739 additions & 0 deletions accelerometer/CD67.json

Large diffs are not rendered by default.

205 changes: 205 additions & 0 deletions accelerometer/all.html

Large diffs are not rendered by default.

64 changes: 64 additions & 0 deletions accelerometer/analysis.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@

th {
text-align: left;
background: #4a89dc;
color: #fff;
}

td.FAIL {
background: #da4453;
color: #fff;
}

td.PASS {
background: #37bc9b;
color: #fff;
}

td.NOTRUN, td.TIMEOUT, td.undefined {
background: #f6bb42;
color: #fff;
}

table > tbody > tr > td.NOTRUN, table > tbody > tr > td.TIMEOUT {
padding: 8px 2px;
}

td.OK {
color: transparent;
}

td.FAIL, td.PASS, td.NOTRUN, td.TIMEOUT, td.undefined, td.OK {
font-size: 0.7em;
text-align: center;
}

tr.test {
background: #ccd1d9;
}

tr.test > td:first-of-type {
font-weight: bold;
}

tr.test small {
font-weight: normal;
}

tr.subtest > td:first-of-type {
padding-left: 2em;
max-width: 790px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}

.floatingHeader {
position: fixed;
top: 0;
visibility: hidden;
}

dd {
padding-left: 2em;
}
7 changes: 7 additions & 0 deletions accelerometer/bootstrap.min.css

Large diffs are not rendered by default.

51 changes: 51 additions & 0 deletions accelerometer/complete-fails.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
<!DOCTYPE html>
<html lang='en'>
<head>
<meta charset='utf-8'>
<title>Accelerometer: Complete Failures</title>
<link rel='stylesheet' href='bootstrap.min.css'>
<link rel='stylesheet' href='analysis.css'>
</head>
<body>
<div class='container'>
<header>
<h1>Accelerometer: Complete Failures</h1>
</header>
<p><strong>Completely failed files</strong>: 3; <strong>Completely failed subtests</strong>: 22; <strong>Failure level</strong>: 22/133 (16.54%)</p>
<h3>Test Files</h3>
<ol class='toc'><li><a href='#test-file-0'>/accelerometer/Accelerometer.https.html</a> <small>(3/16, 18.75%, 2.26% of total)</small></li>
<li><a href='#test-file-1'>/accelerometer/idlharness.https.html</a> <small>(19/86, 22.09%, 14.29% of total)</small></li>
</ol>
<table class='table persist-area'>
<thead><tr class='persist-header'><th>Test</th><th>CA67</th><th>CD67</th></tr></thead>
<tr class='test' id='test-file-0'><td><a href='http://www.w3c-test.org/accelerometer/Accelerometer.https.html' target='_blank'>/accelerometer/Accelerometer.https.html</a> <small>(3/16, 18.75%, 2.26% of total)</small></td><td class='OK'>OK</td><td class='OK'>OK</td></tr>
<tr class='subtest'><td>Accelerometer: throw 'NotSupportedError' for an unsupported sensor option</td><td class='FAIL'>FAIL</td><td class='FAIL'>FAIL</td></tr>
<tr class='subtest'><td>Accelerometer: throw 'TypeError' if frequency is invalid</td><td class='FAIL'>FAIL</td><td class='FAIL'>FAIL</td></tr>
<tr class='subtest'><td>Accelerometer: throw 'TypeError' if referenceFrame is not one of enumeration values</td><td class='FAIL'>FAIL</td><td class='FAIL'>FAIL</td></tr>
<tr class='test' id='test-file-1'><td><a href='http://www.w3c-test.org/accelerometer/idlharness.https.html' target='_blank'>/accelerometer/idlharness.https.html</a> <small>(19/86, 22.09%, 14.29% of total)</small></td><td class='OK'>OK</td><td class='OK'>OK</td></tr>
<tr class='subtest'><td>GravitySensor interface: existence and properties of interface object</td><td class='FAIL'>FAIL</td><td class='FAIL'>FAIL</td></tr>
<tr class='subtest'><td>GravitySensor interface object length</td><td class='FAIL'>FAIL</td><td class='FAIL'>FAIL</td></tr>
<tr class='subtest'><td>GravitySensor interface object name</td><td class='FAIL'>FAIL</td><td class='FAIL'>FAIL</td></tr>
<tr class='subtest'><td>GravitySensor interface: existence and properties of interface prototype object</td><td class='FAIL'>FAIL</td><td class='FAIL'>FAIL</td></tr>
<tr class='subtest'><td>GravitySensor interface: existence and properties of interface prototype object's "constructor" property</td><td class='FAIL'>FAIL</td><td class='FAIL'>FAIL</td></tr>
<tr class='subtest'><td>GravitySensor interface: existence and properties of interface prototype object's @@unscopables property</td><td class='FAIL'>FAIL</td><td class='FAIL'>FAIL</td></tr>
<tr class='subtest'><td>GravitySensor must be primary interface of new GravitySensor();</td><td class='FAIL'>FAIL</td><td class='FAIL'>FAIL</td></tr>
<tr class='subtest'><td>Stringification of new GravitySensor();</td><td class='FAIL'>FAIL</td><td class='FAIL'>FAIL</td></tr>
<tr class='subtest'><td>Accelerometer interface: new GravitySensor(); must inherit property "x" with the proper type</td><td class='FAIL'>FAIL</td><td class='FAIL'>FAIL</td></tr>
<tr class='subtest'><td>Accelerometer interface: new GravitySensor(); must inherit property "y" with the proper type</td><td class='FAIL'>FAIL</td><td class='FAIL'>FAIL</td></tr>
<tr class='subtest'><td>Accelerometer interface: new GravitySensor(); must inherit property "z" with the proper type</td><td class='FAIL'>FAIL</td><td class='FAIL'>FAIL</td></tr>
<tr class='subtest'><td>Sensor interface: new GravitySensor(); must inherit property "activated" with the proper type</td><td class='FAIL'>FAIL</td><td class='FAIL'>FAIL</td></tr>
<tr class='subtest'><td>Sensor interface: new GravitySensor(); must inherit property "hasReading" with the proper type</td><td class='FAIL'>FAIL</td><td class='FAIL'>FAIL</td></tr>
<tr class='subtest'><td>Sensor interface: new GravitySensor(); must inherit property "timestamp" with the proper type</td><td class='FAIL'>FAIL</td><td class='FAIL'>FAIL</td></tr>
<tr class='subtest'><td>Sensor interface: new GravitySensor(); must inherit property "start()" with the proper type</td><td class='FAIL'>FAIL</td><td class='FAIL'>FAIL</td></tr>
<tr class='subtest'><td>Sensor interface: new GravitySensor(); must inherit property "stop()" with the proper type</td><td class='FAIL'>FAIL</td><td class='FAIL'>FAIL</td></tr>
<tr class='subtest'><td>Sensor interface: new GravitySensor(); must inherit property "onreading" with the proper type</td><td class='FAIL'>FAIL</td><td class='FAIL'>FAIL</td></tr>
<tr class='subtest'><td>Sensor interface: new GravitySensor(); must inherit property "onactivate" with the proper type</td><td class='FAIL'>FAIL</td><td class='FAIL'>FAIL</td></tr>
<tr class='subtest'><td>Sensor interface: new GravitySensor(); must inherit property "onerror" with the proper type</td><td class='FAIL'>FAIL</td><td class='FAIL'>FAIL</td></tr>

</table>
</div>
<script src='jquery.min.js'></script>
<script src='sticky-headers.js'></script>
</body>
</html>
Loading

0 comments on commit d2b1688

Please sign in to comment.