Skip to content
This repository has been archived by the owner on Dec 31, 2022. It is now read-only.

Commit

Permalink
updating cross-domain URL used in test-suite test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
getify committed Aug 26, 2014
1 parent 14b52d0 commit d314fbe
Show file tree
Hide file tree
Showing 32 changed files with 121 additions and 121 deletions.
4 changes: 2 additions & 2 deletions tests/test-LABjs-preloading-1.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

$LAB
.setOptions({AlwaysPreserveOrder:true,UseLocalXHR:false,BasePath:"/test_suite/"})
.script("//labjs.xhr.me/test_suite/testscript1.php?delay=5") // testing protocol-relative pathing
.script("//labjs.getify.com/test_suite/testscript1.php?delay=5") // testing protocol-relative pathing
.script("/test_suite/testscript2.php?delay=3")
.script("testscript3.php?delay=1")
.wait(done);
Expand All @@ -55,4 +55,4 @@ <h1>LABjs tests (LABjs with preloading #1)</h1>
</form>

</body>
</html>
</html>
8 changes: 4 additions & 4 deletions tests/test-LABjs-preloading-10.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@

$LAB
.setOptions({AlwaysPreserveOrder:true})
.script("http://labjs.xhr.me/test_suite/testscript1.php?delay=5") // dupe scripts, only one will be preloaded/loaded
.script("http://labjs.xhr.me/test_suite/testscript1.php?delay=5")
.script("http://labjs.getify.com/test_suite/testscript1.php?delay=5") // dupe scripts, only one will be preloaded/loaded
.script("http://labjs.getify.com/test_suite/testscript1.php?delay=5")
.script("testscript2.php?delay=3")
.script("testscript2.php?delay=7") // 7 second load of script will be long poll for final "done" (~7 secs)
.script("http://labjs.xhr.me/test_suite/testscript3.php?delay=1")
.script("http://labjs.getify.com/test_suite/testscript3.php?delay=1")
.wait(done);

</script>
Expand All @@ -56,4 +56,4 @@ <h1>LABjs tests (LABjs with preloading #10)</h1>
</form>

</body>
</html>
</html>
8 changes: 4 additions & 4 deletions tests/test-LABjs-preloading-11.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@

$LAB
.setOptions({AlwaysPreserveOrder:true,AllowDuplicates:true})
.script("http://labjs.xhr.me/test_suite/testscript1.php?delay=5")
.script("http://labjs.xhr.me/test_suite/testscript1.php?delay=5") // will be allowed since duplicates are allowed
.script("http://labjs.getify.com/test_suite/testscript1.php?delay=5")
.script("http://labjs.getify.com/test_suite/testscript1.php?delay=5") // will be allowed since duplicates are allowed
.script("testscript2.php?delay=3")
.script("testscript2.php?delay=3") // will be allowed since duplicates are allowed
.script("http://labjs.xhr.me/test_suite/testscript3.php?delay=1")
.script("http://labjs.getify.com/test_suite/testscript3.php?delay=1")
.wait(done);

</script>
Expand All @@ -56,4 +56,4 @@ <h1>LABjs tests (LABjs with preloading #11)</h1>
</form>

</body>
</html>
</html>
6 changes: 3 additions & 3 deletions tests/test-LABjs-preloading-12a.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

$LAB
.script(function(){
if (typeof script1 == "undefined") return "http://labjs.xhr.me/test_suite/testscript1.php?delay=5";
if (typeof script1 == "undefined") return "http://labjs.getify.com/test_suite/testscript1.php?delay=5";
else return false;
})
.wait()
Expand All @@ -46,7 +46,7 @@
})
.wait()
.script(function(){
if (typeof script3 == "undefined") return {src:"http://labjs.xhr.me/test_suite/testscript3.php?delay=1"};
if (typeof script3 == "undefined") return {src:"http://labjs.getify.com/test_suite/testscript3.php?delay=1"};
else return false;
})
.wait(done);
Expand Down Expand Up @@ -76,4 +76,4 @@ <h1>LABjs tests (LABjs with preloading #12a)</h1>
</form>

</body>
</html>
</html>
8 changes: 4 additions & 4 deletions tests/test-LABjs-preloading-12b.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@
timeDiff.setStartTime();

</script>
<script src="http://labjs.xhr.me/test_suite/testscript1.php?delay=1"></script>
<script src="http://labjs.getify.com/test_suite/testscript1.php?delay=1"></script>
<script>

$LAB
.script(function(){
if (typeof script1 == "undefined") return "http://labjs.xhr.me/test_suite/testscript1.php?delay=5";
if (typeof script1 == "undefined") return "http://labjs.getify.com/test_suite/testscript1.php?delay=5";
else return false;
})
.wait()
Expand All @@ -50,7 +50,7 @@
})
.wait()
.script(function(){
if (typeof script3 == "undefined") return {src:"http://labjs.xhr.me/test_suite/testscript3.php?delay=1"};
if (typeof script3 == "undefined") return {src:"http://labjs.getify.com/test_suite/testscript3.php?delay=1"};
else return false;
})
.wait(done);
Expand Down Expand Up @@ -80,4 +80,4 @@ <h1>LABjs tests (LABjs with preloading #12b)</h1>
</form>

</body>
</html>
</html>
8 changes: 4 additions & 4 deletions tests/test-LABjs-preloading-12c.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@
timeDiff.setStartTime();

</script>
<script src="http://labjs.xhr.me/test_suite/testscript1.php?delay=1"></script>
<script src="http://labjs.getify.com/test_suite/testscript1.php?delay=1"></script>
<script src="testscript2.php?delay=1"></script>
<script>

$LAB
.script(function(){
if (typeof script1 == "undefined") return "http://labjs.xhr.me/test_suite/testscript1.php?delay=5";
if (typeof script1 == "undefined") return "http://labjs.getify.com/test_suite/testscript1.php?delay=5";
else return false;
})
.wait()
Expand All @@ -51,7 +51,7 @@
})
.wait()
.script(function(){
if (typeof script3 == "undefined") return {src:"http://labjs.xhr.me/test_suite/testscript3.php?delay=1"};
if (typeof script3 == "undefined") return {src:"http://labjs.getify.com/test_suite/testscript3.php?delay=1"};
else return false;
})
.wait(done);
Expand Down Expand Up @@ -81,4 +81,4 @@ <h1>LABjs tests (LABjs with preloading #12c)</h1>
</form>

</body>
</html>
</html>
10 changes: 5 additions & 5 deletions tests/test-LABjs-preloading-12d.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@
timeDiff.setStartTime();

</script>
<script src="http://labjs.xhr.me/test_suite/testscript1.php?delay=1"></script>
<script src="http://labjs.getify.com/test_suite/testscript1.php?delay=1"></script>
<script src="testscript2.php?delay=1"></script>
<script src="http://labjs.xhr.me/test_suite/testscript3.php?delay=1"></script>
<script src="http://labjs.getify.com/test_suite/testscript3.php?delay=1"></script>
<script>

$LAB
.script(function(){
if (typeof script1 == "undefined") return "http://labjs.xhr.me/test_suite/testscript1.php?delay=5";
if (typeof script1 == "undefined") return "http://labjs.getify.com/test_suite/testscript1.php?delay=5";
else return false;
})
.wait()
Expand All @@ -52,7 +52,7 @@
})
.wait()
.script(function(){
if (typeof script3 == "undefined") return {src:"http://labjs.xhr.me/test_suite/testscript3.php?delay=1"};
if (typeof script3 == "undefined") return {src:"http://labjs.getify.com/test_suite/testscript3.php?delay=1"};
else return false;
})
.wait(done);
Expand Down Expand Up @@ -82,4 +82,4 @@ <h1>LABjs tests (LABjs with preloading #12d)</h1>
</form>

</body>
</html>
</html>
12 changes: 6 additions & 6 deletions tests/test-LABjs-preloading-12e.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,26 +37,26 @@
timeDiff.setStartTime();

</script>
<script src="http://labjs.xhr.me/test_suite/testscript1.php?delay=1"></script>
<script src="http://labjs.getify.com/test_suite/testscript1.php?delay=1"></script>
<script src="testscript2.php?delay=1"></script>
<script src="http://labjs.xhr.me/test_suite/testscript3.php?delay=1"></script>
<script src="http://labjs.getify.com/test_suite/testscript3.php?delay=1"></script>
<script>

$LAB
.script(function(){
if (typeof script1 == "undefined") return "http://labjs.xhr.me/test_suite/testscript1.php?delay=5";
if (typeof script1 == "undefined") return "http://labjs.getify.com/test_suite/testscript1.php?delay=5";
else return false;
})
.wait()
.script("http://labjs.xhr.me/test_suite/testscript3b.php?delay=2")
.script("http://labjs.getify.com/test_suite/testscript3b.php?delay=2")
.wait()
.script(function(){
if (typeof script2 == "undefined") return "testscript2.php?delay=3";
else return false;
})
.wait()
.script(function(){
if (typeof script3 == "undefined") return {src:"http://labjs.xhr.me/test_suite/testscript3.php?delay=1"};
if (typeof script3 == "undefined") return {src:"http://labjs.getify.com/test_suite/testscript3.php?delay=1"};
else return false;
})
.wait(done);
Expand Down Expand Up @@ -86,4 +86,4 @@ <h1>LABjs tests (LABjs with preloading #12e)</h1>
</form>

</body>
</html>
</html>
8 changes: 4 additions & 4 deletions tests/test-LABjs-preloading-12f.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@
timeDiff.setStartTime();

</script>
<script src="http://labjs.xhr.me/test_suite/testscript1.php?delay=1"></script>
<script src="http://labjs.getify.com/test_suite/testscript1.php?delay=1"></script>
<script src="testscript2.php?delay=1"></script>
<script>

$LAB
.script(function(){
if (typeof script1 == "undefined") return "http://labjs.xhr.me/test_suite/testscript1.php?delay=5";
if (typeof script1 == "undefined") return "http://labjs.getify.com/test_suite/testscript1.php?delay=5";
else return false;
})
.wait()
Expand All @@ -56,7 +56,7 @@
script2 += " jQuery("+!(!jQuery)+")";
})
.script(function(){
if (typeof script3 == "undefined") return {src:"http://labjs.xhr.me/test_suite/testscript3.php?delay=1"};
if (typeof script3 == "undefined") return {src:"http://labjs.getify.com/test_suite/testscript3.php?delay=1"};
else return false;
})
.wait(done);
Expand Down Expand Up @@ -86,4 +86,4 @@ <h1>LABjs tests (LABjs with preloading #12f)</h1>
</form>

</body>
</html>
</html>
8 changes: 4 additions & 4 deletions tests/test-LABjs-preloading-12g.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@
timeDiff.setStartTime();

</script>
<script src="http://labjs.xhr.me/test_suite/testscript1.php?delay=1"></script>
<script src="http://labjs.getify.com/test_suite/testscript1.php?delay=1"></script>
<script src="testscript2.php?delay=1"></script>
<script>

$LAB
.script(function(){
if (typeof script1 == "undefined") return "http://labjs.xhr.me/test_suite/testscript1.php?delay=5";
if (typeof script1 == "undefined") return "http://labjs.getify.com/test_suite/testscript1.php?delay=5";
else return false;
})
.wait()
Expand All @@ -56,7 +56,7 @@
script2 += " jQuery("+!(!jQuery)+")";
})
.script(function(){
if (typeof script3 == "undefined") return {src:"http://labjs.xhr.me/test_suite/testscript3.php?delay=1"};
if (typeof script3 == "undefined") return {src:"http://labjs.getify.com/test_suite/testscript3.php?delay=1"};
else return false;
})
.wait(done);
Expand Down Expand Up @@ -86,4 +86,4 @@ <h1>LABjs tests (LABjs with preloading #12g)</h1>
</form>

</body>
</html>
</html>
6 changes: 3 additions & 3 deletions tests/test-LABjs-preloading-13a.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,15 @@
$LAB
.setOptions({AlwaysPreserveOrder:true})
.script(function(){
if (typeof script1 == "undefined") return "http://labjs.xhr.me/test_suite/testscript1.php?delay=5";
if (typeof script1 == "undefined") return "http://labjs.getify.com/test_suite/testscript1.php?delay=5";
else return false;
})
.script(function(){
if (typeof script2 == "undefined") return "testscript2.php?delay=3";
else return false;
})
.script(function(){
if (typeof script3 == "undefined") return {src:"http://labjs.xhr.me/test_suite/testscript3.php?delay=1"};
if (typeof script3 == "undefined") return {src:"http://labjs.getify.com/test_suite/testscript3.php?delay=1"};
else return false;
})
.wait(done);
Expand Down Expand Up @@ -75,4 +75,4 @@ <h1>LABjs tests (LABjs with preloading #13a)</h1>
</form>

</body>
</html>
</html>
8 changes: 4 additions & 4 deletions tests/test-LABjs-preloading-13b.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,21 +35,21 @@
timeDiff.setStartTime();

</script>
<script src="http://labjs.xhr.me/test_suite/testscript1.php?delay=1"></script>
<script src="http://labjs.getify.com/test_suite/testscript1.php?delay=1"></script>
<script>

$LAB
.setOptions({AlwaysPreserveOrder:true})
.script(function(){
if (typeof script1 == "undefined") return "http://labjs.xhr.me/test_suite/testscript1.php?delay=5";
if (typeof script1 == "undefined") return "http://labjs.getify.com/test_suite/testscript1.php?delay=5";
else return false;
})
.script(function(){
if (typeof script2 == "undefined") return "testscript2.php?delay=3";
else return false;
})
.script(function(){
if (typeof script3 == "undefined") return {src:"http://labjs.xhr.me/test_suite/testscript3.php?delay=1"};
if (typeof script3 == "undefined") return {src:"http://labjs.getify.com/test_suite/testscript3.php?delay=1"};
else return false;
})
.wait(done);
Expand Down Expand Up @@ -79,4 +79,4 @@ <h1>LABjs tests (LABjs with preloading #13b)</h1>
</form>

</body>
</html>
</html>
8 changes: 4 additions & 4 deletions tests/test-LABjs-preloading-13c.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,22 +35,22 @@
timeDiff.setStartTime();

</script>
<script src="http://labjs.xhr.me/test_suite/testscript1.php?delay=1"></script>
<script src="http://labjs.getify.com/test_suite/testscript1.php?delay=1"></script>
<script src="testscript2.php?delay=1"></script>
<script>

$LAB
.setOptions({AlwaysPreserveOrder:true})
.script(function(){
if (typeof script1 == "undefined") return "http://labjs.xhr.me/test_suite/testscript1.php?delay=5";
if (typeof script1 == "undefined") return "http://labjs.getify.com/test_suite/testscript1.php?delay=5";
else return false;
})
.script(function(){
if (typeof script2 == "undefined") return "testscript2.php?delay=3";
else return false;
})
.script(function(){
if (typeof script3 == "undefined") return {src:"http://labjs.xhr.me/test_suite/testscript3.php?delay=1"};
if (typeof script3 == "undefined") return {src:"http://labjs.getify.com/test_suite/testscript3.php?delay=1"};
else return false;
})
.wait(done);
Expand Down Expand Up @@ -80,4 +80,4 @@ <h1>LABjs tests (LABjs with preloading #13c)</h1>
</form>

</body>
</html>
</html>
Loading

0 comments on commit d314fbe

Please sign in to comment.