Skip to content
Permalink
Browse files

datepicker: renabling tests, with timeouts inbetween each test, hopef…

…ully avoids to kill testswarm clients with slow-script warnings
  • Loading branch information
jzaefferer committed Sep 19, 2009
1 parent 5c87e2e commit b19f2fe478e7dfcd4f0cc482d48de45e7405ac77
@@ -16,19 +16,12 @@
<script type="text/javascript" src="../../jquery.simulate.js"></script>
<script type="text/javascript" src="../testsuite.js"></script>

<script>
test("datepicker", function() {
ok(false, "disabled for now to avoid crashing testswarm clients; enable for local testing only until performance issues are solved");
});
</script>
<!--
<script type="text/javascript" src="datepicker_core.js"></script>
<script type="text/javascript" src="datepicker_defaults.js"></script>
<script type="text/javascript" src="datepicker_events.js"></script>
<script type="text/javascript" src="datepicker_methods.js"></script>
<script type="text/javascript" src="datepicker_options.js"></script>
<script type="text/javascript" src="datepicker_tickets.js"></script>
-->
</head>
<body>

@@ -40,7 +40,12 @@ var PROP_NAME = 'datepicker';

(function($) {

module("datepicker: core");
module("datepicker: core", {
teardown: function() {
stop();
setTimeout(start, 13);
}
});

test('baseStructure', function() {
var inp = init('#inp');
@@ -3,7 +3,12 @@
*/
(function($) {

module("datepicker: events");
module("datepicker: events", {
teardown: function() {
stop();
setTimeout(start, 13);
}
});

var selectedThis = null;
var selectedDate = null;
@@ -3,7 +3,12 @@
*/
(function($) {

module("datepicker: methods");
module("datepicker: methods", {
teardown: function() {
stop();
setTimeout(start, 13);
}
});

test('destroy', function() {
var inp = init('#inp');
@@ -4,7 +4,12 @@

(function($) {

module("datepicker: options");
module("datepicker: options", {
teardown: function() {
stop();
setTimeout(start, 13);
}
});

test('setDefaults', function() {
var inp = init('#inp');

0 comments on commit b19f2fe

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