Skip to content
Permalink
Browse files

unit tests: updating unit test boilerplate for effects

  • Loading branch information
gnarf committed Mar 29, 2011
1 parent 0c00973 commit d6379d11e3c336354b880603b2bfce81ef0b127d
Showing with 37 additions and 32 deletions.
  1. +33 −28 tests/unit/effects/effects.html
  2. +4 −4 tests/unit/effects/effects_core.js
@@ -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>
@@ -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);

0 comments on commit d6379d1

Please sign in to comment.
You can’t perform that action at this time.