Reinstating sequence control tests

This commit is contained in:
Ian Gilman 2014-11-17 14:06:10 -08:00
parent 0e31b67ca5
commit b149b39b06

10
test/controls.js vendored
View File

@ -278,10 +278,6 @@
asyncTest('SequenceControlOnPrevNextWrapOff', function () { asyncTest('SequenceControlOnPrevNextWrapOff', function () {
expect(0);
start();
return; // Temporarily disabling
var openHandler = function () { var openHandler = function () {
viewer.removeHandler('open', openHandler); viewer.removeHandler('open', openHandler);
ok(viewer.showSequenceControl, 'showSequenceControl should be on'); ok(viewer.showSequenceControl, 'showSequenceControl should be on');
@ -333,6 +329,7 @@
], ],
springStiffness: 100, // Faster animation = faster tests springStiffness: 100, // Faster animation = faster tests
showSequenceControl: true, showSequenceControl: true,
sequenceMode: true,
navPrevNextWrap: false navPrevNextWrap: false
}); });
viewer.addHandler('open', openHandler); viewer.addHandler('open', openHandler);
@ -340,10 +337,6 @@
asyncTest('SequenceControlOnPrevNextWrapOn', function () { asyncTest('SequenceControlOnPrevNextWrapOn', function () {
expect(0);
start();
return; // Temporarily disabling
var openHandler = function () { var openHandler = function () {
viewer.removeHandler('open', openHandler); viewer.removeHandler('open', openHandler);
ok(viewer.showSequenceControl, 'showSequenceControl should be on'); ok(viewer.showSequenceControl, 'showSequenceControl should be on');
@ -388,6 +381,7 @@
], ],
springStiffness: 100, // Faster animation = faster tests springStiffness: 100, // Faster animation = faster tests
showSequenceControl: true, showSequenceControl: true,
sequenceMode: true,
navPrevNextWrap: true navPrevNextWrap: true
}); });
viewer.addHandler('open', openHandler); viewer.addHandler('open', openHandler);