Commit b6e31a88 authored by Richard Gibson's avatar Richard Gibson

Tests: Update QUnit

(cherry picked from commit 6748ba349650353c7bed6eec201a3192f6b2cae1)
parent 2138f158
/*! /*!
* QUnit 1.14.0 * QUnit 1.16.0
* http://qunitjs.com/ * http://qunitjs.com/
* *
* Copyright 2013 jQuery Foundation and other contributors * Copyright 2006, 2014 jQuery Foundation and other contributors
* Released under the MIT license * Released under the MIT license
* http://jquery.org/license * http://jquery.org/license
* *
* Date: 2014-01-31T16:40Z * Date: 2014-12-03T16:32Z
*/ */
/** Font Family and Sizes */ /** Font Family and Sizes */
...@@ -62,14 +62,14 @@ ...@@ -62,14 +62,14 @@
} }
#qunit-testrunner-toolbar { #qunit-testrunner-toolbar {
padding: 0.5em 0 0.5em 2em; padding: 0.5em 1em 0.5em 1em;
color: #5E740B; color: #5E740B;
background-color: #EEE; background-color: #EEE;
overflow: hidden; overflow: hidden;
} }
#qunit-userAgent { #qunit-userAgent {
padding: 0.5em 0 0.5em 2.5em; padding: 0.5em 1em 0.5em 1em;
background-color: #2B81AF; background-color: #2B81AF;
color: #FFF; color: #FFF;
text-shadow: rgba(0, 0, 0, 0.5) 2px 2px 1px; text-shadow: rgba(0, 0, 0, 0.5) 2px 2px 1px;
...@@ -86,11 +86,19 @@ ...@@ -86,11 +86,19 @@
} }
#qunit-tests li { #qunit-tests li {
padding: 0.4em 0.5em 0.4em 2.5em; padding: 0.4em 1em 0.4em 1em;
border-bottom: 1px solid #FFF; border-bottom: 1px solid #FFF;
list-style-position: inside; list-style-position: inside;
} }
#qunit-tests > li {
display: none;
}
#qunit-tests li.pass, #qunit-tests li.running, #qunit-tests li.fail {
display: list-item;
}
#qunit-tests.hidepass li.pass, #qunit-tests.hidepass li.running { #qunit-tests.hidepass li.pass, #qunit-tests.hidepass li.running {
display: none; display: none;
} }
...@@ -99,6 +107,10 @@ ...@@ -99,6 +107,10 @@
cursor: pointer; cursor: pointer;
} }
#qunit-tests li.skipped strong {
cursor: default;
}
#qunit-tests li a { #qunit-tests li a {
padding: 0.5em; padding: 0.5em;
color: #C2CCD1; color: #C2CCD1;
...@@ -211,11 +223,26 @@ ...@@ -211,11 +223,26 @@
#qunit-banner.qunit-fail { background-color: #EE5757; } #qunit-banner.qunit-fail { background-color: #EE5757; }
/*** Skipped tests */
#qunit-tests .skipped {
background-color: #EBECE9;
}
#qunit-tests .qunit-skipped-label {
background-color: #F4FF77;
display: inline-block;
font-style: normal;
color: #366097;
line-height: 1.8em;
padding: 0 0.5em;
margin: -0.4em 0.4em -0.4em 0;
}
/** Result */ /** Result */
#qunit-testresult { #qunit-testresult {
padding: 0.5em 0.5em 0.5em 2.5em; padding: 0.5em 1em 0.5em 1em;
color: #2B81AF; color: #2B81AF;
background-color: #D2E0E6; background-color: #D2E0E6;
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
"gzip-js": "0.3.2", "gzip-js": "0.3.2",
"load-grunt-tasks": "0.6.0", "load-grunt-tasks": "0.6.0",
"npm": "1.4.21", "npm": "1.4.21",
"qunitjs": "1.14.0", "qunitjs": "1.16.0",
"requirejs": "2.1.14", "requirejs": "2.1.14",
"sinon": "1.10.3", "sinon": "1.10.3",
"sizzle": "2.0.0", "sizzle": "2.0.0",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment