Skip to content

Commit 6748ba3

Browse files
committed
Tests: Update QUnit
1 parent 2c1b556 commit 6748ba3

File tree

3 files changed

+1770
-1212
lines changed

3 files changed

+1770
-1212
lines changed

external/qunit/qunit.css

+34-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
/*!
2-
* QUnit 1.14.0
2+
* QUnit 1.16.0
33
* http://qunitjs.com/
44
*
5-
* Copyright 2013 jQuery Foundation and other contributors
5+
* Copyright 2006, 2014 jQuery Foundation and other contributors
66
* Released under the MIT license
77
* http://jquery.org/license
88
*
9-
* Date: 2014-01-31T16:40Z
9+
* Date: 2014-12-03T16:32Z
1010
*/
1111

1212
/** Font Family and Sizes */
@@ -62,14 +62,14 @@
6262
}
6363

6464
#qunit-testrunner-toolbar {
65-
padding: 0.5em 0 0.5em 2em;
65+
padding: 0.5em 1em 0.5em 1em;
6666
color: #5E740B;
6767
background-color: #EEE;
6868
overflow: hidden;
6969
}
7070

7171
#qunit-userAgent {
72-
padding: 0.5em 0 0.5em 2.5em;
72+
padding: 0.5em 1em 0.5em 1em;
7373
background-color: #2B81AF;
7474
color: #FFF;
7575
text-shadow: rgba(0, 0, 0, 0.5) 2px 2px 1px;
@@ -86,11 +86,19 @@
8686
}
8787

8888
#qunit-tests li {
89-
padding: 0.4em 0.5em 0.4em 2.5em;
89+
padding: 0.4em 1em 0.4em 1em;
9090
border-bottom: 1px solid #FFF;
9191
list-style-position: inside;
9292
}
9393

94+
#qunit-tests > li {
95+
display: none;
96+
}
97+
98+
#qunit-tests li.pass, #qunit-tests li.running, #qunit-tests li.fail {
99+
display: list-item;
100+
}
101+
94102
#qunit-tests.hidepass li.pass, #qunit-tests.hidepass li.running {
95103
display: none;
96104
}
@@ -99,6 +107,10 @@
99107
cursor: pointer;
100108
}
101109

110+
#qunit-tests li.skipped strong {
111+
cursor: default;
112+
}
113+
102114
#qunit-tests li a {
103115
padding: 0.5em;
104116
color: #C2CCD1;
@@ -211,11 +223,26 @@
211223

212224
#qunit-banner.qunit-fail { background-color: #EE5757; }
213225

226+
/*** Skipped tests */
227+
228+
#qunit-tests .skipped {
229+
background-color: #EBECE9;
230+
}
231+
232+
#qunit-tests .qunit-skipped-label {
233+
background-color: #F4FF77;
234+
display: inline-block;
235+
font-style: normal;
236+
color: #366097;
237+
line-height: 1.8em;
238+
padding: 0 0.5em;
239+
margin: -0.4em 0.4em -0.4em 0;
240+
}
214241

215242
/** Result */
216243

217244
#qunit-testresult {
218-
padding: 0.5em 0.5em 0.5em 2.5em;
245+
padding: 0.5em 1em 0.5em 1em;
219246

220247
color: #2B81AF;
221248
background-color: #D2E0E6;

0 commit comments

Comments
 (0)