Skip to content

Commit b7ece8c

Browse files
committed
Revert "Organizes the php scripts used for testing better, so that the whole logic of a unit, server-side and client-side, is contained within the unit itself. Nearly all ajax unit tests take advantage of the new 'framework'. Lots of files got deleted because they became redundant or weren't used anymore."
This reverts commit 228ab3d.
1 parent 6df2900 commit b7ece8c

38 files changed

+1301
-828
lines changed

test/.jshintrc

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,11 @@
4141
"ajaxTest": true,
4242
"testIframe": true,
4343
"testIframeWithCallback": true,
44-
"createComplexHTML": true,
4544
"createDashboardXML": true,
46-
"createWithFriesXML": true,
4745
"createXMLFragment": true,
4846
"moduleTeardown": true,
49-
"testBar": true,
5047
"testFoo": true,
51-
"url": true,
52-
"service": true,
48+
"url": true,
5349
"t": true,
5450
"q": true,
5551
"amdDefined": true,

test/data/ajax/echo/index.php

Lines changed: 0 additions & 43 deletions
This file was deleted.

test/data/ajax/headers/cache/index.php

Lines changed: 0 additions & 30 deletions
This file was deleted.

test/data/ajax/headers/request/index.php

Lines changed: 0 additions & 12 deletions
This file was deleted.

test/data/ajax/headers/response/index.php

Lines changed: 0 additions & 5 deletions
This file was deleted.

test/data/atom+xml.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<?php header("Content-type: atom+xml") ?>
2+
<root>
3+
<element />
4+
</root>

test/data/badcall.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
undefined();

test/data/badjson.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{bad: toTheBone}

test/data/cleanScript.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<script>
2+
<!--
3+
ok( true, "script within html comments executed" );
4+
-->
5+
</script>
6+
<script>
7+
<![CDATA[
8+
ok( true, "script within CDATA executed" );
9+
]]>
10+
</script>

test/data/dashboard.xml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<dashboard>
3+
<locations class="foo">
4+
<location for="bar" checked="different">
5+
<infowindowtab>
6+
<tab title="Location"><![CDATA[blabla]]></tab>
7+
<tab title="Users"><![CDATA[blublu]]></tab>
8+
</infowindowtab>
9+
</location>
10+
</locations>
11+
</dashboard>

0 commit comments

Comments
 (0)