diff options
author | Scott González <scott.gonzalez@gmail.com> | 2012-10-25 05:41:14 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2012-10-25 05:41:14 -0400 |
commit | 7cf2719d0c406c7ff17c7e784c0e1e6eb23b562a (patch) | |
tree | 1bbf4228f1c19dd0d842a982640fc78b2f92412f /tests/unit | |
parent | 0fc682a8dadc894caefe27c5a0fccf1eca30780d (diff) | |
download | jquery-ui-7cf2719d0c406c7ff17c7e784c0e1e6eb23b562a.tar.gz jquery-ui-7cf2719d0c406c7ff17c7e784c0e1e6eb23b562a.zip |
Tabs: Removed select method. Fixes #7156 - Tabs: Remove select method.
Diffstat (limited to 'tests/unit')
-rw-r--r-- | tests/unit/tabs/tabs_deprecated.js | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/tests/unit/tabs/tabs_deprecated.js b/tests/unit/tabs/tabs_deprecated.js index 6e84accdf..b551b3279 100644 --- a/tests/unit/tabs/tabs_deprecated.js +++ b/tests/unit/tabs/tabs_deprecated.js @@ -391,51 +391,6 @@ test( "remove", function() { equal( element.tabs( "option", "active" ), false ); }); -test( "select", function() { - expect( 23 ); - - var element = $( "#tabs1" ).tabs(); - state( element, 1, 0, 0 ); - element.tabs( "select", 1 ); - state( element, 0, 1, 0 ); - equal( element.tabs( "option", "active" ), 1, "active" ); - equal( element.tabs( "option", "selected" ), 1, "selected" ); - element.tabs( "destroy" ); - - element.tabs({ collapsible: true }); - state( element, 1, 0, 0 ); - element.tabs( "select", 0 ); - state( element, 0, 0, 0 ); - equal( element.tabs( "option", "active" ), false, "active" ); - equal( element.tabs( "option", "selected" ), -1, "selected" ); - element.tabs( "destroy" ); - - element.tabs({ collapsible: true }); - element.tabs( "select", -1 ); - state( element, 0, 0, 0 ); - equal( element.tabs( "option", "active" ), false, "active" ); - equal( element.tabs( "option", "selected" ), -1, "selected" ); - element.tabs( "destroy" ); - - element.tabs(); - state( element, 1, 0, 0 ); - equal( element.tabs( "option", "active" ), 0, "active" ); - equal( element.tabs( "option", "selected" ), 0, "selected" ); - element.tabs( "select", 0 ); - state( element, 1, 0, 0 ); - equal( element.tabs( "option", "active" ), 0, "active" ); - equal( element.tabs( "option", "selected" ), 0, "selected" ); - element.tabs( "select", -1 ); - state( element, 1, 0, 0 ); - equal( element.tabs( "option", "active" ), 0, "active" ); - equal( element.tabs( "option", "selected" ), 0, "selected" ); - - element.tabs( "select", "#fragment-2" ); - state( element, 0, 1, 0 ); - equal( element.tabs( "option", "active" ), 1, "active" ); - equal( element.tabs( "option", "selected" ), 1, "selected" ); -}); - asyncTest( "abort", function() { expect( 1 ); |