[IMP] update QUnit to 1.12.0 (doesn't fix issue, adds features)

bzr revid: xmo@openerp.com-20130801091239-6lz0ya595i226l85
This commit is contained in:
Xavier Morel 2013-08-01 11:12:39 +02:00
parent e57e50fdfa
commit cdee92f984
3 changed files with 546 additions and 254 deletions

View File

@ -1,11 +1,11 @@
/** /**
* QUnit v1.9.0 - A JavaScript Unit Testing Framework * QUnit v1.12.0 - A JavaScript Unit Testing Framework
* *
* http://docs.jquery.com/QUnit * http://qunitjs.com
* *
* Copyright (c) 2012 John Resig, Jörn Zaefferer * Copyright 2012 jQuery Foundation and other contributors
* Dual licensed under the MIT (MIT-LICENSE.txt) * Released under the MIT license.
* or GPL (GPL-LICENSE.txt) licenses. * http://jquery.org/license
*/ */
/** Font Family and Sizes */ /** Font Family and Sizes */
@ -20,7 +20,7 @@
/** Resets */ /** Resets */
#qunit-tests, #qunit-tests ol, #qunit-header, #qunit-banner, #qunit-userAgent, #qunit-testresult { #qunit-tests, #qunit-header, #qunit-banner, #qunit-userAgent, #qunit-testresult, #qunit-modulefilter {
margin: 0; margin: 0;
padding: 0; padding: 0;
} }
@ -67,6 +67,7 @@
padding: 0.5em 0 0.5em 2em; padding: 0.5em 0 0.5em 2em;
color: #5E740B; color: #5E740B;
background-color: #eee; background-color: #eee;
overflow: hidden;
} }
#qunit-userAgent { #qunit-userAgent {
@ -76,6 +77,9 @@
text-shadow: rgba(0, 0, 0, 0.5) 2px 2px 1px; text-shadow: rgba(0, 0, 0, 0.5) 2px 2px 1px;
} }
#qunit-modulefilter-container {
float: right;
}
/** Tests: Pass/Fail */ /** Tests: Pass/Fail */
@ -107,7 +111,12 @@
color: #000; color: #000;
} }
#qunit-tests ol { #qunit-tests li .runtime {
float: right;
font-size: smaller;
}
.qunit-assert-list {
margin-top: 0.5em; margin-top: 0.5em;
padding: 0.5em; padding: 0.5em;
@ -118,6 +127,10 @@
-webkit-border-radius: 5px; -webkit-border-radius: 5px;
} }
.qunit-collapsed {
display: none;
}
#qunit-tests table { #qunit-tests table {
border-collapse: collapse; border-collapse: collapse;
margin-top: .2em; margin-top: .2em;

File diff suppressed because it is too large Load Diff

View File

@ -195,8 +195,7 @@ openerp.testing = {};
0, module_index + 1 || undefined); 0, module_index + 1 || undefined);
// Serialize options for this precise test case // Serialize options for this precise test case
// WARNING: typo is from jquery, do not fix! var env = QUnit.config.currentModuleTestEnvironment;
var env = QUnit.config.currentModuleTestEnviroment;
// section setup // section setup
// case setup // case setup
// test // test