Skip to content

Commit 23a24f6

Browse files
committed
Update to latest QUnit. Fix event tests that were calling both asyncTest
1 parent a783c74 commit 23a24f6

File tree

3 files changed

+634
-396
lines changed

3 files changed

+634
-396
lines changed

external/qunit.css

Lines changed: 41 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,17 @@
1+
/**
2+
* QUnit - A JavaScript Unit Testing Framework
3+
*
4+
* http://docs.jquery.com/QUnit
5+
*
6+
* Copyright (c) 2011 John Resig, Jörn Zaefferer
7+
* Dual licensed under the MIT (MIT-LICENSE.txt)
8+
* or GPL (GPL-LICENSE.txt) licenses.
9+
*/
10+
111
/** Font Family and Sizes */
212

313
#qunit-tests, #qunit-header, #qunit-banner, #qunit-testrunner-toolbar, #qunit-userAgent, #qunit-testresult {
4-
font-family: "Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Calibri, Helvetica, Arial;
14+
font-family: "Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Calibri, Helvetica, Arial, sans-serif;
515
}
616

717
#qunit-testrunner-toolbar, #qunit-userAgent, #qunit-testresult, #qunit-tests li { font-size: small; }
@@ -11,10 +21,11 @@
1121
/** Resets */
1222

1323
#qunit-tests, #qunit-tests ol, #qunit-header, #qunit-banner, #qunit-userAgent, #qunit-testresult {
14-
margin: 0 8px;
24+
margin: 0;
1525
padding: 0;
1626
}
1727

28+
1829
/** Header */
1930

2031
#qunit-header {
@@ -31,8 +42,6 @@
3142
-moz-border-radius: 15px 15px 0 0;
3243
-webkit-border-top-right-radius: 15px;
3344
-webkit-border-top-left-radius: 15px;
34-
35-
margin-top: 8px;
3645
}
3746

3847
#qunit-header a {
@@ -50,7 +59,9 @@
5059
}
5160

5261
#qunit-testrunner-toolbar {
53-
padding: 0em 0 0.5em 2em;
62+
padding: 0.5em 0 0.5em 2em;
63+
color: #5E740B;
64+
background-color: #eee;
5465
}
5566

5667
#qunit-userAgent {
@@ -73,10 +84,24 @@
7384
list-style-position: inside;
7485
}
7586

87+
#qunit-tests.hidepass li.pass, #qunit-tests.hidepass li.running {
88+
display: none;
89+
}
90+
7691
#qunit-tests li strong {
7792
cursor: pointer;
7893
}
7994

95+
#qunit-tests li a {
96+
padding: 0.5em;
97+
color: #c2ccd1;
98+
text-decoration: none;
99+
}
100+
#qunit-tests li a:hover,
101+
#qunit-tests li a:focus {
102+
color: #000;
103+
}
104+
80105
#qunit-tests ol {
81106
margin-top: 0.5em;
82107
padding: 0.5em;
@@ -161,6 +186,14 @@
161186
color: #710909;
162187
background-color: #fff;
163188
border-left: 26px solid #EE5757;
189+
white-space: pre;
190+
}
191+
192+
#qunit-tests > li:last-child {
193+
border-radius: 0 0 15px 15px;
194+
-moz-border-radius: 0 0 15px 15px;
195+
-webkit-border-bottom-right-radius: 15px;
196+
-webkit-border-bottom-left-radius: 15px;
164197
}
165198

166199
#qunit-tests .fail { color: #000000; background-color: #EE5757; }
@@ -170,22 +203,18 @@
170203
#qunit-tests .fail .test-actual { color: #EE5757; }
171204
#qunit-tests .fail .test-expected { color: green; }
172205

173-
#qunit-banner.qunit-fail,
174-
#qunit-testrunner-toolbar { background-color: #EE5757; }
206+
#qunit-banner.qunit-fail { background-color: #EE5757; }
175207

176208

177-
/** Footer */
209+
/** Result */
178210

179211
#qunit-testresult {
180212
padding: 0.5em 0.5em 0.5em 2.5em;
181213

182214
color: #2b81af;
183215
background-color: #D2E0E6;
184216

185-
border-radius: 0 0 15px 15px;
186-
-moz-border-radius: 0 0 15px 15px;
187-
-webkit-border-bottom-right-radius: 15px;
188-
-webkit-border-bottom-left-radius: 15px;
217+
border-bottom: 1px solid white;
189218
}
190219

191220
/** Fixture */

0 commit comments

Comments
 (0)