You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@corinthia.apache.org by ja...@apache.org on 2015/08/05 22:06:26 UTC

[08/57] [partial] incubator-corinthia git commit: first cleanup of sources not to be released

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/reference-static03-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/reference-static03-input.html b/Editor/tests/outline/reference-static03-input.html
deleted file mode 100644
index 0573746..0000000
--- a/Editor/tests/outline/reference-static03-input.html
+++ /dev/null
@@ -1,27 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script type="text/javascript" src="OutlineTest.js"></script>
-<script>
-
-function performTest()
-{
-    Outline_init();
-    if (Outline_detectSectionNumbering())
-        setupOutlineNumbering();
-    PostponedActions_perform();
-}
-</script>
-</head>
-<body>
-<p>Reference <a href="#one">x</a></p>
-<p>Reference <a href="#two">x</a></p>
-<p>Reference <a href="#three">x</a></p>
-<table id="one"><caption>Table 4</caption></table>
-<table id="two"><caption>Table 4</caption></table>
-<table id="three"><caption>Table 4</caption></table>
-<p>Reference <a href="#one">x</a></p>
-<p>Reference <a href="#two">x</a></p>
-<p>Reference <a href="#three">x</a></p>
-</body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/reference-update01-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/reference-update01-expected.html b/Editor/tests/outline/reference-update01-expected.html
deleted file mode 100644
index d96de51..0000000
--- a/Editor/tests/outline/reference-update01-expected.html
+++ /dev/null
@@ -1,36 +0,0 @@
-<html>
-  <head>
-    <style>
-    </style>
-  </head>
-  <body>
-    <p>
-      Reference
-      <a href="#one">1</a>
-    </p>
-    <p>
-      Reference
-      <a href="#two">3</a>
-    </p>
-    <p>
-      Reference
-      <a href="#three">4</a>
-    </p>
-    <h1 id="one">One</h1>
-    <h1 id="item1">New Heading</h1>
-    <h1 id="two">Two</h1>
-    <h1 id="three">Three</h1>
-    <p>
-      Reference
-      <a href="#one">1</a>
-    </p>
-    <p>
-      Reference
-      <a href="#two">3</a>
-    </p>
-    <p>
-      Reference
-      <a href="#three">4</a>
-    </p>
-  </body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/reference-update01-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/reference-update01-input.html b/Editor/tests/outline/reference-update01-input.html
deleted file mode 100644
index 69e0b5c..0000000
--- a/Editor/tests/outline/reference-update01-input.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script type="text/javascript" src="OutlineTest.js"></script>
-<script>
-
-function performTest()
-{
-    Outline_init();
-    if (Outline_detectSectionNumbering())
-        setupOutlineNumbering();
-    PostponedActions_perform();
-
-    var two = document.getElementById("two");
-    var h1 = DOM_createElement(document,"h1");
-    DOM_appendChild(h1,DOM_createTextNode(document,"New Heading"));
-    DOM_insertBefore(document.body,h1,two);
-    PostponedActions_perform();
-}
-</script>
-</head>
-<body>
-<p>Reference <a href="#one">x</a></p>
-<p>Reference <a href="#two">x</a></p>
-<p>Reference <a href="#three">x</a></p>
-<h1 id="one">4 One</h1>
-<h1 id="two">4 Two</h1>
-<h1 id="three">4 Three</h1>
-<p>Reference <a href="#one">x</a></p>
-<p>Reference <a href="#two">x</a></p>
-<p>Reference <a href="#three">x</a></p>
-</body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/reference-update02-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/reference-update02-expected.html b/Editor/tests/outline/reference-update02-expected.html
deleted file mode 100644
index 92d5bf3..0000000
--- a/Editor/tests/outline/reference-update02-expected.html
+++ /dev/null
@@ -1,42 +0,0 @@
-<html>
-  <head>
-  </head>
-  <body>
-    <p>
-      Reference
-      <a href="#one">1</a>
-    </p>
-    <p>
-      Reference
-      <a href="#two">3</a>
-    </p>
-    <p>
-      Reference
-      <a href="#three">4</a>
-    </p>
-    <figure id="one">
-      <figcaption></figcaption>
-    </figure>
-    <figure id="item1">
-      <figcaption></figcaption>
-    </figure>
-    <figure id="two">
-      <figcaption></figcaption>
-    </figure>
-    <figure id="three">
-      <figcaption></figcaption>
-    </figure>
-    <p>
-      Reference
-      <a href="#one">1</a>
-    </p>
-    <p>
-      Reference
-      <a href="#two">3</a>
-    </p>
-    <p>
-      Reference
-      <a href="#three">4</a>
-    </p>
-  </body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/reference-update02-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/reference-update02-input.html b/Editor/tests/outline/reference-update02-input.html
deleted file mode 100644
index b106603..0000000
--- a/Editor/tests/outline/reference-update02-input.html
+++ /dev/null
@@ -1,35 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script type="text/javascript" src="OutlineTest.js"></script>
-<script>
-
-function performTest()
-{
-    Outline_init();
-    if (Outline_detectSectionNumbering())
-        setupOutlineNumbering();
-    PostponedActions_perform();
-
-    var two = document.getElementById("two");
-    var figure = DOM_createElement(document,"FIGURE");
-    var figcaption = DOM_createElement(document,"FIGCAPTION");
-    DOM_appendChild(figure,figcaption);
-    DOM_appendChild(figcaption,DOM_createTextNode(document,""));
-    DOM_insertBefore(document.body,figure,two);
-    PostponedActions_perform();
-}
-</script>
-</head>
-<body>
-<p>Reference <a href="#one">x</a></p>
-<p>Reference <a href="#two">x</a></p>
-<p>Reference <a href="#three">x</a></p>
-<figure id="one"><figcaption>Figure 4</figcaption></figure>
-<figure id="two"><figcaption>Figure 4</figcaption></figure>
-<figure id="three"><figcaption>Figure 4</figcaption></figure>
-<p>Reference <a href="#one">x</a></p>
-<p>Reference <a href="#two">x</a></p>
-<p>Reference <a href="#three">x</a></p>
-</body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/reference-update03-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/reference-update03-expected.html b/Editor/tests/outline/reference-update03-expected.html
deleted file mode 100644
index ec4edae..0000000
--- a/Editor/tests/outline/reference-update03-expected.html
+++ /dev/null
@@ -1,42 +0,0 @@
-<html>
-  <head>
-  </head>
-  <body>
-    <p>
-      Reference
-      <a href="#one">1</a>
-    </p>
-    <p>
-      Reference
-      <a href="#two">3</a>
-    </p>
-    <p>
-      Reference
-      <a href="#three">4</a>
-    </p>
-    <table id="one">
-      <caption></caption>
-    </table>
-    <table id="item1">
-      <caption></caption>
-    </table>
-    <table id="two">
-      <caption></caption>
-    </table>
-    <table id="three">
-      <caption></caption>
-    </table>
-    <p>
-      Reference
-      <a href="#one">1</a>
-    </p>
-    <p>
-      Reference
-      <a href="#two">3</a>
-    </p>
-    <p>
-      Reference
-      <a href="#three">4</a>
-    </p>
-  </body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/reference-update03-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/reference-update03-input.html b/Editor/tests/outline/reference-update03-input.html
deleted file mode 100644
index 614c87d..0000000
--- a/Editor/tests/outline/reference-update03-input.html
+++ /dev/null
@@ -1,35 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script type="text/javascript" src="OutlineTest.js"></script>
-<script>
-
-function performTest()
-{
-    Outline_init();
-    if (Outline_detectSectionNumbering())
-        setupOutlineNumbering();
-    PostponedActions_perform();
-
-    var two = document.getElementById("two");
-    var table = DOM_createElement(document,"TABLE");
-    var caption = DOM_createElement(document,"CAPTION");
-    DOM_appendChild(table,caption);
-    DOM_appendChild(caption,DOM_createTextNode(document,""));
-    DOM_insertBefore(document.body,table,two);
-    PostponedActions_perform();
-}
-</script>
-</head>
-<body>
-<p>Reference <a href="#one">x</a></p>
-<p>Reference <a href="#two">x</a></p>
-<p>Reference <a href="#three">x</a></p>
-<table id="one"><caption>Table 4</caption></table>
-<table id="two"><caption>Table 4</caption></table>
-<table id="three"><caption>Table 4</caption></table>
-<p>Reference <a href="#one">x</a></p>
-<p>Reference <a href="#two">x</a></p>
-<p>Reference <a href="#three">x</a></p>
-</body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/reference01-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/reference01-expected.html b/Editor/tests/outline/reference01-expected.html
deleted file mode 100644
index fd32c84..0000000
--- a/Editor/tests/outline/reference01-expected.html
+++ /dev/null
@@ -1,136 +0,0 @@
-<html>
-  <head>
-    <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
-    <title>Test document</title>
-    <style>
-    </style>
-  </head>
-  <body>
-    <h1 id="item3">New section</h1>
-    <figure id="item2">
-      <figcaption/>
-    </figure>
-    <table id="item1">
-      <caption/>
-    </table>
-    <p>
-      Dynamically added reference:
-      <a href="#hb">2.1</a>
-    </p>
-    <p>
-      Dynamically added reference:
-      <a href="#hb">2.1</a>
-    </p>
-    <p>
-      Dynamically added reference:
-      <a href="#hb">2.1</a>
-    </p>
-    <ul>
-      <li>
-        Reference to
-        <a href="#ha">2</a>
-      </li>
-      <li>
-        Reference to
-        <a href="#hb">2.1</a>
-      </li>
-      <li>
-        Reference to
-        <a href="#hc">2.2</a>
-      </li>
-      <li>
-        Reference to
-        <a href="#hd">3</a>
-      </li>
-      <li>
-        Reference to
-        <a href="#he">3.1</a>
-      </li>
-      <li>
-        Reference to
-        <a href="#hf">3.2</a>
-      </li>
-      <li>
-        Reference to
-        <a href="#fa">2</a>
-      </li>
-      <li>
-        Reference to
-        <a href="#fb">3</a>
-      </li>
-      <li>
-        Reference to
-        <a href="#fc">4</a>
-      </li>
-      <li>
-        Reference to
-        <a href="#ta">2</a>
-      </li>
-      <li>
-        Reference to
-        <a href="#tb">3</a>
-      </li>
-      <li>
-        Reference to
-        <a href="#tc">4</a>
-      </li>
-    </ul>
-    <h1 id="ha">Heading A</h1>
-    <h2 id="hb">Heading B</h2>
-    <h2 id="hc">Heading C</h2>
-    <h1 id="hd">Heading D</h1>
-    <h2 id="he">Heading E</h2>
-    <h2 id="hf">Heading F</h2>
-    <table align="center" id="ta" width="80%">
-      <caption>First table caption</caption>
-      <tbody>
-        <tr>
-          <td>First</td>
-          <td>First</td>
-        </tr>
-        <tr>
-          <td>First</td>
-          <td>First</td>
-        </tr>
-      </tbody>
-    </table>
-    <figure id="fa">
-      <p>First figure content</p>
-      <figcaption>First figure caption</figcaption>
-    </figure>
-    <table align="center" id="tb" width="80%">
-      <caption>Second table caption</caption>
-      <tbody>
-        <tr>
-          <td>Second</td>
-          <td>Second</td>
-        </tr>
-        <tr>
-          <td>Second</td>
-          <td>Second</td>
-        </tr>
-      </tbody>
-    </table>
-    <figure id="fb">
-      <p>[Second figure content]</p>
-      <figcaption>Second figure caption</figcaption>
-    </figure>
-    <table align="center" id="tc" width="80%">
-      <caption/>
-      <tbody>
-        <tr>
-          <td>Third</td>
-          <td>Third</td>
-        </tr>
-        <tr>
-          <td>Third</td>
-          <td>Third</td>
-        </tr>
-      </tbody>
-    </table>
-    <figure id="fc">
-      <p>[Third figure content]</p>
-      <figcaption/>
-    </figure>
-  </body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/reference01-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/reference01-input.html b/Editor/tests/outline/reference01-input.html
deleted file mode 100644
index 4f67d10..0000000
--- a/Editor/tests/outline/reference01-input.html
+++ /dev/null
@@ -1,123 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-<title>Test document</title>
-<style>
-</style>
-<script type="text/javascript">
-
-function performTest()
-{
-    Outline_init();
-    if (Outline_detectSectionNumbering())
-        setupOutlineNumbering();
-    PostponedActions_perform();
-    setNumbering(true);
-
-    for (var i = 0; i < 3; i++) {
-        var ref = DOM_createElement(document,"A");
-        DOM_setAttribute(ref,"href","#hb");
-        DOM_appendChild(ref,DOM_createTextNode(document,"abcde"));
-
-        var p = DOM_createElement(document,"P");
-        DOM_appendChild(p,DOM_createTextNode(document,"Dynamically added reference: "));
-        DOM_appendChild(p,ref);
-        DOM_insertBefore(document.body,p,document.body.firstChild);
-    }
-
-    var newSection = DOM_createElement(document,"H1");
-    DOM_appendChild(newSection,DOM_createTextNode(document,"New section"));
-
-    var newFigure = DOM_createElement(document,"FIGURE");
-    var newTable = DOM_createElement(document,"TABLE");
-    DOM_appendChild(newFigure,DOM_createElement(document,"FIGCAPTION"));
-    DOM_appendChild(newTable,DOM_createElement(document,"CAPTION"));
-    DOM_insertBefore(document.body,newTable,document.body.firstChild);
-    DOM_insertBefore(document.body,newFigure,document.body.firstChild);
-    DOM_insertBefore(document.body,newSection,document.body.firstChild);
-    PostponedActions_perform();
-}
-</script>
-</head>
-<body>
-
-<ul>
-  <li>Reference to <a href="#ha">First heading</a></li>
-  <li>Reference to <a href="#hb">Second heading</a></li>
-  <li>Reference to <a href="#hc">Third heading</a></li>
-  <li>Reference to <a href="#hd">Fourth heading</a></li>
-  <li>Reference to <a href="#he">Fifth heading</a></li>
-  <li>Reference to <a href="#hf">Sixth heading</a></li>
-
-  <li>Reference to <a href="#fa">First figure</a></li>
-  <li>Reference to <a href="#fb">Second figure</a></li>
-  <li>Reference to <a href="#fc">Third figure</a></li>
-
-  <li>Reference to <a href="#ta">First table</a></li>
-  <li>Reference to <a href="#tb">Second table</a></li>
-  <li>Reference to <a href="#tc">Third table</a></li>
-</ul>
-
-<h1 id="ha">1 Heading A</h1>
-<h2 id="hb">1 Heading B</h2>
-<h2 id="hc">1 Heading C</h2>
-<h1 id="hd">1 Heading D</h1>
-<h2 id="he">1 Heading E</h2>
-<h2 id="hf">1 Heading F</h2>
-
-<table id="ta" width="80%" align="center">
-  <caption>First table caption</caption>
-  <tr>
-    <td>First</td>
-    <td>First</td>
-  </tr>
-  <tr>
-    <td>First</td>
-    <td>First</td>
-  </tr>
-</table>
-
-<figure id="fa">
-  <p>[First figure content]</p>
-  <figcaption>
-    First figure caption
-  </figcaption>
-</figure>
-
-<table id="tb" width="80%" align="center">
-  <caption>Second table caption</caption>
-  <tr>
-    <td>Second</td>
-    <td>Second</td>
-  </tr>
-  <tr>
-    <td>Second</td>
-    <td>Second</td>
-  </tr>
-</table>
-
-<figure id="fb">
-  <p>[Second figure content]</p>
-  <figcaption>
-    Second figure caption
-  </figcaption>
-</figure>
-
-<table id="tc" width="80%" align="center">
-  <tr>
-    <td>Third</td>
-    <td>Third</td>
-  </tr>
-  <tr>
-    <td>Third</td>
-    <td>Third</td>
-  </tr>
-</table>
-
-<figure id="fc">
-  <p>[Third figure content]</p>
-</figure>
-
-</body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/refsById01-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/refsById01-expected.html b/Editor/tests/outline/refsById01-expected.html
deleted file mode 100644
index 6df1b7d..0000000
--- a/Editor/tests/outline/refsById01-expected.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<html>
-  <head></head>
-  <body>
-    <h1 id="item2">Second section</h1>
-  </body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/refsById01-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/refsById01-input.html b/Editor/tests/outline/refsById01-input.html
deleted file mode 100644
index 7be238e..0000000
--- a/Editor/tests/outline/refsById01-input.html
+++ /dev/null
@@ -1,29 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script>
-function performTest()
-{
-    Outline_init();
-    PostponedActions_perform();
-    UndoManager_clear();
-
-    Selection_selectAll();
-    PostponedActions_perform();
-
-    Clipboard_cut();
-    PostponedActions_perform();
-
-    UndoManager_undo();
-    PostponedActions_perform();
-
-    Outline_deleteItem("item1");
-}
-</script>
-</head>
-<body>
-<h1 id="item1">First section</h1>
-<a href="#item2">ref</a>
-<h1 id="item2">Second section</h1>
-</body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/setNumbered-figure01-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/setNumbered-figure01-expected.html b/Editor/tests/outline/setNumbered-figure01-expected.html
deleted file mode 100644
index f21d865..0000000
--- a/Editor/tests/outline/setNumbered-figure01-expected.html
+++ /dev/null
@@ -1,9 +0,0 @@
-<html>
-  <head></head>
-  <body>
-    <figure id="item1">
-      <img src="../figures/nothing.png" width="25%"/>
-      <figcaption/>
-    </figure>
-  </body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/setNumbered-figure01-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/setNumbered-figure01-input.html b/Editor/tests/outline/setNumbered-figure01-input.html
deleted file mode 100644
index 7722906..0000000
--- a/Editor/tests/outline/setNumbered-figure01-input.html
+++ /dev/null
@@ -1,20 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script>
-function performTest()
-{
-    Outline_init();
-    PostponedActions_perform();
-    Outline_setNumbered("item1",true);
-    PostponedActions_perform();
-    showSelection();
-}
-</script>
-</head>
-<body>
-<figure id="item1">
-  <img src="../figures/nothing.png" width="25%">
-</figure>
-</body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/setNumbered-figure02-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/setNumbered-figure02-expected.html b/Editor/tests/outline/setNumbered-figure02-expected.html
deleted file mode 100644
index 3760ea8..0000000
--- a/Editor/tests/outline/setNumbered-figure02-expected.html
+++ /dev/null
@@ -1,8 +0,0 @@
-<html>
-  <head></head>
-  <body>
-    <figure id="item1">
-      <img src="../figures/nothing.png" width="25%"/>
-    </figure>
-  </body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/setNumbered-figure02-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/setNumbered-figure02-input.html b/Editor/tests/outline/setNumbered-figure02-input.html
deleted file mode 100644
index e59b038..0000000
--- a/Editor/tests/outline/setNumbered-figure02-input.html
+++ /dev/null
@@ -1,21 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script>
-function performTest()
-{
-    Outline_init();
-    PostponedActions_perform();
-    Outline_setNumbered("item1",false);
-    PostponedActions_perform();
-    showSelection();
-}
-</script>
-</head>
-<body>
-<figure id="item1">
-  <img src="../figures/nothing.png" width="25%">
-  <figcaption/>
-</figure>
-</body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/setNumbered-figure03-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/setNumbered-figure03-expected.html b/Editor/tests/outline/setNumbered-figure03-expected.html
deleted file mode 100644
index 507cd45..0000000
--- a/Editor/tests/outline/setNumbered-figure03-expected.html
+++ /dev/null
@@ -1,9 +0,0 @@
-<html>
-  <head></head>
-  <body>
-    <figure id="item1">
-      <img src="../figures/nothing.png" width="25%"/>
-      <figcaption class="Unnumbered">Test figure[]</figcaption>
-    </figure>
-  </body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/setNumbered-figure03-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/setNumbered-figure03-input.html b/Editor/tests/outline/setNumbered-figure03-input.html
deleted file mode 100644
index ee7bee0..0000000
--- a/Editor/tests/outline/setNumbered-figure03-input.html
+++ /dev/null
@@ -1,21 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script>
-function performTest()
-{
-    Outline_init();
-    PostponedActions_perform();
-    Outline_setNumbered("item1",false);
-    PostponedActions_perform();
-    showSelection();
-}
-</script>
-</head>
-<body>
-<figure id="item1">
-  <img src="../figures/nothing.png" width="25%">
-  <figcaption>Test figure[]</figcaption>
-</figure>
-</body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/setNumbered-figure04-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/setNumbered-figure04-expected.html b/Editor/tests/outline/setNumbered-figure04-expected.html
deleted file mode 100644
index be66066..0000000
--- a/Editor/tests/outline/setNumbered-figure04-expected.html
+++ /dev/null
@@ -1,9 +0,0 @@
-<html>
-  <head></head>
-  <body>
-    <figure id="item1">
-      <img src="../figures/nothing.png" width="25%"/>
-      <figcaption>Test figure[]</figcaption>
-    </figure>
-  </body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/setNumbered-figure04-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/setNumbered-figure04-input.html b/Editor/tests/outline/setNumbered-figure04-input.html
deleted file mode 100644
index 1927c35..0000000
--- a/Editor/tests/outline/setNumbered-figure04-input.html
+++ /dev/null
@@ -1,21 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script>
-function performTest()
-{
-    Outline_init();
-    PostponedActions_perform();
-    Outline_setNumbered("item1",true);
-    PostponedActions_perform();
-    showSelection();
-}
-</script>
-</head>
-<body>
-<figure id="item1">
-  <img src="../figures/nothing.png" width="25%">
-  <figcaption class="Unnumbered">Test figure[]</figcaption>
-</figure>
-</body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/setNumbered-table01-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/setNumbered-table01-expected.html b/Editor/tests/outline/setNumbered-table01-expected.html
deleted file mode 100644
index 330b6d5..0000000
--- a/Editor/tests/outline/setNumbered-table01-expected.html
+++ /dev/null
@@ -1,18 +0,0 @@
-<html>
-  <head></head>
-  <body>
-    <table id="item1" width="100%">
-      <caption/>
-      <tbody>
-        <tr>
-          <td>A</td>
-          <td>B</td>
-        </tr>
-        <tr>
-          <td>C</td>
-          <td>D</td>
-        </tr>
-      </tbody>
-    </table>
-  </body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/setNumbered-table01-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/setNumbered-table01-input.html b/Editor/tests/outline/setNumbered-table01-input.html
deleted file mode 100644
index e9aeeff..0000000
--- a/Editor/tests/outline/setNumbered-table01-input.html
+++ /dev/null
@@ -1,27 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script>
-function performTest()
-{
-    Outline_init();
-    PostponedActions_perform();
-    Outline_setNumbered("item1",true);
-    PostponedActions_perform();
-    showSelection();
-}
-</script>
-</head>
-<body>
-<table id="item1" width="100%">
-  <tr>
-    <td>A</td>
-    <td>B</td>
-  </tr>
-  <tr>
-    <td>C</td>
-    <td>D</td>
-  </tr>
-</figure>
-</body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/setNumbered-table02-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/setNumbered-table02-expected.html b/Editor/tests/outline/setNumbered-table02-expected.html
deleted file mode 100644
index 7c141f4..0000000
--- a/Editor/tests/outline/setNumbered-table02-expected.html
+++ /dev/null
@@ -1,17 +0,0 @@
-<html>
-  <head></head>
-  <body>
-    <table id="item1" width="100%">
-      <tbody>
-        <tr>
-          <td>A</td>
-          <td>B</td>
-        </tr>
-        <tr>
-          <td>C</td>
-          <td>D</td>
-        </tr>
-      </tbody>
-    </table>
-  </body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/setNumbered-table02-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/setNumbered-table02-input.html b/Editor/tests/outline/setNumbered-table02-input.html
deleted file mode 100644
index a31d539..0000000
--- a/Editor/tests/outline/setNumbered-table02-input.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script>
-function performTest()
-{
-    Outline_init();
-    PostponedActions_perform();
-    Outline_setNumbered("item1",false);
-    PostponedActions_perform();
-    showSelection();
-}
-</script>
-</head>
-<body>
-<table id="item1" width="100%">
-  <caption/>
-  <tr>
-    <td>A</td>
-    <td>B</td>
-  </tr>
-  <tr>
-    <td>C</td>
-    <td>D</td>
-  </tr>
-</figure>
-</body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/setNumbered-table03-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/setNumbered-table03-expected.html b/Editor/tests/outline/setNumbered-table03-expected.html
deleted file mode 100644
index 4cc550e..0000000
--- a/Editor/tests/outline/setNumbered-table03-expected.html
+++ /dev/null
@@ -1,18 +0,0 @@
-<html>
-  <head></head>
-  <body>
-    <table id="item1" width="100%">
-      <caption class="Unnumbered">Test table[]</caption>
-      <tbody>
-        <tr>
-          <td>A</td>
-          <td>B</td>
-        </tr>
-        <tr>
-          <td>C</td>
-          <td>D</td>
-        </tr>
-      </tbody>
-    </table>
-  </body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/setNumbered-table03-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/setNumbered-table03-input.html b/Editor/tests/outline/setNumbered-table03-input.html
deleted file mode 100644
index 49d780b..0000000
--- a/Editor/tests/outline/setNumbered-table03-input.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script>
-function performTest()
-{
-    Outline_init();
-    PostponedActions_perform();
-    Outline_setNumbered("item1",false);
-    PostponedActions_perform();
-    showSelection();
-}
-</script>
-</head>
-<body>
-<table id="item1" width="100%">
-  <caption>Test table[]</caption>
-  <tr>
-    <td>A</td>
-    <td>B</td>
-  </tr>
-  <tr>
-    <td>C</td>
-    <td>D</td>
-  </tr>
-</figure>
-</body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/setNumbered-table04-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/setNumbered-table04-expected.html b/Editor/tests/outline/setNumbered-table04-expected.html
deleted file mode 100644
index 48c3c30..0000000
--- a/Editor/tests/outline/setNumbered-table04-expected.html
+++ /dev/null
@@ -1,18 +0,0 @@
-<html>
-  <head></head>
-  <body>
-    <table id="item1" width="100%">
-      <caption>Test table[]</caption>
-      <tbody>
-        <tr>
-          <td>A</td>
-          <td>B</td>
-        </tr>
-        <tr>
-          <td>C</td>
-          <td>D</td>
-        </tr>
-      </tbody>
-    </table>
-  </body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/setNumbered-table04-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/setNumbered-table04-input.html b/Editor/tests/outline/setNumbered-table04-input.html
deleted file mode 100644
index d323500..0000000
--- a/Editor/tests/outline/setNumbered-table04-input.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script>
-function performTest()
-{
-    Outline_init();
-    PostponedActions_perform();
-    Outline_setNumbered("item1",true);
-    PostponedActions_perform();
-    showSelection();
-}
-</script>
-</head>
-<body>
-<table id="item1" width="100%">
-  <caption class="Unnumbered">Test table[]</caption>
-  <tr>
-    <td>A</td>
-    <td>B</td>
-  </tr>
-  <tr>
-    <td>C</td>
-    <td>D</td>
-  </tr>
-</figure>
-</body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/tableOfContents-insert01-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/tableOfContents-insert01-expected.html b/Editor/tests/outline/tableOfContents-insert01-expected.html
deleted file mode 100644
index bb1088a..0000000
--- a/Editor/tests/outline/tableOfContents-insert01-expected.html
+++ /dev/null
@@ -1,19 +0,0 @@
-<html>
-  <head>
-    <link href="../generic.css" rel="stylesheet"/>
-    <style>
-    </style>
-  </head>
-  <body>
-    Before
-    <nav class="tableofcontents">
-      <p class="toc1"><a href="#item1">1 Section 1</a></p>
-      <p class="toc1"><a href="#item2">2 Section 2</a></p>
-      <p class="toc1"><a href="#item3">3 Section 3</a></p>
-    </nav>
-    After
-    <h1 id="item1">Section 1</h1>
-    <h1 id="item2">Section 2</h1>
-    <h1 id="item3">Section 3</h1>
-  </body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/tableOfContents-insert01-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/tableOfContents-insert01-input.html b/Editor/tests/outline/tableOfContents-insert01-input.html
deleted file mode 100644
index 9ec6646..0000000
--- a/Editor/tests/outline/tableOfContents-insert01-input.html
+++ /dev/null
@@ -1,26 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<link href="../generic.css" rel="stylesheet"/>
-<script type="text/javascript" src="OutlineTest.js"></script>
-<script>
-function performTest()
-{
-    Outline_init();
-    if (Outline_detectSectionNumbering())
-        setupOutlineNumbering();
-    PostponedActions_perform();
-
-    Outline_insertTableOfContents();
-    PostponedActions_perform();
-    simplifyTOCs();
-}
-</script>
-</head>
-<body>
-Before[]After
-<h1>4 Section 1</h1>
-<h1>4 Section 2</h1>
-<h1>4 Section 3</h1>
-</body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/tableOfContents-insert02-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/tableOfContents-insert02-expected.html b/Editor/tests/outline/tableOfContents-insert02-expected.html
deleted file mode 100644
index 81d4288..0000000
--- a/Editor/tests/outline/tableOfContents-insert02-expected.html
+++ /dev/null
@@ -1,19 +0,0 @@
-<html>
-  <head>
-    <link href="../generic.css" rel="stylesheet"/>
-    <style>
-    </style>
-  </head>
-  <body>
-    <p>Before</p>
-    <nav class="tableofcontents">
-      <p class="toc1"><a href="#item1">1 Section 1</a></p>
-      <p class="toc1"><a href="#item2">2 Section 2</a></p>
-      <p class="toc1"><a href="#item3">3 Section 3</a></p>
-    </nav>
-    <p>After</p>
-    <h1 id="item1">Section 1</h1>
-    <h1 id="item2">Section 2</h1>
-    <h1 id="item3">Section 3</h1>
-  </body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/tableOfContents-insert02-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/tableOfContents-insert02-input.html b/Editor/tests/outline/tableOfContents-insert02-input.html
deleted file mode 100644
index 7034c09..0000000
--- a/Editor/tests/outline/tableOfContents-insert02-input.html
+++ /dev/null
@@ -1,26 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<link href="../generic.css" rel="stylesheet"/>
-<script type="text/javascript" src="OutlineTest.js"></script>
-<script>
-function performTest()
-{
-    Outline_init();
-    if (Outline_detectSectionNumbering())
-        setupOutlineNumbering();
-    PostponedActions_perform();
-
-    Outline_insertTableOfContents();
-    PostponedActions_perform();
-    simplifyTOCs();
-}
-</script>
-</head>
-<body>
-<p>Before[]After</p>
-<h1>4 Section 1</h1>
-<h1>4 Section 2</h1>
-<h1>4 Section 3</h1>
-</body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/tableOfContents-insert03-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/tableOfContents-insert03-expected.html b/Editor/tests/outline/tableOfContents-insert03-expected.html
deleted file mode 100644
index a04784d..0000000
--- a/Editor/tests/outline/tableOfContents-insert03-expected.html
+++ /dev/null
@@ -1,21 +0,0 @@
-<html>
-  <head>
-    <link href="../generic.css" rel="stylesheet"/>
-    <style>
-    </style>
-  </head>
-  <body>
-    <h1 id="item6">Before</h1>
-    <nav class="tableofcontents">
-      <p class="toc1"><a href="#item6">1 Before</a></p>
-      <p class="toc1"><a href="#item5">2 After</a></p>
-      <p class="toc1"><a href="#item2">3 Section 1</a></p>
-      <p class="toc1"><a href="#item3">4 Section 2</a></p>
-      <p class="toc1"><a href="#item4">5 Section 3</a></p>
-    </nav>
-    <h1 id="item5">After</h1>
-    <h1 id="item2">Section 1</h1>
-    <h1 id="item3">Section 2</h1>
-    <h1 id="item4">Section 3</h1>
-  </body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/tableOfContents-insert03-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/tableOfContents-insert03-input.html b/Editor/tests/outline/tableOfContents-insert03-input.html
deleted file mode 100644
index cd1eec2..0000000
--- a/Editor/tests/outline/tableOfContents-insert03-input.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<link href="../generic.css" rel="stylesheet"/>
-<script type="text/javascript" src="OutlineTest.js"></script>
-<script>
-function performTest()
-{
-    Outline_init();
-    if (Outline_detectSectionNumbering())
-        setupOutlineNumbering();
-    PostponedActions_perform();
-
-    var h1 = document.getElementsByTagName("h1")[0];
-    Selection_set(h1.lastChild,6,h1.lastChild,6);
-    Outline_insertTableOfContents();
-    PostponedActions_perform();
-    simplifyTOCs();
-}
-</script>
-</head>
-<body>
-<h1>4 BeforeAfter</h1>
-<h1>4 Section 1</h1>
-<h1>4 Section 2</h1>
-<h1>4 Section 3</h1>
-</body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/tableOfContents-insert04-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/tableOfContents-insert04-expected.html b/Editor/tests/outline/tableOfContents-insert04-expected.html
deleted file mode 100644
index b1ab0e9..0000000
--- a/Editor/tests/outline/tableOfContents-insert04-expected.html
+++ /dev/null
@@ -1,19 +0,0 @@
-<html>
-  <head>
-    <link href="../generic.css" rel="stylesheet"/>
-    <style>
-    </style>
-  </head>
-  <body>
-    <h1 id="item5">First</h1>
-    <nav class="tableofcontents">
-      <p class="toc1"><a href="#item5">1 First</a></p>
-      <p class="toc1"><a href="#item2">2 Section 1</a></p>
-      <p class="toc1"><a href="#item3">3 Section 2</a></p>
-      <p class="toc1"><a href="#item4">4 Section 3</a></p>
-    </nav>
-    <h1 id="item2">Section 1</h1>
-    <h1 id="item3">Section 2</h1>
-    <h1 id="item4">Section 3</h1>
-  </body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/tableOfContents-insert04-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/tableOfContents-insert04-input.html b/Editor/tests/outline/tableOfContents-insert04-input.html
deleted file mode 100644
index 8f1de0a..0000000
--- a/Editor/tests/outline/tableOfContents-insert04-input.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<link href="../generic.css" rel="stylesheet"/>
-<script type="text/javascript" src="OutlineTest.js"></script>
-<script>
-function performTest()
-{
-    Outline_init();
-    if (Outline_detectSectionNumbering())
-        setupOutlineNumbering();
-    PostponedActions_perform();
-
-    var h1 = document.getElementsByTagName("h1")[0];
-    Selection_set(h1.lastChild,5,h1.lastChild,5);
-    Outline_insertTableOfContents();
-    PostponedActions_perform();
-    simplifyTOCs();
-}
-</script>
-</head>
-<body>
-<h1>4 First</h1>
-<h1>4 Section 1</h1>
-<h1>4 Section 2</h1>
-<h1>4 Section 3</h1>
-</body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/tableOfContents-insert05-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/tableOfContents-insert05-expected.html b/Editor/tests/outline/tableOfContents-insert05-expected.html
deleted file mode 100644
index b1ab0e9..0000000
--- a/Editor/tests/outline/tableOfContents-insert05-expected.html
+++ /dev/null
@@ -1,19 +0,0 @@
-<html>
-  <head>
-    <link href="../generic.css" rel="stylesheet"/>
-    <style>
-    </style>
-  </head>
-  <body>
-    <h1 id="item5">First</h1>
-    <nav class="tableofcontents">
-      <p class="toc1"><a href="#item5">1 First</a></p>
-      <p class="toc1"><a href="#item2">2 Section 1</a></p>
-      <p class="toc1"><a href="#item3">3 Section 2</a></p>
-      <p class="toc1"><a href="#item4">4 Section 3</a></p>
-    </nav>
-    <h1 id="item2">Section 1</h1>
-    <h1 id="item3">Section 2</h1>
-    <h1 id="item4">Section 3</h1>
-  </body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/tableOfContents-insert05-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/tableOfContents-insert05-input.html b/Editor/tests/outline/tableOfContents-insert05-input.html
deleted file mode 100644
index 3a1c976..0000000
--- a/Editor/tests/outline/tableOfContents-insert05-input.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<link href="../generic.css" rel="stylesheet"/>
-<script type="text/javascript" src="OutlineTest.js"></script>
-<script>
-function performTest()
-{
-    Outline_init();
-    if (Outline_detectSectionNumbering())
-        setupOutlineNumbering();
-    PostponedActions_perform();
-
-    var h1 = document.getElementsByTagName("h1")[0];
-    Selection_set(h1,h1.childNodes.length,h1,h1.childNodes.length);
-    Outline_insertTableOfContents();
-    PostponedActions_perform();
-    simplifyTOCs();
-}
-</script>
-</head>
-<body>
-<h1>4 First</h1>
-<h1>4 Section 1</h1>
-<h1>4 Section 2</h1>
-<h1>4 Section 3</h1>
-</body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/tableOfContents-insert06-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/tableOfContents-insert06-expected.html b/Editor/tests/outline/tableOfContents-insert06-expected.html
deleted file mode 100644
index 624dcfa..0000000
--- a/Editor/tests/outline/tableOfContents-insert06-expected.html
+++ /dev/null
@@ -1,19 +0,0 @@
-<html>
-  <head>
-    <link href="../generic.css" rel="stylesheet"/>
-    <style>
-    </style>
-  </head>
-  <body>
-    <nav class="tableofcontents">
-      <p class="toc1"><a href="#item5">1 First</a></p>
-      <p class="toc1"><a href="#item2">2 Section 1</a></p>
-      <p class="toc1"><a href="#item3">3 Section 2</a></p>
-      <p class="toc1"><a href="#item4">4 Section 3</a></p>
-    </nav>
-    <h1 id="item5">First</h1>
-    <h1 id="item2">Section 1</h1>
-    <h1 id="item3">Section 2</h1>
-    <h1 id="item4">Section 3</h1>
-  </body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/tableOfContents-insert06-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/tableOfContents-insert06-input.html b/Editor/tests/outline/tableOfContents-insert06-input.html
deleted file mode 100644
index 0a6aaee..0000000
--- a/Editor/tests/outline/tableOfContents-insert06-input.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<link href="../generic.css" rel="stylesheet"/>
-<script type="text/javascript" src="OutlineTest.js"></script>
-<script>
-function performTest()
-{
-    Outline_init();
-    if (Outline_detectSectionNumbering())
-        setupOutlineNumbering();
-    PostponedActions_perform();
-
-    var h1 = document.getElementsByTagName("h1")[0];
-    Selection_set(h1.lastChild,0,h1.lastChild,0);
-    Outline_insertTableOfContents();
-    PostponedActions_perform();
-    simplifyTOCs();
-}
-</script>
-</head>
-<body>
-<h1>4 First</h1>
-<h1>4 Section 1</h1>
-<h1>4 Section 2</h1>
-<h1>4 Section 3</h1>
-</body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/tableOfContents-insert07-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/tableOfContents-insert07-expected.html b/Editor/tests/outline/tableOfContents-insert07-expected.html
deleted file mode 100644
index 624dcfa..0000000
--- a/Editor/tests/outline/tableOfContents-insert07-expected.html
+++ /dev/null
@@ -1,19 +0,0 @@
-<html>
-  <head>
-    <link href="../generic.css" rel="stylesheet"/>
-    <style>
-    </style>
-  </head>
-  <body>
-    <nav class="tableofcontents">
-      <p class="toc1"><a href="#item5">1 First</a></p>
-      <p class="toc1"><a href="#item2">2 Section 1</a></p>
-      <p class="toc1"><a href="#item3">3 Section 2</a></p>
-      <p class="toc1"><a href="#item4">4 Section 3</a></p>
-    </nav>
-    <h1 id="item5">First</h1>
-    <h1 id="item2">Section 1</h1>
-    <h1 id="item3">Section 2</h1>
-    <h1 id="item4">Section 3</h1>
-  </body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/tableOfContents-insert07-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/tableOfContents-insert07-input.html b/Editor/tests/outline/tableOfContents-insert07-input.html
deleted file mode 100644
index 16dc8dd..0000000
--- a/Editor/tests/outline/tableOfContents-insert07-input.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<link href="../generic.css" rel="stylesheet"/>
-<script type="text/javascript" src="OutlineTest.js"></script>
-<script>
-function performTest()
-{
-    Outline_init();
-    if (Outline_detectSectionNumbering())
-        setupOutlineNumbering();
-    PostponedActions_perform();
-
-    var h1 = document.getElementsByTagName("h1")[0];
-    Selection_set(h1,0,h1,0);
-    Outline_insertTableOfContents();
-    PostponedActions_perform();
-    simplifyTOCs();
-}
-</script>
-</head>
-<body>
-<h1>4 First</h1>
-<h1>4 Section 1</h1>
-<h1>4 Section 2</h1>
-<h1>4 Section 3</h1>
-</body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/tableOfContents01-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/tableOfContents01-expected.html b/Editor/tests/outline/tableOfContents01-expected.html
deleted file mode 100644
index 7228c73..0000000
--- a/Editor/tests/outline/tableOfContents01-expected.html
+++ /dev/null
@@ -1,51 +0,0 @@
-<html>
-  <head>
-    <link href="../generic.css" rel="stylesheet"/>
-    <style>
-    </style>
-  </head>
-  <body>
-    <nav class="tableofcontents">
-      <p class="toc1"><a href="#item1">1 Section 1</a></p>
-      <p class="toc2"><a href="#item2">1.1 Section 2</a></p>
-      <p class="toc2"><a href="#item3">1.2 Section 3</a></p>
-      <p class="toc1"><a href="#item4">2 Section 4</a></p>
-      <p class="toc2"><a href="#item5">2.1 Section 5</a></p>
-      <p class="toc3"><a href="#item6">2.1.1 Section 6</a></p>
-      <p class="toc3"><a href="#item7">2.1.2 Section 7</a></p>
-      <p class="toc2"><a href="#item8">2.2 Section 8</a></p>
-      <p class="toc3"><a href="#item9">2.2.1 Section 9</a></p>
-      <p class="toc3"><a href="#item10">2.2.2 Section 10</a></p>
-    </nav>
-    <h1 id="item1">Section 1</h1>
-    <p>Content 1 A</p>
-    <p>Content 1 B</p>
-    <h2 id="item2">Section 2</h2>
-    <p>Content 2 A</p>
-    <p>Content 2 B</p>
-    <h2 id="item3">Section 3</h2>
-    <p>Content 3 A</p>
-    <p>Content 3 B</p>
-    <h1 id="item4">Section 4</h1>
-    <p>Content 4 A</p>
-    <p>Content 4 B</p>
-    <h2 id="item5">Section 5</h2>
-    <p>Content 5 A</p>
-    <p>Content 5 B</p>
-    <h3 id="item6">Section 6</h3>
-    <p>Content 6 A</p>
-    <p>Content 6 B</p>
-    <h3 id="item7">Section 7</h3>
-    <p>Content 7 A</p>
-    <p>Content 7 B</p>
-    <h2 id="item8">Section 8</h2>
-    <p>Content 8 A</p>
-    <p>Content 8 B</p>
-    <h3 id="item9">Section 9</h3>
-    <p>Content 9 A</p>
-    <p>Content 9 B</p>
-    <h3 id="item10">Section 10</h3>
-    <p>Content 10 A</p>
-    <p>Content 10 B</p>
-  </body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/tableOfContents01-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/tableOfContents01-input.html b/Editor/tests/outline/tableOfContents01-input.html
deleted file mode 100644
index d7cdc88..0000000
--- a/Editor/tests/outline/tableOfContents01-input.html
+++ /dev/null
@@ -1,27 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<link href="../generic.css" rel="stylesheet"/>
-<script type="text/javascript" src="OutlineTest.js"></script>
-<script>
-function performTest()
-{
-    setupOutlineNumbering();
-    Outline_init();
-    PostponedActions_perform();
-
-    // Create a series of headings
-    createTestSections([2,[2,2]]);
-
-    // Add a table of contents
-    Selection_set(document.body,0,document.body,0);
-    Outline_insertTableOfContents();
-    PostponedActions_perform();
-
-    simplifyTOCs();
-}
-</script>
-</head>
-<body>
-</body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/tableOfContents02-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/tableOfContents02-expected.html b/Editor/tests/outline/tableOfContents02-expected.html
deleted file mode 100644
index 2e55695..0000000
--- a/Editor/tests/outline/tableOfContents02-expected.html
+++ /dev/null
@@ -1,54 +0,0 @@
-<html>
-  <head>
-    <link href="../generic.css" rel="stylesheet"/>
-    <style>
-    </style>
-  </head>
-  <body>
-    <nav class="tableofcontents">
-      <p class="toc1"><a href="#item1">1 Section 1</a></p>
-      <p class="toc2"><a href="#item2">1.1 Section 2</a></p>
-      <p class="toc2"><a href="#item3">1.2 Section 3</a></p>
-      <p class="toc1"><a href="#item4">2 Section 4XYZ</a></p>
-      <p class="toc2"><a href="#item5">2.1 Section 5</a></p>
-      <p class="toc3"><a href="#item6">2.1.1 Section 6</a></p>
-      <p class="toc3"><a href="#item7">2.1.2 Section 7</a></p>
-      <p class="toc2"><a href="#item8">2.2 Section 8</a></p>
-      <p class="toc3"><a href="#item9">2.2.1 Section 9</a></p>
-      <p class="toc3"><a href="#item10">2.2.2 Section 10</a></p>
-    </nav>
-    <h1 id="item1">Section 1</h1>
-    <p>Content 1 A</p>
-    <p>Content 1 B</p>
-    <h2 id="item2">Section 2</h2>
-    <p>Content 2 A</p>
-    <p>Content 2 B</p>
-    <h2 id="item3">Section 3</h2>
-    <p>Content 3 A</p>
-    <p>Content 3 B</p>
-    <h1 id="item4">
-      Section 4
-      XYZ
-    </h1>
-    <p>Content 4 A</p>
-    <p>Content 4 B</p>
-    <h2 id="item5">Section 5</h2>
-    <p>Content 5 A</p>
-    <p>Content 5 B</p>
-    <h3 id="item6">Section 6</h3>
-    <p>Content 6 A</p>
-    <p>Content 6 B</p>
-    <h3 id="item7">Section 7</h3>
-    <p>Content 7 A</p>
-    <p>Content 7 B</p>
-    <h2 id="item8">Section 8</h2>
-    <p>Content 8 A</p>
-    <p>Content 8 B</p>
-    <h3 id="item9">Section 9</h3>
-    <p>Content 9 A</p>
-    <p>Content 9 B</p>
-    <h3 id="item10">Section 10</h3>
-    <p>Content 10 A</p>
-    <p>Content 10 B</p>
-  </body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/tableOfContents02-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/tableOfContents02-input.html b/Editor/tests/outline/tableOfContents02-input.html
deleted file mode 100644
index e325176..0000000
--- a/Editor/tests/outline/tableOfContents02-input.html
+++ /dev/null
@@ -1,32 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<link href="../generic.css" rel="stylesheet"/>
-<script type="text/javascript" src="OutlineTest.js"></script>
-<script>
-function performTest()
-{
-    setupOutlineNumbering();
-    Outline_init();
-    PostponedActions_perform();
-
-    // Create a series of headings
-    createTestSections([2,[2,2]]);
-
-    // Add a table of contents
-    Selection_set(document.body,0,document.body,0);
-    Outline_insertTableOfContents();
-    PostponedActions_perform();
-
-    // Modify the second heading, to verify that the change is reflected in the TOC
-    var heading = document.getElementsByTagName("h1")[1];
-    DOM_appendChild(heading,DOM_createTextNode(document,"XYZ"));
-    PostponedActions_perform();
-
-    simplifyTOCs();
-}
-</script>
-</head>
-<body>
-</body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/tableOfContents03-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/tableOfContents03-expected.html b/Editor/tests/outline/tableOfContents03-expected.html
deleted file mode 100644
index 31dfff6..0000000
--- a/Editor/tests/outline/tableOfContents03-expected.html
+++ /dev/null
@@ -1,51 +0,0 @@
-<html>
-  <head>
-    <link href="../generic.css" rel="stylesheet"/>
-    <style>
-    </style>
-  </head>
-  <body>
-    <nav class="tableofcontents">
-      <p class="toc1"><a href="#item1">1 Section 1</a></p>
-      <p class="toc2"><a href="#item2">1.1 Section 2</a></p>
-      <p class="toc2"><a href="#item3">1.2 Section 3</a></p>
-      <p class="toc1"><a href="#item4">2 SeXYZction 4</a></p>
-      <p class="toc2"><a href="#item5">2.1 Section 5</a></p>
-      <p class="toc3"><a href="#item6">2.1.1 Section 6</a></p>
-      <p class="toc3"><a href="#item7">2.1.2 Section 7</a></p>
-      <p class="toc2"><a href="#item8">2.2 Section 8</a></p>
-      <p class="toc3"><a href="#item9">2.2.1 Section 9</a></p>
-      <p class="toc3"><a href="#item10">2.2.2 Section 10</a></p>
-    </nav>
-    <h1 id="item1">Section 1</h1>
-    <p>Content 1 A</p>
-    <p>Content 1 B</p>
-    <h2 id="item2">Section 2</h2>
-    <p>Content 2 A</p>
-    <p>Content 2 B</p>
-    <h2 id="item3">Section 3</h2>
-    <p>Content 3 A</p>
-    <p>Content 3 B</p>
-    <h1 id="item4">SeXYZction 4</h1>
-    <p>Content 4 A</p>
-    <p>Content 4 B</p>
-    <h2 id="item5">Section 5</h2>
-    <p>Content 5 A</p>
-    <p>Content 5 B</p>
-    <h3 id="item6">Section 6</h3>
-    <p>Content 6 A</p>
-    <p>Content 6 B</p>
-    <h3 id="item7">Section 7</h3>
-    <p>Content 7 A</p>
-    <p>Content 7 B</p>
-    <h2 id="item8">Section 8</h2>
-    <p>Content 8 A</p>
-    <p>Content 8 B</p>
-    <h3 id="item9">Section 9</h3>
-    <p>Content 9 A</p>
-    <p>Content 9 B</p>
-    <h3 id="item10">Section 10</h3>
-    <p>Content 10 A</p>
-    <p>Content 10 B</p>
-  </body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/tableOfContents03-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/tableOfContents03-input.html b/Editor/tests/outline/tableOfContents03-input.html
deleted file mode 100644
index 15a0579..0000000
--- a/Editor/tests/outline/tableOfContents03-input.html
+++ /dev/null
@@ -1,32 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<link href="../generic.css" rel="stylesheet"/>
-<script type="text/javascript" src="OutlineTest.js"></script>
-<script>
-function performTest()
-{
-    setupOutlineNumbering();
-    Outline_init();
-    PostponedActions_perform();
-
-    // Create a series of headings
-    createTestSections([2,[2,2]]);
-
-    // Add a table of contents
-    Selection_set(document.body,0,document.body,0);
-    Outline_insertTableOfContents();
-    PostponedActions_perform();
-
-    // Modify the second heading, to verify that the change is reflected in the TOC
-    var heading = document.getElementsByTagName("h1")[1];
-    DOM_insertCharacters(heading.lastChild,2,"XYZ");
-    PostponedActions_perform();
-
-    simplifyTOCs();
-}
-</script>
-</head>
-<body>
-</body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/tableOfContents04-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/tableOfContents04-expected.html b/Editor/tests/outline/tableOfContents04-expected.html
deleted file mode 100644
index 976bf80..0000000
--- a/Editor/tests/outline/tableOfContents04-expected.html
+++ /dev/null
@@ -1,51 +0,0 @@
-<html>
-  <head>
-    <link href="../generic.css" rel="stylesheet"/>
-    <style>
-    </style>
-  </head>
-  <body>
-    <nav class="tableofcontents">
-      <p class="toc1"><a href="#item1">1 Section 1</a></p>
-      <p class="toc2"><a href="#item2">1.1 Section 2</a></p>
-      <p class="toc2"><a href="#item3">1.2 Section 3</a></p>
-      <p class="toc1"><a href="#item4">2 Sen 4</a></p>
-      <p class="toc2"><a href="#item5">2.1 Section 5</a></p>
-      <p class="toc3"><a href="#item6">2.1.1 Section 6</a></p>
-      <p class="toc3"><a href="#item7">2.1.2 Section 7</a></p>
-      <p class="toc2"><a href="#item8">2.2 Section 8</a></p>
-      <p class="toc3"><a href="#item9">2.2.1 Section 9</a></p>
-      <p class="toc3"><a href="#item10">2.2.2 Section 10</a></p>
-    </nav>
-    <h1 id="item1">Section 1</h1>
-    <p>Content 1 A</p>
-    <p>Content 1 B</p>
-    <h2 id="item2">Section 2</h2>
-    <p>Content 2 A</p>
-    <p>Content 2 B</p>
-    <h2 id="item3">Section 3</h2>
-    <p>Content 3 A</p>
-    <p>Content 3 B</p>
-    <h1 id="item4">Sen 4</h1>
-    <p>Content 4 A</p>
-    <p>Content 4 B</p>
-    <h2 id="item5">Section 5</h2>
-    <p>Content 5 A</p>
-    <p>Content 5 B</p>
-    <h3 id="item6">Section 6</h3>
-    <p>Content 6 A</p>
-    <p>Content 6 B</p>
-    <h3 id="item7">Section 7</h3>
-    <p>Content 7 A</p>
-    <p>Content 7 B</p>
-    <h2 id="item8">Section 8</h2>
-    <p>Content 8 A</p>
-    <p>Content 8 B</p>
-    <h3 id="item9">Section 9</h3>
-    <p>Content 9 A</p>
-    <p>Content 9 B</p>
-    <h3 id="item10">Section 10</h3>
-    <p>Content 10 A</p>
-    <p>Content 10 B</p>
-  </body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/tableOfContents04-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/tableOfContents04-input.html b/Editor/tests/outline/tableOfContents04-input.html
deleted file mode 100644
index 8d467f6..0000000
--- a/Editor/tests/outline/tableOfContents04-input.html
+++ /dev/null
@@ -1,32 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<link href="../generic.css" rel="stylesheet"/>
-<script type="text/javascript" src="OutlineTest.js"></script>
-<script>
-function performTest()
-{
-    setupOutlineNumbering();
-    Outline_init();
-    PostponedActions_perform();
-
-    // Create a series of headings
-    createTestSections([2,[2,2]]);
-
-    // Add a table of contents
-    Selection_set(document.body,0,document.body,0);
-    Outline_insertTableOfContents();
-    PostponedActions_perform();
-
-    // Modify the second heading, to verify that the change is reflected in the TOC
-    var heading = document.getElementsByTagName("h1")[1];
-    DOM_deleteCharacters(heading.lastChild,2,6);
-    PostponedActions_perform();
-
-    simplifyTOCs();
-}
-</script>
-</head>
-<body>
-</body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/tableOfContents05-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/tableOfContents05-expected.html b/Editor/tests/outline/tableOfContents05-expected.html
deleted file mode 100644
index 7228c73..0000000
--- a/Editor/tests/outline/tableOfContents05-expected.html
+++ /dev/null
@@ -1,51 +0,0 @@
-<html>
-  <head>
-    <link href="../generic.css" rel="stylesheet"/>
-    <style>
-    </style>
-  </head>
-  <body>
-    <nav class="tableofcontents">
-      <p class="toc1"><a href="#item1">1 Section 1</a></p>
-      <p class="toc2"><a href="#item2">1.1 Section 2</a></p>
-      <p class="toc2"><a href="#item3">1.2 Section 3</a></p>
-      <p class="toc1"><a href="#item4">2 Section 4</a></p>
-      <p class="toc2"><a href="#item5">2.1 Section 5</a></p>
-      <p class="toc3"><a href="#item6">2.1.1 Section 6</a></p>
-      <p class="toc3"><a href="#item7">2.1.2 Section 7</a></p>
-      <p class="toc2"><a href="#item8">2.2 Section 8</a></p>
-      <p class="toc3"><a href="#item9">2.2.1 Section 9</a></p>
-      <p class="toc3"><a href="#item10">2.2.2 Section 10</a></p>
-    </nav>
-    <h1 id="item1">Section 1</h1>
-    <p>Content 1 A</p>
-    <p>Content 1 B</p>
-    <h2 id="item2">Section 2</h2>
-    <p>Content 2 A</p>
-    <p>Content 2 B</p>
-    <h2 id="item3">Section 3</h2>
-    <p>Content 3 A</p>
-    <p>Content 3 B</p>
-    <h1 id="item4">Section 4</h1>
-    <p>Content 4 A</p>
-    <p>Content 4 B</p>
-    <h2 id="item5">Section 5</h2>
-    <p>Content 5 A</p>
-    <p>Content 5 B</p>
-    <h3 id="item6">Section 6</h3>
-    <p>Content 6 A</p>
-    <p>Content 6 B</p>
-    <h3 id="item7">Section 7</h3>
-    <p>Content 7 A</p>
-    <p>Content 7 B</p>
-    <h2 id="item8">Section 8</h2>
-    <p>Content 8 A</p>
-    <p>Content 8 B</p>
-    <h3 id="item9">Section 9</h3>
-    <p>Content 9 A</p>
-    <p>Content 9 B</p>
-    <h3 id="item10">Section 10</h3>
-    <p>Content 10 A</p>
-    <p>Content 10 B</p>
-  </body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/tableOfContents05-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/tableOfContents05-input.html b/Editor/tests/outline/tableOfContents05-input.html
deleted file mode 100644
index 8d4ddf4..0000000
--- a/Editor/tests/outline/tableOfContents05-input.html
+++ /dev/null
@@ -1,55 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<link href="../generic.css" rel="stylesheet"/>
-<script type="text/javascript" src="OutlineTest.js"></script>
-<script>
-function performTest()
-{
-    Outline_init();
-    if (Outline_detectSectionNumbering())
-        setupOutlineNumbering();
-    PostponedActions_perform();
-
-    // Add a table of contents
-    Selection_set(document.body,0,document.body,0);
-    Outline_insertTableOfContents();
-    PostponedActions_perform();
-
-    simplifyTOCs();
-}
-</script>
-</head>
-<body>
-<h1>9 Section 1</h1>
-<p>Content 1 A</p>
-<p>Content 1 B</p>
-<h2>9 Section 2</h2>
-<p>Content 2 A</p>
-<p>Content 2 B</p>
-<h2>9 Section 3</h2>
-<p>Content 3 A</p>
-<p>Content 3 B</p>
-<h1>9 Section 4</h1>
-<p>Content 4 A</p>
-<p>Content 4 B</p>
-<h2>9 Section 5</h2>
-<p>Content 5 A</p>
-<p>Content 5 B</p>
-<h3>9 Section 6</h3>
-<p>Content 6 A</p>
-<p>Content 6 B</p>
-<h3>9 Section 7</h3>
-<p>Content 7 A</p>
-<p>Content 7 B</p>
-<h2>9 Section 8</h2>
-<p>Content 8 A</p>
-<p>Content 8 B</p>
-<h3>9 Section 9</h3>
-<p>Content 9 A</p>
-<p>Content 9 B</p>
-<h3>9 Section 10</h3>
-<p>Content 10 A</p>
-<p>Content 10 B</p>
-</body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/tableOfContents06-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/tableOfContents06-expected.html b/Editor/tests/outline/tableOfContents06-expected.html
deleted file mode 100644
index 59e90fa..0000000
--- a/Editor/tests/outline/tableOfContents06-expected.html
+++ /dev/null
@@ -1,49 +0,0 @@
-<html>
-  <head>
-    <link href="../generic.css" rel="stylesheet"/>
-  </head>
-  <body>
-    <nav class="tableofcontents">
-      <p class="toc1"><a href="#item1">Section 1</a></p>
-      <p class="toc2"><a href="#item2">Section 2</a></p>
-      <p class="toc2"><a href="#item3">Section 3</a></p>
-      <p class="toc1"><a href="#item4">Section 4</a></p>
-      <p class="toc2"><a href="#item5">Section 5</a></p>
-      <p class="toc3"><a href="#item6">Section 6</a></p>
-      <p class="toc3"><a href="#item7">Section 7</a></p>
-      <p class="toc2"><a href="#item8">Section 8</a></p>
-      <p class="toc3"><a href="#item9">Section 9</a></p>
-      <p class="toc3"><a href="#item10">Section 10</a></p>
-    </nav>
-    <h1 id="item1">Section 1</h1>
-    <p>Content 1 A</p>
-    <p>Content 1 B</p>
-    <h2 id="item2">Section 2</h2>
-    <p>Content 2 A</p>
-    <p>Content 2 B</p>
-    <h2 id="item3">Section 3</h2>
-    <p>Content 3 A</p>
-    <p>Content 3 B</p>
-    <h1 id="item4">Section 4</h1>
-    <p>Content 4 A</p>
-    <p>Content 4 B</p>
-    <h2 id="item5">Section 5</h2>
-    <p>Content 5 A</p>
-    <p>Content 5 B</p>
-    <h3 id="item6">Section 6</h3>
-    <p>Content 6 A</p>
-    <p>Content 6 B</p>
-    <h3 id="item7">Section 7</h3>
-    <p>Content 7 A</p>
-    <p>Content 7 B</p>
-    <h2 id="item8">Section 8</h2>
-    <p>Content 8 A</p>
-    <p>Content 8 B</p>
-    <h3 id="item9">Section 9</h3>
-    <p>Content 9 A</p>
-    <p>Content 9 B</p>
-    <h3 id="item10">Section 10</h3>
-    <p>Content 10 A</p>
-    <p>Content 10 B</p>
-  </body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/tableOfContents06-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/tableOfContents06-input.html b/Editor/tests/outline/tableOfContents06-input.html
deleted file mode 100644
index 4b0c7da..0000000
--- a/Editor/tests/outline/tableOfContents06-input.html
+++ /dev/null
@@ -1,53 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<link href="../generic.css" rel="stylesheet"/>
-<script type="text/javascript" src="OutlineTest.js"></script>
-<script>
-function performTest()
-{
-    Outline_init();
-    if (Outline_detectSectionNumbering())
-        setupOutlineNumbering();
-    PostponedActions_perform();
-
-    // Add a table of contents
-    Selection_set(document.body,0,document.body,0);
-    Outline_insertTableOfContents();
-    PostponedActions_perform();
-}
-</script>
-</head>
-<body>
-<h1>Section 1</h1>
-<p>Content 1 A</p>
-<p>Content 1 B</p>
-<h2>Section 2</h2>
-<p>Content 2 A</p>
-<p>Content 2 B</p>
-<h2>Section 3</h2>
-<p>Content 3 A</p>
-<p>Content 3 B</p>
-<h1>Section 4</h1>
-<p>Content 4 A</p>
-<p>Content 4 B</p>
-<h2>Section 5</h2>
-<p>Content 5 A</p>
-<p>Content 5 B</p>
-<h3>Section 6</h3>
-<p>Content 6 A</p>
-<p>Content 6 B</p>
-<h3>Section 7</h3>
-<p>Content 7 A</p>
-<p>Content 7 B</p>
-<h2>Section 8</h2>
-<p>Content 8 A</p>
-<p>Content 8 B</p>
-<h3>Section 9</h3>
-<p>Content 9 A</p>
-<p>Content 9 B</p>
-<h3>Section 10</h3>
-<p>Content 10 A</p>
-<p>Content 10 B</p>
-</body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/tableOfContents07-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/tableOfContents07-expected.html b/Editor/tests/outline/tableOfContents07-expected.html
deleted file mode 100644
index fe2f204..0000000
--- a/Editor/tests/outline/tableOfContents07-expected.html
+++ /dev/null
@@ -1,51 +0,0 @@
-<html>
-  <head>
-    <link href="../generic.css" rel="stylesheet"/>
-    <style>
-    </style>
-  </head>
-  <body>
-    <nav class="tableofcontents">
-      <p class="toc1"><a href="#item1">Section 1</a></p>
-      <p class="toc2"><a href="#item2">Section 2</a></p>
-      <p class="toc2"><a href="#item3">Section 3</a></p>
-      <p class="toc1"><a href="#item4">Section 4</a></p>
-      <p class="toc2"><a href="#item5">Section 5</a></p>
-      <p class="toc3"><a href="#item6">Section 6</a></p>
-      <p class="toc3"><a href="#item7">Section 7</a></p>
-      <p class="toc2"><a href="#item8">Section 8</a></p>
-      <p class="toc3"><a href="#item9">Section 9</a></p>
-      <p class="toc3"><a href="#item10">Section 10</a></p>
-    </nav>
-    <h1 class="Unnumbered" id="item1">Section 1</h1>
-    <p>Content 1 A</p>
-    <p>Content 1 B</p>
-    <h2 class="Unnumbered" id="item2">Section 2</h2>
-    <p>Content 2 A</p>
-    <p>Content 2 B</p>
-    <h2 class="Unnumbered" id="item3">Section 3</h2>
-    <p>Content 3 A</p>
-    <p>Content 3 B</p>
-    <h1 class="Unnumbered" id="item4">Section 4</h1>
-    <p>Content 4 A</p>
-    <p>Content 4 B</p>
-    <h2 class="Unnumbered" id="item5">Section 5</h2>
-    <p>Content 5 A</p>
-    <p>Content 5 B</p>
-    <h3 class="Unnumbered" id="item6">Section 6</h3>
-    <p>Content 6 A</p>
-    <p>Content 6 B</p>
-    <h3 class="Unnumbered" id="item7">Section 7</h3>
-    <p>Content 7 A</p>
-    <p>Content 7 B</p>
-    <h2 class="Unnumbered" id="item8">Section 8</h2>
-    <p>Content 8 A</p>
-    <p>Content 8 B</p>
-    <h3 class="Unnumbered" id="item9">Section 9</h3>
-    <p>Content 9 A</p>
-    <p>Content 9 B</p>
-    <h3 class="Unnumbered" id="item10">Section 10</h3>
-    <p>Content 10 A</p>
-    <p>Content 10 B</p>
-  </body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/tableOfContents07-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/tableOfContents07-input.html b/Editor/tests/outline/tableOfContents07-input.html
deleted file mode 100644
index 0324106..0000000
--- a/Editor/tests/outline/tableOfContents07-input.html
+++ /dev/null
@@ -1,30 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<link href="../generic.css" rel="stylesheet"/>
-<script type="text/javascript" src="OutlineTest.js"></script>
-<script>
-function performTest()
-{
-    Outline_init();
-    if (Outline_detectSectionNumbering())
-        setupOutlineNumbering();
-    PostponedActions_perform();
-
-    // Create a series of headings
-    createTestSections([2,[2,2]]);
-
-    // Turn numbering off for all headings
-    setNumbering(false);
-    PostponedActions_perform();
-
-    // Add a table of contents
-    Selection_set(document.body,0,document.body,0);
-    Outline_insertTableOfContents();
-    PostponedActions_perform();
-}
-</script>
-</head>
-<body>
-</body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/tableOfContents08-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/tableOfContents08-expected.html b/Editor/tests/outline/tableOfContents08-expected.html
deleted file mode 100644
index fe2f204..0000000
--- a/Editor/tests/outline/tableOfContents08-expected.html
+++ /dev/null
@@ -1,51 +0,0 @@
-<html>
-  <head>
-    <link href="../generic.css" rel="stylesheet"/>
-    <style>
-    </style>
-  </head>
-  <body>
-    <nav class="tableofcontents">
-      <p class="toc1"><a href="#item1">Section 1</a></p>
-      <p class="toc2"><a href="#item2">Section 2</a></p>
-      <p class="toc2"><a href="#item3">Section 3</a></p>
-      <p class="toc1"><a href="#item4">Section 4</a></p>
-      <p class="toc2"><a href="#item5">Section 5</a></p>
-      <p class="toc3"><a href="#item6">Section 6</a></p>
-      <p class="toc3"><a href="#item7">Section 7</a></p>
-      <p class="toc2"><a href="#item8">Section 8</a></p>
-      <p class="toc3"><a href="#item9">Section 9</a></p>
-      <p class="toc3"><a href="#item10">Section 10</a></p>
-    </nav>
-    <h1 class="Unnumbered" id="item1">Section 1</h1>
-    <p>Content 1 A</p>
-    <p>Content 1 B</p>
-    <h2 class="Unnumbered" id="item2">Section 2</h2>
-    <p>Content 2 A</p>
-    <p>Content 2 B</p>
-    <h2 class="Unnumbered" id="item3">Section 3</h2>
-    <p>Content 3 A</p>
-    <p>Content 3 B</p>
-    <h1 class="Unnumbered" id="item4">Section 4</h1>
-    <p>Content 4 A</p>
-    <p>Content 4 B</p>
-    <h2 class="Unnumbered" id="item5">Section 5</h2>
-    <p>Content 5 A</p>
-    <p>Content 5 B</p>
-    <h3 class="Unnumbered" id="item6">Section 6</h3>
-    <p>Content 6 A</p>
-    <p>Content 6 B</p>
-    <h3 class="Unnumbered" id="item7">Section 7</h3>
-    <p>Content 7 A</p>
-    <p>Content 7 B</p>
-    <h2 class="Unnumbered" id="item8">Section 8</h2>
-    <p>Content 8 A</p>
-    <p>Content 8 B</p>
-    <h3 class="Unnumbered" id="item9">Section 9</h3>
-    <p>Content 9 A</p>
-    <p>Content 9 B</p>
-    <h3 class="Unnumbered" id="item10">Section 10</h3>
-    <p>Content 10 A</p>
-    <p>Content 10 B</p>
-  </body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/tableOfContents08-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/tableOfContents08-input.html b/Editor/tests/outline/tableOfContents08-input.html
deleted file mode 100644
index ddf65da..0000000
--- a/Editor/tests/outline/tableOfContents08-input.html
+++ /dev/null
@@ -1,30 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<link href="../generic.css" rel="stylesheet"/>
-<script type="text/javascript" src="OutlineTest.js"></script>
-<script>
-function performTest()
-{
-    Outline_init();
-    if (Outline_detectSectionNumbering())
-        setupOutlineNumbering();
-    PostponedActions_perform();
-
-    // Create a series of headings
-    createTestSections([2,[2,2]]);
-
-    // Add a table of contents
-    Selection_set(document.body,0,document.body,0);
-    Outline_insertTableOfContents();
-    PostponedActions_perform();
-
-    // Turn numbering off for all headings
-    setNumbering(false);
-    PostponedActions_perform();
-}
-</script>
-</head>
-<body>
-</body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/tableOfContents09-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/tableOfContents09-expected.html b/Editor/tests/outline/tableOfContents09-expected.html
deleted file mode 100644
index 6d21bb7..0000000
--- a/Editor/tests/outline/tableOfContents09-expected.html
+++ /dev/null
@@ -1,51 +0,0 @@
-<html>
-  <head>
-    <link href="../generic.css" rel="stylesheet"/>
-    <style>
-    </style>
-  </head>
-  <body>
-    <nav class="tableofcontents">
-      <p class="toc1"><a href="#item1">1 Section 1</a></p>
-      <p class="toc2"><a href="#item2">Section 2</a></p>
-      <p class="toc2"><a href="#item3">Section 3</a></p>
-      <p class="toc1"><a href="#item4">2 Section 4</a></p>
-      <p class="toc2"><a href="#item5">Section 5</a></p>
-      <p class="toc3"><a href="#item6">Section 6</a></p>
-      <p class="toc3"><a href="#item7">Section 7</a></p>
-      <p class="toc2"><a href="#item8">Section 8</a></p>
-      <p class="toc3"><a href="#item9">Section 9</a></p>
-      <p class="toc3"><a href="#item10">Section 10</a></p>
-    </nav>
-    <h1 id="item1">Section 1</h1>
-    <p>Content 1 A</p>
-    <p>Content 1 B</p>
-    <h2 class="Unnumbered" id="item2">Section 2</h2>
-    <p>Content 2 A</p>
-    <p>Content 2 B</p>
-    <h2 class="Unnumbered" id="item3">Section 3</h2>
-    <p>Content 3 A</p>
-    <p>Content 3 B</p>
-    <h1 id="item4">Section 4</h1>
-    <p>Content 4 A</p>
-    <p>Content 4 B</p>
-    <h2 class="Unnumbered" id="item5">Section 5</h2>
-    <p>Content 5 A</p>
-    <p>Content 5 B</p>
-    <h3 class="Unnumbered" id="item6">Section 6</h3>
-    <p>Content 6 A</p>
-    <p>Content 6 B</p>
-    <h3 class="Unnumbered" id="item7">Section 7</h3>
-    <p>Content 7 A</p>
-    <p>Content 7 B</p>
-    <h2 class="Unnumbered" id="item8">Section 8</h2>
-    <p>Content 8 A</p>
-    <p>Content 8 B</p>
-    <h3 class="Unnumbered" id="item9">Section 9</h3>
-    <p>Content 9 A</p>
-    <p>Content 9 B</p>
-    <h3 class="Unnumbered" id="item10">Section 10</h3>
-    <p>Content 10 A</p>
-    <p>Content 10 B</p>
-  </body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/tableOfContents09-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/tableOfContents09-input.html b/Editor/tests/outline/tableOfContents09-input.html
deleted file mode 100644
index b109e17..0000000
--- a/Editor/tests/outline/tableOfContents09-input.html
+++ /dev/null
@@ -1,37 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<link href="../generic.css" rel="stylesheet"/>
-<script type="text/javascript" src="OutlineTest.js"></script>
-<script>
-function performTest()
-{
-    setupOutlineNumbering();
-    Outline_init();
-    PostponedActions_perform();
-
-    // Create a series of headings
-    createTestSections([2,[2,2]]);
-
-    // Turn numbering off for all headings
-    setNumbering(false);
-    PostponedActions_perform();
-
-    // Add a table of contents
-    Selection_set(document.body,0,document.body,0);
-    Outline_insertTableOfContents();
-    PostponedActions_perform();
-
-    // Turn numbering on for all H1s
-    var h1s = document.getElementsByTagName("h1");
-    Outline_setNumbered(h1s[0].getAttribute("id"),true);
-    Outline_setNumbered(h1s[1].getAttribute("id"),true);
-    PostponedActions_perform();
-
-    simplifyTOCs();
-}
-</script>
-</head>
-<body>
-</body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/tableOfContents10-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/tableOfContents10-expected.html b/Editor/tests/outline/tableOfContents10-expected.html
deleted file mode 100644
index 3d005dc..0000000
--- a/Editor/tests/outline/tableOfContents10-expected.html
+++ /dev/null
@@ -1,10 +0,0 @@
-<html>
-  <head>
-    <link href="../generic.css" rel="stylesheet"/>
-  </head>
-  <body>
-    <nav class="tableofcontents">
-      <p class="toc1">[No sections defined]</p>
-    </nav>
-  </body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/tableOfContents10-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/tableOfContents10-input.html b/Editor/tests/outline/tableOfContents10-input.html
deleted file mode 100644
index 0c2de9d..0000000
--- a/Editor/tests/outline/tableOfContents10-input.html
+++ /dev/null
@@ -1,21 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<link href="../generic.css" rel="stylesheet"/>
-<script type="text/javascript" src="OutlineTest.js"></script>
-<script>
-function performTest()
-{
-    Outline_init();
-    PostponedActions_perform();
-
-    // Add a table of contents
-    Outline_insertTableOfContents();
-    PostponedActions_perform();
-}
-</script>
-</head>
-<body>
-[]
-</body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/tableOfContents11-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/tableOfContents11-expected.html b/Editor/tests/outline/tableOfContents11-expected.html
deleted file mode 100644
index 5ef310b..0000000
--- a/Editor/tests/outline/tableOfContents11-expected.html
+++ /dev/null
@@ -1,12 +0,0 @@
-<html>
-  <head>
-    <link href="../generic.css" rel="stylesheet"/>
-    <style>
-    </style>
-  </head>
-  <body>
-    <nav class="tableofcontents">
-      <p class="toc1">[No sections defined]</p>
-    </nav>
-  </body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/tableOfContents11-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/tableOfContents11-input.html b/Editor/tests/outline/tableOfContents11-input.html
deleted file mode 100644
index 3014bd3..0000000
--- a/Editor/tests/outline/tableOfContents11-input.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<link href="../generic.css" rel="stylesheet"/>
-<script type="text/javascript" src="OutlineTest.js"></script>
-<script>
-function performTest()
-{
-    Outline_init();
-    PostponedActions_perform();
-
-    // Create a series of headings
-    createTestSections([2,[2,2]]);
-
-    // Add a table of contents
-    Selection_set(document.body,0,document.body,0);
-    Outline_insertTableOfContents();
-    PostponedActions_perform();
-
-    // Delete all sections
-    var current = document.getElementsByTagName("h1")[0];
-    var next;
-    for (; current != null; current = next) {
-        next = current.nextSibling;
-        DOM_deleteNode(current);
-    }
-    PostponedActions_perform();
-}
-</script>
-</head>
-<body>
-</body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/tocInHeading01-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/tocInHeading01-expected.html b/Editor/tests/outline/tocInHeading01-expected.html
deleted file mode 100644
index b1ddc67..0000000
--- a/Editor/tests/outline/tocInHeading01-expected.html
+++ /dev/null
@@ -1,12 +0,0 @@
-<html>
-  <head>
-  </head>
-  <body>
-    <h1 id="item1">Before</h1>
-    <nav class="tableofcontents">
-      <p class="toc1"><a href="#item1">Before</a></p>
-      <p class="toc1"><a href="#item2">After</a></p>
-    </nav>
-    <h1 id="item2">After</h1>
-  </body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/tocInHeading01-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/tocInHeading01-input.html b/Editor/tests/outline/tocInHeading01-input.html
deleted file mode 100644
index 7de6ed9..0000000
--- a/Editor/tests/outline/tocInHeading01-input.html
+++ /dev/null
@@ -1,22 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script type="text/javascript" src="OutlineTest.js"></script>
-<script>
-function performTest()
-{
-    Outline_init();
-    PostponedActions_perform();
-}
-</script>
-</head>
-<body>
-
-<h1>
-  Before
-  <nav class="tableofcontents"></nav>
-  After
-</h1>
-
-</body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/tocInsert01-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/tocInsert01-expected.html b/Editor/tests/outline/tocInsert01-expected.html
deleted file mode 100644
index 1c42cb7..0000000
--- a/Editor/tests/outline/tocInsert01-expected.html
+++ /dev/null
@@ -1,53 +0,0 @@
-<html>
-  <head>
-    <link href="../generic.css" rel="stylesheet"/>
-    <style>
-    </style>
-  </head>
-  <body>
-    <nav class="tableofcontents">
-      <p class="toc1"><a href="#item3">1 Section 1</a></p>
-      <p class="toc1"><a href="#item4">2 Section 2</a></p>
-    </nav>
-    <nav class="listoffigures">
-      <p class="toc1"><a href="#item5">1 Test figure A</a></p>
-      <p class="toc1"><a href="#item6">2 Test figure B</a></p>
-    </nav>
-    <nav class="listoftables">
-      <p class="toc1"><a href="#item1">1 Test table A</a></p>
-      <p class="toc1"><a href="#item2">2 Test table B</a></p>
-    </nav>
-    <h1 id="item3">Section 1</h1>
-    <h1 id="item4">Section 2</h1>
-    <figure id="item5">
-      (figure content)
-      <figcaption>Test figure A</figcaption>
-    </figure>
-    <figure id="item6">
-      (figure content)
-      <figcaption>Test figure B</figcaption>
-    </figure>
-    <table id="item1" style="width: 100%">
-      <caption>Test table A</caption>
-      <colgroup>
-        <col width="100%"/>
-      </colgroup>
-      <tbody>
-        <tr>
-          <td><p><br/></p></td>
-        </tr>
-      </tbody>
-    </table>
-    <table id="item2" style="width: 100%">
-      <caption>Test table B</caption>
-      <colgroup>
-        <col width="100%"/>
-      </colgroup>
-      <tbody>
-        <tr>
-          <td><p><br/></p></td>
-        </tr>
-      </tbody>
-    </table>
-  </body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/tocInsert01-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/tocInsert01-input.html b/Editor/tests/outline/tocInsert01-input.html
deleted file mode 100644
index c2861f4..0000000
--- a/Editor/tests/outline/tocInsert01-input.html
+++ /dev/null
@@ -1,49 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<link href="../generic.css" rel="stylesheet"/>
-<script type="text/javascript" src="OutlineTest.js"></script>
-<script>
-function performTest()
-{
-    Outline_init();
-    if (Outline_detectSectionNumbering())
-        setupOutlineNumbering();
-    PostponedActions_perform();
-
-    Outline_insertTableOfContents();
-    PostponedActions_perform();
-    Outline_insertListOfFigures();
-    PostponedActions_perform();
-//    showSelection();
-    Outline_insertListOfTables();
-    PostponedActions_perform();
-
-    simplifyTOCs();
-}
-</script>
-</head>
-<body>
-[]
-<h1>4 Section 1</h1>
-<h1>4 Section 2</h1>
-<figure>
-(figure content)
-<figcaption>Figure 9: Test figure A</figcaption>
-</figure>
-<figure>
-(figure content)
-<figcaption>Figure 9: Test figure B</figcaption>
-</figure>
-<table id="item1" style="width: 100%">
-  <caption>Table 9: Test table A</caption>
-  <col width="100%"/>
-  <tr><td><p><br/></p></td></tr>
-</table>
-<table id="item2" style="width: 100%">
-  <caption>Table 9: Test table B</caption>
-  <col width="100%"/>
-  <tr><td><p><br/></p></td></tr>
-</table>
-</body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/tocInsert02-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/tocInsert02-expected.html b/Editor/tests/outline/tocInsert02-expected.html
deleted file mode 100644
index 7a6dd77..0000000
--- a/Editor/tests/outline/tocInsert02-expected.html
+++ /dev/null
@@ -1,55 +0,0 @@
-<html>
-  <head>
-    <link href="../generic.css" rel="stylesheet"/>
-    <style>
-    </style>
-  </head>
-  <body>
-    Before
-    <nav class="tableofcontents">
-      <p class="toc1"><a href="#item3">1 Section 1</a></p>
-      <p class="toc1"><a href="#item4">2 Section 2</a></p>
-    </nav>
-    <nav class="listoffigures">
-      <p class="toc1"><a href="#item5">1 Test figure A</a></p>
-      <p class="toc1"><a href="#item6">2 Test figure B</a></p>
-    </nav>
-    <nav class="listoftables">
-      <p class="toc1"><a href="#item1">1 Test table A</a></p>
-      <p class="toc1"><a href="#item2">2 Test table B</a></p>
-    </nav>
-    After
-    <h1 id="item3">Section 1</h1>
-    <h1 id="item4">Section 2</h1>
-    <figure id="item5">
-      (figure content)
-      <figcaption>Test figure A</figcaption>
-    </figure>
-    <figure id="item6">
-      (figure content)
-      <figcaption>Test figure B</figcaption>
-    </figure>
-    <table id="item1" style="width: 100%">
-      <caption>Test table A</caption>
-      <colgroup>
-        <col width="100%"/>
-      </colgroup>
-      <tbody>
-        <tr>
-          <td><p><br/></p></td>
-        </tr>
-      </tbody>
-    </table>
-    <table id="item2" style="width: 100%">
-      <caption>Test table B</caption>
-      <colgroup>
-        <col width="100%"/>
-      </colgroup>
-      <tbody>
-        <tr>
-          <td><p><br/></p></td>
-        </tr>
-      </tbody>
-    </table>
-  </body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/tocInsert02-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/tocInsert02-input.html b/Editor/tests/outline/tocInsert02-input.html
deleted file mode 100644
index 42f8296..0000000
--- a/Editor/tests/outline/tocInsert02-input.html
+++ /dev/null
@@ -1,49 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<link href="../generic.css" rel="stylesheet"/>
-<script type="text/javascript" src="OutlineTest.js"></script>
-<script>
-function performTest()
-{
-    Outline_init();
-    if (Outline_detectSectionNumbering())
-        setupOutlineNumbering();
-    PostponedActions_perform();
-
-    Outline_insertTableOfContents();
-    PostponedActions_perform();
-    Outline_insertListOfFigures();
-    PostponedActions_perform();
-//    showSelection();
-    Outline_insertListOfTables();
-    PostponedActions_perform();
-
-    simplifyTOCs();
-}
-</script>
-</head>
-<body>
-Before[]After
-<h1>4 Section 1</h1>
-<h1>4 Section 2</h1>
-<figure>
-(figure content)
-<figcaption>Figure 9: Test figure A</figcaption>
-</figure>
-<figure>
-(figure content)
-<figcaption>Figure 9: Test figure B</figcaption>
-</figure>
-<table id="item1" style="width: 100%">
-  <caption>Table 9: Test table A</caption>
-  <col width="100%"/>
-  <tr><td><p><br/></p></td></tr>
-</table>
-<table id="item2" style="width: 100%">
-  <caption>Table 9: Test table B</caption>
-  <col width="100%"/>
-  <tr><td><p><br/></p></td></tr>
-</table>
-</body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f4102a1c/Editor/tests/outline/tocInsert03-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/tocInsert03-expected.html b/Editor/tests/outline/tocInsert03-expected.html
deleted file mode 100644
index 5b703f0..0000000
--- a/Editor/tests/outline/tocInsert03-expected.html
+++ /dev/null
@@ -1,53 +0,0 @@
-<html>
-  <head>
-    <link href="../generic.css" rel="stylesheet"/>
-    <style>
-    </style>
-  </head>
-  <body>
-    <nav class="tableofcontents">
-      <p class="toc1"><a href="#item7">1 Section 1</a></p>
-      <p class="toc1"><a href="#item4">2 Section 2</a></p>
-    </nav>
-    <nav class="listoffigures">
-      <p class="toc1"><a href="#item5">1 Test figure A</a></p>
-      <p class="toc1"><a href="#item6">2 Test figure B</a></p>
-    </nav>
-    <nav class="listoftables">
-      <p class="toc1"><a href="#item1">1 Test table A</a></p>
-      <p class="toc1"><a href="#item2">2 Test table B</a></p>
-    </nav>
-    <h1 id="item7">Section 1</h1>
-    <h1 id="item4">Section 2</h1>
-    <figure id="item5">
-      (figure content)
-      <figcaption>Test figure A</figcaption>
-    </figure>
-    <figure id="item6">
-      (figure content)
-      <figcaption>Test figure B</figcaption>
-    </figure>
-    <table id="item1" style="width: 100%">
-      <caption>Test table A</caption>
-      <colgroup>
-        <col width="100%"/>
-      </colgroup>
-      <tbody>
-        <tr>
-          <td><p><br/></p></td>
-        </tr>
-      </tbody>
-    </table>
-    <table id="item2" style="width: 100%">
-      <caption>Test table B</caption>
-      <colgroup>
-        <col width="100%"/>
-      </colgroup>
-      <tbody>
-        <tr>
-          <td><p><br/></p></td>
-        </tr>
-      </tbody>
-    </table>
-  </body>
-</html>