Permalink
Browse files

sequence tests follow subdirectory and test file name conventions

  • Loading branch information...
1 parent 3c1f343 commit 77b8304b270f93c50d2471eae6b87515231254b8 @johnbender johnbender committed Dec 18, 2012
@@ -25,15 +25,14 @@
],
[ "jquery.mobile.init" ],
[
- "sequence_tests.js"
+ "sequence_core.js"
]
], "../../../../js");
</script>
<link rel="stylesheet" href="../../../../css/themes/default/jquery.mobile.css"/>
<link rel="stylesheet" href="../../../../external/qunit.css"/>
-
<script src="../../swarminject.js"></script>
</head>
<body>
@@ -7,8 +7,8 @@
(function($) {
var l = $.mobile.path.parseLocation();
- // Redirect to sequence-tests.html in the same directory as this file
- location.href = l.protocol + "//" + l.host + l.directory + "sequence-redirect.html" + l.search + "#" + l.directory + "sequence-tests.html" + "&ui-state=dialog";
+ // Redirect to sequence/index.html in the same directory as this file
+ location.href = l.protocol + "//" + l.host + l.directory + "index.html" + l.search + "#&ui-state=dialog";
})( jQuery );
</script>
</head>
@@ -8,7 +8,7 @@
var l = $.mobile.path.parseLocation();
// Redirect to sequence-tests.html in the same directory as this file
- location.href = l.protocol + "//" + l.host + l.directory + "sequence-tests.html" + l.search + "#&ui-state=dialog";
+ location.href = l.protocol + "//" + l.host + l.directory + "sequence-redirect.html" + l.search + "#" + l.directory + "index.html" + "&ui-state=dialog";
})( jQuery );
</script>
</head>
@@ -7,7 +7,7 @@
<script src="../../../../js/jquery.js"></script>
<script src="../../../jquery.testHelper.js"></script>
<script type="text/javascript">
- $.testHelper.pushStateRedirect( "./sequence-tests.html" );
+ $.testHelper.pushStateRedirect( "./index.html" );
</script>
</head>
<body>
@@ -25,7 +25,7 @@
],
[ "jquery.mobile.init" ],
[
- "sequence_tests.js"
+ "sequence_core.js"
]
], "../../../../js");
</script>
@@ -50,7 +50,7 @@ <h2 id="qunit-userAgent"></h2>
This test page is used when testing initial URLs of the form
http://domain/path/to/page1.html#/path/to/page2.html. It really only works if
you load sequence-tests.html via the hash, i.e.,
-http://domain/path/to/sequence-tests.html#/path/to/sequence-redirect.html
+http://domain/path/to/sequence/index.html#/path/to/sequence-redirect.html
-->
</body>

0 comments on commit 77b8304

Please sign in to comment.