Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Commit

Permalink
Merge pull request #4995 from appendto/collapsible-unit-tests-fail
Browse files Browse the repository at this point in the history
Collapsible: Changed $.testHelper.openPage to $.mobile.changepage. Fixed #4993 - Collapsible: Unit Tests failing on Windows Phone 7
  • Loading branch information
gseguin committed Nov 15, 2012
2 parents 336db34 + 2c9f39d commit 0843c54
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions tests/unit/collapsible/collapsible_core.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
expect( 5 );
$.testHelper.pageSequence([
function(){
$.testHelper.openPage( "#basic-collapsible-test" );
$.mobile.changePage( $( "#basic-collapsible-test" ) );
},

function() {
Expand All @@ -29,7 +29,7 @@
expect( 3 );
$.testHelper.pageSequence([
function(){
$.testHelper.openPage( "#basic-collapsible-test" );
$.mobile.changePage( $( "#basic-collapsible-test" ) );
},

function() {
Expand All @@ -49,7 +49,7 @@
var nTests = 2;
$.testHelper.pageSequence([
function(){
$.testHelper.openPage( "#basic-collapsible-set-test" );
$.mobile.changePage( $( "#basic-collapsible-set-test" ) );
},

function() {
Expand All @@ -74,7 +74,7 @@
var nTests = 0;
$.testHelper.pageSequence([
function(){
$.testHelper.openPage( "#collapsible-set-with-lonely-collapsible-test" );
$.mobile.changePage( $( "#collapsible-set-with-lonely-collapsible-test" ) );
},

function() {
Expand All @@ -96,7 +96,7 @@
expect( 2 );
$.testHelper.pageSequence([
function(){
$.testHelper.openPage( "#basic-collapsible-set-test" );
$.mobile.changePage( $( "#basic-collapsible-set-test" ) );
},

function() {
Expand All @@ -111,7 +111,7 @@
expect( 3 );
$.testHelper.pageSequence([
function(){
$.testHelper.openPage( "#basic-collapsible-set-test" );
$.mobile.changePage( $( "#basic-collapsible-set-test" ) );
},

function() {
Expand All @@ -129,7 +129,7 @@
expect( 7 );
$.testHelper.pageSequence([
function(){
$.testHelper.openPage( "#collapsible-set-with-dynamic-content" );
$.mobile.changePage( $( "#collapsible-set-with-dynamic-content" ) );
},

function() {
Expand All @@ -154,7 +154,7 @@
expect( 7 );
$.testHelper.pageSequence([
function(){
$.testHelper.openPage( "#collapsible-set-with-static-and-dynamic-content" );
$.mobile.changePage( $( "#collapsible-set-with-static-and-dynamic-content" ) );
},

function() {
Expand All @@ -179,7 +179,7 @@
expect( 1 );
$.testHelper.pageSequence([
function(){
$.testHelper.openPage( "#collapsible-set-with-last-collapsible-expanded" );
$.mobile.changePage( $( "#collapsible-set-with-last-collapsible-expanded" ) );
},

function() {
Expand All @@ -194,7 +194,7 @@
expect( 3 );
$.testHelper.pageSequence([
function(){
$.testHelper.openPage( "#collapsible-set-with-legends" );
$.mobile.changePage( $( "#collapsible-set-with-legends" ) );
},

function() {
Expand All @@ -213,7 +213,7 @@
expect( 6 );
$.testHelper.pageSequence([
function(){
$.testHelper.openPage( "#collapsible-with-custom-icons" );
$.mobile.changePage( $( "#collapsible-with-custom-icons" ) );
},

function() {
Expand All @@ -237,7 +237,7 @@
expect( 6 );
$.testHelper.pageSequence([
function(){
$.testHelper.openPage( "#collapsible-set-with-custom-icons" );
$.mobile.changePage( $( "#collapsible-set-with-custom-icons" ) );
},

function() {
Expand All @@ -259,7 +259,7 @@
expect( 6 );
$.testHelper.pageSequence([
function(){
$.testHelper.openPage( "#collapsible-with-theming" );
$.mobile.changePage( $( "#collapsible-with-theming" ) );
},

function() {
Expand All @@ -280,7 +280,7 @@
expect( 13 );
$.testHelper.pageSequence([
function(){
$.testHelper.openPage( "#collapsible-set-with-theming" );
$.mobile.changePage( $( "#collapsible-set-with-theming" ) );
},

function() {
Expand Down

0 comments on commit 0843c54

Please sign in to comment.