[ Index ]

PHP Cross Reference of Drupal 6 (gatewave)

title

Body

[close]

/sites/all/modules/jquery_ui/jquery.ui/tests/unit/tabs/ -> tabs_events.js (source)

   1  /*

   2   * tabs_events.js

   3   */
   4  (function($) {
   5  
   6  module("tabs: events");
   7  
   8  test('select', function() {
   9      ok(false, "missing test - untested code is broken code.");
  10  });
  11  
  12  test('load', function() {
  13      ok(false, "missing test - untested code is broken code.");
  14  });
  15  
  16  test('show', function() {
  17      expect(4);
  18  
  19      var uiObj;
  20      el = $('#tabs1').tabs({
  21          show: function(event, ui) {
  22              uiObj = ui;
  23          }
  24      });
  25      ok(uiObj !== undefined, 'should fire show after init');
  26      equals(uiObj.tab, $('#tabs1 a')[0], 'should have tab as DOM anchor element');
  27      equals(uiObj.panel, $('#tabs1 div')[0], 'should have panel as DOM div element');
  28      equals(uiObj.index, 0, 'should have index');
  29      
  30  });
  31  
  32  test('add', function() {
  33      ok(false, "missing test - untested code is broken code.");
  34  });
  35  
  36  test('remove', function() {
  37      ok(false, "missing test - untested code is broken code.");
  38  });
  39  
  40  test('enable', function() {
  41      ok(false, "missing test - untested code is broken code.");
  42  });
  43  
  44  test('disable', function() {
  45      ok(false, "missing test - untested code is broken code.");
  46  });
  47  
  48  })(jQuery);


Generated: Thu Mar 24 11:18:33 2011 Cross-referenced by PHPXref 0.7