Skip to content
Permalink
Browse files

Added tests for datepicker structure and callbacks

Enhanced tests for destroy, enable/disable, ranges, and status
Added tests for gotoCurrent, highlihgtWeek, yearRange, navigationAsDateFormat, rangeSeparator settings
Added tests for day-of-year in format and parse
  • Loading branch information
Keith Wood
Keith Wood committed Jul 11, 2008
1 parent abf37bd commit 3bc322fd375e5f26c39d9620a64e0788f18acef5
Showing with 654 additions and 160 deletions.
  1. +2 −1 tests/datepicker.html
  2. +652 −159 tests/datepicker.js
@@ -9,6 +9,7 @@
<script type="text/javascript" src="../ui/ui.core.js"></script>
<script type="text/javascript" src="../ui/ui.datepicker.js"></script>
<script type="text/javascript" src="../ui/i18n/ui.datepicker-fr.js"></script>
<script type="text/javascript" src="../ui/i18n/ui.datepicker-he.js"></script>

<script type="text/javascript" src="qunit/testrunner.js"></script>
<script type="text/javascript" src="simulate/jquery.simulate.js"></script>
@@ -28,7 +29,7 @@ <h2 id="userAgent"></h2>
<ol id="tests"></ol>

<div id="main" style="position:absolute;top:-2000000px;">
<p><input type="text" id="inp"/><input type="text" id="alt"/><input type="text" id="rem"/></p>
<p><input type="text" id="inp"/><input type="text" id="alt"/></p>
</div>

</body>

0 comments on commit 3bc322f

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