http://trac.tiddlywiki.org/changeset/10069
MartinBudden
2009-07-22 14:15:57 +0000 (Wed, 22 Jul 2009)
37
TiddlyWiki tests - added wizard tests
---------------
A Trunk/core/test/js/Wizard.js
U Trunk/core/test/js/split.recipe
---------------
Added: Trunk/core/test/js/Wizard.js
===================================================================
--- Trunk/core/test/js/Wizard.js (rev 0)
+++ Trunk/core/test/js/Wizard.js 2009-07-22 14:15:57 UTC (rev 10069)
@@ -0,0 +1,15 @@
+jQuery(document).ready(function(){
+
+ module("Wizard.js");
+
+ test("Wizard: construction", function() {
+ expect(1);
+
+ var w = new Wizard();
+ var actual = w.formElem===null && w.bodyElem===null &&
w.footElem===null;
+ ok(actual==true,'properties should be null when constructed
with no parameters');
+
+ });
+
+
+});
Modified: Trunk/core/test/js/split.recipe
===================================================================
--- Trunk/core/test/js/split.recipe 2009-07-22 13:35:52 UTC (rev 10068)
+++ Trunk/core/test/js/split.recipe 2009-07-22 14:15:57 UTC (rev 10069)
@@ -11,5 +11,6 @@
jquery: Strings.js
jquery: Tiddler.js
jquery: Utilities.js
+jquery: Version.js
jquery: Wikifier.js
-jquery: Version.js
\ No newline at end of file
+jquery: Wizard.js
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TiddlyWikiDev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/TiddlyWikiDev?hl=en
-~----------~----~----~----~------~----~------~--~---