aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/testsuite.js
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2011-01-25 00:05:55 -0500
committerScott González <scott.gonzalez@gmail.com>2011-01-25 00:05:55 -0500
commit088ef05142168de75d2afcbe447a5b44cb2d3673 (patch)
tree25c75a5a1a2dcd70d6c4324c13ae4e49ee4e8c67 /tests/unit/testsuite.js
parent06d61f5f235f4869bc251ebd1e1e768c56297636 (diff)
downloadjquery-ui-088ef05142168de75d2afcbe447a5b44cb2d3673.tar.gz
jquery-ui-088ef05142168de75d2afcbe447a5b44cb2d3673.zip
Accordion: Renamed changestart and change events to beforeActivate and activate, respectively. Fixes #6840 - Accordion: Rename changestart event to beforeActivate. Fixes #6842 - Accordion: Rename change event to activate.
Diffstat (limited to 'tests/unit/testsuite.js')
-rw-r--r--tests/unit/testsuite.js12
1 files changed, 7 insertions, 5 deletions
diff --git a/tests/unit/testsuite.js b/tests/unit/testsuite.js
index 0033182dc..9724a946f 100644
--- a/tests/unit/testsuite.js
+++ b/tests/unit/testsuite.js
@@ -34,12 +34,14 @@ var privateMethods = [
];
function testWidgetOverrides( widget ) {
- test( "$.widget overrides", function() {
- $.each( privateMethods, function( i, method ) {
- strictEqual( $.ui[ widget ].prototype[ method ],
- $.Widget.prototype[ method ], "should not override " + method );
+ if ( $.uiBackCompat === false ) {
+ test( "$.widget overrides", function() {
+ $.each( privateMethods, function( i, method ) {
+ strictEqual( $.ui[ widget ].prototype[ method ],
+ $.Widget.prototype[ method ], "should not override " + method );
+ });
});
- });
+ }
}
function testBasicUsage( widget ) {