unit tests: adding an empty effects unit test page

This commit is contained in:
gnarf 2011-03-29 15:32:48 -05:00
parent 6fc98deef0
commit 0c009730ce
3 changed files with 65 additions and 0 deletions

View File

@ -0,0 +1,50 @@
<!DOCTYPE html>
<html lang="en">
<head>
<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>
<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}
</style>
</head>
<body>
<h1 id="qunit-header">jQuery UI Effects Test Suite</h1>
<h2 id="qunit-banner"></h2>
<div id="qunit-testrunner-toolbar"></div>
<h2 id="qunit-userAgent"></h2>
<ol id="qunit-tests">
</ol>
<div id="qunit-fixture">
</div>
</body>
</html>

View File

@ -0,0 +1,10 @@
(function($) {
module('effects - Core Effects');
test("Empty Unit", function() {
expect(1);
equals(0,0, "Unit Tests work");
});
})(jQuery);

View File

@ -59,6 +59,11 @@
<li><a href="position/position.html">Position</a></li>
</ul>
<h2>Effects</h2>
<ul>
<li><a href="effects/effects.html">Effects</a></li>
</ul>
</body>
</html>