diff options
author | gnarf <gnarf@gnarf.net> | 2011-03-29 15:57:42 -0500 |
---|---|---|
committer | gnarf <gnarf@gnarf.net> | 2011-03-29 15:57:42 -0500 |
commit | d6379d11e3c336354b880603b2bfce81ef0b127d (patch) | |
tree | c4d8e245350460e685499372a2c8d6595a57b97b /tests/unit/effects | |
parent | 0c009730cef8a475c6d72a5b2b6d374971bfc7b5 (diff) | |
download | jquery-ui-d6379d11e3c336354b880603b2bfce81ef0b127d.tar.gz jquery-ui-d6379d11e3c336354b880603b2bfce81ef0b127d.zip |
unit tests: updating unit test boilerplate for effects
Diffstat (limited to 'tests/unit/effects')
-rw-r--r-- | tests/unit/effects/effects.html | 61 | ||||
-rw-r--r-- | tests/unit/effects/effects_core.js | 8 |
2 files changed, 37 insertions, 32 deletions
diff --git a/tests/unit/effects/effects.html b/tests/unit/effects/effects.html index 6afd5c16a..479fc3889 100644 --- a/tests/unit/effects/effects.html +++ b/tests/unit/effects/effects.html @@ -1,36 +1,41 @@ -<!DOCTYPE html> +<!doctype html> <html lang="en"> <head> - <meta charset="UTF-8" /> + <meta charset="utf-8"> <title>jQuery UI Core Test Suite</title> - <script type="text/javascript" src="../../../jquery-1.5.1.js"></script> - <script type="text/javascript" src="../../../ui/jquery.effects.core.js"></script> - <script type="text/javascript" src="../../../ui/jquery.effects.blind.js"></script> - <script type="text/javascript" src="../../../ui/jquery.effects.bounce.js"></script> - <script type="text/javascript" src="../../../ui/jquery.effects.clip.js"></script> - <script type="text/javascript" src="../../../ui/jquery.effects.drop.js"></script> - <script type="text/javascript" src="../../../ui/jquery.effects.explode.js"></script> - <script type="text/javascript" src="../../../ui/jquery.effects.fade.js"></script> - <script type="text/javascript" src="../../../ui/jquery.effects.fold.js"></script> - <script type="text/javascript" src="../../../ui/jquery.effects.highlight.js"></script> - <script type="text/javascript" src="../../../ui/jquery.effects.pulsate.js"></script> - <script type="text/javascript" src="../../../ui/jquery.effects.scale.js"></script> - <script type="text/javascript" src="../../../ui/jquery.effects.shake.js"></script> - <script type="text/javascript" src="../../../ui/jquery.effects.slide.js"></script> - <script type="text/javascript" src="../../../ui/jquery.effects.transfer.js"></script> + <script src="../../../jquery-1.5.1.js"></script> + <script> + $.uiBackCompat = false; + </script> + <script src="../../../ui/jquery.effects.core.js"></script> + <script src="../../../ui/jquery.effects.blind.js"></script> + <script src="../../../ui/jquery.effects.bounce.js"></script> + <script src="../../../ui/jquery.effects.clip.js"></script> + <script src="../../../ui/jquery.effects.drop.js"></script> + <script src="../../../ui/jquery.effects.explode.js"></script> + <script src="../../../ui/jquery.effects.fade.js"></script> + <script src="../../../ui/jquery.effects.fold.js"></script> + <script src="../../../ui/jquery.effects.highlight.js"></script> + <script src="../../../ui/jquery.effects.pulsate.js"></script> + <script src="../../../ui/jquery.effects.scale.js"></script> + <script src="../../../ui/jquery.effects.shake.js"></script> + <script src="../../../ui/jquery.effects.slide.js"></script> + <script src="../../../ui/jquery.effects.transfer.js"></script> - <link rel="stylesheet" href="../../../external/qunit.css" type="text/css"/> - <script type="text/javascript" src="../../../external/qunit.js"></script> - <script type="text/javascript" src="../../jquery.simulate.js"></script> - <script type="text/javascript" src="../testsuite.js"></script> - <script type="text/javascript" src="effects_core.js"></script> - - <script type="text/javascript" src="../swarminject.js"></script> - - <style type="text/css"> - .zindex {z-index: 100} - .absolute {position: absolute} + <link rel="stylesheet" href="../../../external/qunit.css"> + <script src="../../../external/qunit.js"></script> + <script src="../../jquery.simulate.js"></script> + <script src="../testsuite.js"></script> + <script src="effects_core.js"></script> + + <script src="../swarminject.js"></script> + + <style type="text/css"> + /* + Space intentionally left blank - eventually + we will probably define some basic css here to test effects + */ </style> </head> <body> diff --git a/tests/unit/effects/effects_core.js b/tests/unit/effects/effects_core.js index 74582947f..bbd5e32a0 100644 --- a/tests/unit/effects/effects_core.js +++ b/tests/unit/effects/effects_core.js @@ -1,10 +1,10 @@ (function($) { -module('effects - Core Effects'); +module( "effects - Core Effects" ); -test("Empty Unit", function() { - expect(1); - equals(0,0, "Unit Tests work"); +test( "Empty Unit", function() { + expect( 1 ); + equals( 0, 0, "Unit Tests work" ); }); })(jQuery); |