unit tests: updating unit test boilerplate for effects

This commit is contained in:
gnarf 2011-03-29 15:57:42 -05:00
parent 0c009730ce
commit d6379d11e3
2 changed files with 37 additions and 32 deletions

View File

@ -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>
<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 type="text/javascript" src="../swarminject.js"></script>
<script src="../swarminject.js"></script>
<style type="text/css">
.zindex {z-index: 100}
.absolute {position: absolute}
<style type="text/css">
/*
Space intentionally left blank - eventually
we will probably define some basic css here to test effects
*/
</style>
</head>
<body>

View File

@ -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);