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/14 15:22:32 UTC
[11/84] [partial] incubator-corinthia git commit: Moved experimentel
code to /experiments
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/8eda56a5/Editor/tests/outline/headings03-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/headings03-input.html b/Editor/tests/outline/headings03-input.html
deleted file mode 100644
index 1915e19..0000000
--- a/Editor/tests/outline/headings03-input.html
+++ /dev/null
@@ -1,22 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script>
-
-function performTest()
-{
- setupOutlineNumbering();
- Outline_init();
- PostponedActions_perform();
- Formatting_applyFormattingChanges("H1",{});
- PostponedActions_perform();
- Cursor_insertCharacter("A");
- showSelection();
- prependTableOfContents();
-}
-</script>
-</head>
-<body>
-<p>[]<br/></p>
-</body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/8eda56a5/Editor/tests/outline/headings04-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/headings04-expected.html b/Editor/tests/outline/headings04-expected.html
deleted file mode 100644
index 1da4740..0000000
--- a/Editor/tests/outline/headings04-expected.html
+++ /dev/null
@@ -1,17 +0,0 @@
-<html>
- <head>
- <style>
- </style>
- </head>
- <body>
- <nav class="tableofcontents">
- <p class="toc1">
- <a href="#item1">
- 1
- [Test]
- </a>
- </p>
- </nav>
- <h1 id="item1">[Test]</h1>
- </body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/8eda56a5/Editor/tests/outline/headings04-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/headings04-input.html b/Editor/tests/outline/headings04-input.html
deleted file mode 100644
index b8e414a..0000000
--- a/Editor/tests/outline/headings04-input.html
+++ /dev/null
@@ -1,21 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script>
-
-function performTest()
-{
- setupOutlineNumbering();
- Outline_init();
- PostponedActions_perform();
- Formatting_applyFormattingChanges("H1",{});
- PostponedActions_perform();
- showSelection();
- prependTableOfContents();
-}
-</script>
-</head>
-<body>
-<p>[Test]</p>
-</body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/8eda56a5/Editor/tests/outline/headings05-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/headings05-expected.html b/Editor/tests/outline/headings05-expected.html
deleted file mode 100644
index 1da4740..0000000
--- a/Editor/tests/outline/headings05-expected.html
+++ /dev/null
@@ -1,17 +0,0 @@
-<html>
- <head>
- <style>
- </style>
- </head>
- <body>
- <nav class="tableofcontents">
- <p class="toc1">
- <a href="#item1">
- 1
- [Test]
- </a>
- </p>
- </nav>
- <h1 id="item1">[Test]</h1>
- </body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/8eda56a5/Editor/tests/outline/headings05-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/headings05-input.html b/Editor/tests/outline/headings05-input.html
deleted file mode 100644
index f913948..0000000
--- a/Editor/tests/outline/headings05-input.html
+++ /dev/null
@@ -1,21 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script>
-
-function performTest()
-{
- setupOutlineNumbering();
- Outline_init();
- PostponedActions_perform();
- Formatting_applyFormattingChanges("H1",{});
- PostponedActions_perform();
- showSelection();
- prependTableOfContents();
-}
-</script>
-</head>
-<body>
-[Test]
-</body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/8eda56a5/Editor/tests/outline/itemtypes01-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/itemtypes01-expected.html b/Editor/tests/outline/itemtypes01-expected.html
deleted file mode 100644
index 09530eb..0000000
--- a/Editor/tests/outline/itemtypes01-expected.html
+++ /dev/null
@@ -1,82 +0,0 @@
-Sections:
- 1 Heading A (item1)
- 1.1 Heading B (item2)
- 1.2 Heading C (item3)
- 2 Heading D (item4)
- 2.1 Heading E (item5)
- 2.2 Heading F (item6)
-Figures:
- 1 First figure caption (item8)
- 2 Second figure caption (item10)
- 3 (item12)
-Tables:
- 1 First table caption (item7)
- 2 Second table caption (item9)
- 3 (item11)
-<html>
- <head>
- <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
- <title>Test document</title>
- <style>
- </style>
- </head>
- <body>
- <h1 id="item1">Heading A</h1>
- <h2 id="item2">Heading B</h2>
- <h2 id="item3">Heading C</h2>
- <h1 id="item4">Heading D</h1>
- <h2 id="item5">Heading E</h2>
- <h2 id="item6">Heading F</h2>
- <table align="center" id="item7" 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="item8">
- <p>First figure content</p>
- <figcaption>First figure caption</figcaption>
- </figure>
- <table align="center" id="item9" 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="item10">
- <p>[Second figure content]</p>
- <figcaption>Second figure caption</figcaption>
- </figure>
- <table align="center" id="item11" width="80%">
- <caption/>
- <tbody>
- <tr>
- <td>Third</td>
- <td>Third</td>
- </tr>
- <tr>
- <td>Third</td>
- <td>Third</td>
- </tr>
- </tbody>
- </table>
- <figure id="item12">
- <p>[Third figure content]</p>
- <figcaption/>
- </figure>
- </body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/8eda56a5/Editor/tests/outline/itemtypes01-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/itemtypes01-input.html b/Editor/tests/outline/itemtypes01-input.html
deleted file mode 100644
index 01fe246..0000000
--- a/Editor/tests/outline/itemtypes01-input.html
+++ /dev/null
@@ -1,78 +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();
- PostponedActions_perform();
- setNumbering(true);
- return Outline_plainText()+PrettyPrinter.getHTML(document.documentElement);
-}
-</script>
-</head>
-<body>
-
-<h1>Heading A</h1>
-<h2>Heading B</h2>
-<h2>Heading C</h2>
-<h1>Heading D</h1>
-<h2>Heading E</h2>
-<h2>Heading F</h2>
-
-<table 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>
- <p>[First figure content]</p>
- <figcaption>First figure caption</figcaption>
-</figure>
-
-<table 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>
- <p>[Second figure content]</p>
- <figcaption>Second figure caption</figcaption>
-</figure>
-
-<table width="80%" align="center">
- <tr>
- <td>Third</td>
- <td>Third</td>
- </tr>
- <tr>
- <td>Third</td>
- <td>Third</td>
- </tr>
-</table>
-
-<figure>
- <p>[Third figure content]</p>
-</figure>
-
-</body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/8eda56a5/Editor/tests/outline/listOfFigures01-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/listOfFigures01-expected.html b/Editor/tests/outline/listOfFigures01-expected.html
deleted file mode 100644
index 34e9a8f..0000000
--- a/Editor/tests/outline/listOfFigures01-expected.html
+++ /dev/null
@@ -1,49 +0,0 @@
-<html>
- <head>
- <link href="../generic.css" rel="stylesheet"/>
- </head>
- <body>
- <nav class="listoffigures">
- <p class="toc1">
- <a href="#item1">
- 1
- Test figure A
- </a>
- </p>
- <p class="toc1">
- <a href="#item2">
- 2
- Test figure B
- </a>
- </p>
- <p class="toc1">
- <a href="#item3">
- 3
- Test figure C
- </a>
- </p>
- <p class="toc1">
- <a href="#item4">
- 4
- Test figure D
- </a>
- </p>
- </nav>
- <figure id="item1">
- (figure content)
- <figcaption>Test figure A</figcaption>
- </figure>
- <figure id="item2">
- (figure content)
- <figcaption>Test figure B</figcaption>
- </figure>
- <figure id="item3">
- (figure content)
- <figcaption>Test figure C</figcaption>
- </figure>
- <figure id="item4">
- (figure content)
- <figcaption>Test figure D</figcaption>
- </figure>
- </body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/8eda56a5/Editor/tests/outline/listOfFigures01-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/listOfFigures01-input.html b/Editor/tests/outline/listOfFigures01-input.html
deleted file mode 100644
index 3e22f5a..0000000
--- a/Editor/tests/outline/listOfFigures01-input.html
+++ /dev/null
@@ -1,24 +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 figures
- createTestFigures(4);
-
- // Add a list of figures
- Selection_set(document.body,0,document.body,0);
- Outline_insertListOfFigures();
- PostponedActions_perform();
-}
-</script>
-</head>
-<body>
-</body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/8eda56a5/Editor/tests/outline/listOfFigures02-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/listOfFigures02-expected.html b/Editor/tests/outline/listOfFigures02-expected.html
deleted file mode 100644
index 73833c7..0000000
--- a/Editor/tests/outline/listOfFigures02-expected.html
+++ /dev/null
@@ -1,52 +0,0 @@
-<html>
- <head>
- <link href="../generic.css" rel="stylesheet"/>
- </head>
- <body>
- <nav class="listoffigures">
- <p class="toc1">
- <a href="#item1">
- 1
- Test figure A
- </a>
- </p>
- <p class="toc1">
- <a href="#item2">
- 2
- Test figure BXYZ
- </a>
- </p>
- <p class="toc1">
- <a href="#item3">
- 3
- Test figure C
- </a>
- </p>
- <p class="toc1">
- <a href="#item4">
- 4
- Test figure D
- </a>
- </p>
- </nav>
- <figure id="item1">
- (figure content)
- <figcaption>Test figure A</figcaption>
- </figure>
- <figure id="item2">
- (figure content)
- <figcaption>
- Test figure B
- XYZ
- </figcaption>
- </figure>
- <figure id="item3">
- (figure content)
- <figcaption>Test figure C</figcaption>
- </figure>
- <figure id="item4">
- (figure content)
- <figcaption>Test figure D</figcaption>
- </figure>
- </body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/8eda56a5/Editor/tests/outline/listOfFigures02-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/listOfFigures02-input.html b/Editor/tests/outline/listOfFigures02-input.html
deleted file mode 100644
index 81d0b70..0000000
--- a/Editor/tests/outline/listOfFigures02-input.html
+++ /dev/null
@@ -1,29 +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 figures
- createTestFigures(4);
-
- // Add a list of figures
- Selection_set(document.body,0,document.body,0);
- Outline_insertListOfFigures();
- PostponedActions_perform();
-
- // Modify the second figure caption, to verify that the change is reflected in the LOF
- var figcaption = document.getElementsByTagName("figcaption")[1];
- DOM_appendChild(figcaption,DOM_createTextNode(document,"XYZ"));
- PostponedActions_perform();
-}
-</script>
-</head>
-<body>
-</body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/8eda56a5/Editor/tests/outline/listOfFigures03-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/listOfFigures03-expected.html b/Editor/tests/outline/listOfFigures03-expected.html
deleted file mode 100644
index cc14ffe..0000000
--- a/Editor/tests/outline/listOfFigures03-expected.html
+++ /dev/null
@@ -1,49 +0,0 @@
-<html>
- <head>
- <link href="../generic.css" rel="stylesheet"/>
- </head>
- <body>
- <nav class="listoffigures">
- <p class="toc1">
- <a href="#item1">
- 1
- Test figure A
- </a>
- </p>
- <p class="toc1">
- <a href="#item2">
- 2
- TeXYZst figure B
- </a>
- </p>
- <p class="toc1">
- <a href="#item3">
- 3
- Test figure C
- </a>
- </p>
- <p class="toc1">
- <a href="#item4">
- 4
- Test figure D
- </a>
- </p>
- </nav>
- <figure id="item1">
- (figure content)
- <figcaption>Test figure A</figcaption>
- </figure>
- <figure id="item2">
- (figure content)
- <figcaption>TeXYZst figure B</figcaption>
- </figure>
- <figure id="item3">
- (figure content)
- <figcaption>Test figure C</figcaption>
- </figure>
- <figure id="item4">
- (figure content)
- <figcaption>Test figure D</figcaption>
- </figure>
- </body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/8eda56a5/Editor/tests/outline/listOfFigures03-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/listOfFigures03-input.html b/Editor/tests/outline/listOfFigures03-input.html
deleted file mode 100644
index a87177f..0000000
--- a/Editor/tests/outline/listOfFigures03-input.html
+++ /dev/null
@@ -1,29 +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 figures
- createTestFigures(4);
-
- // Add a list of figures
- Selection_set(document.body,0,document.body,0);
- Outline_insertListOfFigures();
- PostponedActions_perform();
-
- // Modify the second figure caption, to verify that the change is reflected in the LOF
- var figcaption = document.getElementsByTagName("figcaption")[1];
- DOM_insertCharacters(figcaption.lastChild,2,"XYZ");
- PostponedActions_perform();
-}
-</script>
-</head>
-<body>
-</body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/8eda56a5/Editor/tests/outline/listOfFigures04-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/listOfFigures04-expected.html b/Editor/tests/outline/listOfFigures04-expected.html
deleted file mode 100644
index 28578f1..0000000
--- a/Editor/tests/outline/listOfFigures04-expected.html
+++ /dev/null
@@ -1,49 +0,0 @@
-<html>
- <head>
- <link href="../generic.css" rel="stylesheet"/>
- </head>
- <body>
- <nav class="listoffigures">
- <p class="toc1">
- <a href="#item1">
- 1
- Test figure A
- </a>
- </p>
- <p class="toc1">
- <a href="#item2">
- 2
- Tegure B
- </a>
- </p>
- <p class="toc1">
- <a href="#item3">
- 3
- Test figure C
- </a>
- </p>
- <p class="toc1">
- <a href="#item4">
- 4
- Test figure D
- </a>
- </p>
- </nav>
- <figure id="item1">
- (figure content)
- <figcaption>Test figure A</figcaption>
- </figure>
- <figure id="item2">
- (figure content)
- <figcaption>Tegure B</figcaption>
- </figure>
- <figure id="item3">
- (figure content)
- <figcaption>Test figure C</figcaption>
- </figure>
- <figure id="item4">
- (figure content)
- <figcaption>Test figure D</figcaption>
- </figure>
- </body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/8eda56a5/Editor/tests/outline/listOfFigures04-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/listOfFigures04-input.html b/Editor/tests/outline/listOfFigures04-input.html
deleted file mode 100644
index 99c107b..0000000
--- a/Editor/tests/outline/listOfFigures04-input.html
+++ /dev/null
@@ -1,29 +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 figures
- createTestFigures(4);
-
- // Add a list of figures
- Selection_set(document.body,0,document.body,0);
- Outline_insertListOfFigures();
- PostponedActions_perform();
-
- // Modify the second figure caption, to verify that the change is reflected in the LOF
- var figcaption = document.getElementsByTagName("figcaption")[1];
- DOM_deleteCharacters(figcaption.lastChild,2,7);
- PostponedActions_perform();
-}
-</script>
-</head>
-<body>
-</body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/8eda56a5/Editor/tests/outline/listOfFigures05-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/listOfFigures05-expected.html b/Editor/tests/outline/listOfFigures05-expected.html
deleted file mode 100644
index 34e9a8f..0000000
--- a/Editor/tests/outline/listOfFigures05-expected.html
+++ /dev/null
@@ -1,49 +0,0 @@
-<html>
- <head>
- <link href="../generic.css" rel="stylesheet"/>
- </head>
- <body>
- <nav class="listoffigures">
- <p class="toc1">
- <a href="#item1">
- 1
- Test figure A
- </a>
- </p>
- <p class="toc1">
- <a href="#item2">
- 2
- Test figure B
- </a>
- </p>
- <p class="toc1">
- <a href="#item3">
- 3
- Test figure C
- </a>
- </p>
- <p class="toc1">
- <a href="#item4">
- 4
- Test figure D
- </a>
- </p>
- </nav>
- <figure id="item1">
- (figure content)
- <figcaption>Test figure A</figcaption>
- </figure>
- <figure id="item2">
- (figure content)
- <figcaption>Test figure B</figcaption>
- </figure>
- <figure id="item3">
- (figure content)
- <figcaption>Test figure C</figcaption>
- </figure>
- <figure id="item4">
- (figure content)
- <figcaption>Test figure D</figcaption>
- </figure>
- </body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/8eda56a5/Editor/tests/outline/listOfFigures05-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/listOfFigures05-input.html b/Editor/tests/outline/listOfFigures05-input.html
deleted file mode 100644
index f7cfb67..0000000
--- a/Editor/tests/outline/listOfFigures05-input.html
+++ /dev/null
@@ -1,38 +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();
- Outline_detectSectionNumbering();
- PostponedActions_perform();
-
- // Add a list of figures
- Selection_set(document.body,0,document.body,0);
- Outline_insertListOfFigures();
- PostponedActions_perform();
-}
-</script>
-</head>
-<body>
-<figure>
-(figure content)
-<figcaption>Figure 9: Test figure A</figcaption>
-</figure>
-<figure>
-(figure content)
-<figcaption>Figure 9: Test figure B</figcaption>
-</figure>
-<figure>
-(figure content)
-<figcaption>Figure 9: Test figure C</figcaption>
-</figure>
-<figure>
-(figure content)
-<figcaption>Figure 9: Test figure D</figcaption>
-</figure>
-</body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/8eda56a5/Editor/tests/outline/listOfFigures06-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/listOfFigures06-expected.html b/Editor/tests/outline/listOfFigures06-expected.html
deleted file mode 100644
index d182840..0000000
--- a/Editor/tests/outline/listOfFigures06-expected.html
+++ /dev/null
@@ -1,29 +0,0 @@
-<html>
- <head>
- <link href="../generic.css" rel="stylesheet"/>
- </head>
- <body>
- <nav class="listoffigures">
- <p class="toc1"><a href="#item1">Test figure A</a></p>
- <p class="toc1"><a href="#item2">Test figure B</a></p>
- <p class="toc1"><a href="#item3">Test figure C</a></p>
- <p class="toc1"><a href="#item4">Test figure D</a></p>
- </nav>
- <figure id="item1">
- (figure content)
- <figcaption class="Unnumbered">Test figure A</figcaption>
- </figure>
- <figure id="item2">
- (figure content)
- <figcaption class="Unnumbered">Test figure B</figcaption>
- </figure>
- <figure id="item3">
- (figure content)
- <figcaption class="Unnumbered">Test figure C</figcaption>
- </figure>
- <figure id="item4">
- (figure content)
- <figcaption class="Unnumbered">Test figure D</figcaption>
- </figure>
- </body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/8eda56a5/Editor/tests/outline/listOfFigures06-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/listOfFigures06-input.html b/Editor/tests/outline/listOfFigures06-input.html
deleted file mode 100644
index 77120bb..0000000
--- a/Editor/tests/outline/listOfFigures06-input.html
+++ /dev/null
@@ -1,38 +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();
- Outline_detectSectionNumbering();
- PostponedActions_perform();
-
- // Add a list of figures
- Selection_set(document.body,0,document.body,0);
- Outline_insertListOfFigures();
- PostponedActions_perform();
-}
-</script>
-</head>
-<body>
-<figure>
-(figure content)
-<figcaption>Test figure A</figcaption>
-</figure>
-<figure>
-(figure content)
-<figcaption>Test figure B</figcaption>
-</figure>
-<figure>
-(figure content)
-<figcaption>Test figure C</figcaption>
-</figure>
-<figure>
-(figure content)
-<figcaption>Test figure D</figcaption>
-</figure>
-</body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/8eda56a5/Editor/tests/outline/listOfFigures07-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/listOfFigures07-expected.html b/Editor/tests/outline/listOfFigures07-expected.html
deleted file mode 100644
index d182840..0000000
--- a/Editor/tests/outline/listOfFigures07-expected.html
+++ /dev/null
@@ -1,29 +0,0 @@
-<html>
- <head>
- <link href="../generic.css" rel="stylesheet"/>
- </head>
- <body>
- <nav class="listoffigures">
- <p class="toc1"><a href="#item1">Test figure A</a></p>
- <p class="toc1"><a href="#item2">Test figure B</a></p>
- <p class="toc1"><a href="#item3">Test figure C</a></p>
- <p class="toc1"><a href="#item4">Test figure D</a></p>
- </nav>
- <figure id="item1">
- (figure content)
- <figcaption class="Unnumbered">Test figure A</figcaption>
- </figure>
- <figure id="item2">
- (figure content)
- <figcaption class="Unnumbered">Test figure B</figcaption>
- </figure>
- <figure id="item3">
- (figure content)
- <figcaption class="Unnumbered">Test figure C</figcaption>
- </figure>
- <figure id="item4">
- (figure content)
- <figcaption class="Unnumbered">Test figure D</figcaption>
- </figure>
- </body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/8eda56a5/Editor/tests/outline/listOfFigures07-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/listOfFigures07-input.html b/Editor/tests/outline/listOfFigures07-input.html
deleted file mode 100644
index bafd7d4..0000000
--- a/Editor/tests/outline/listOfFigures07-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();
- PostponedActions_perform();
-
- // Create a series of figures
- createTestFigures(4);
-
- // Turn numbering off for all figures
- setNumbering(false);
- PostponedActions_perform();
-
- // Add a list of figures
- Selection_set(document.body,0,document.body,0);
- Outline_insertListOfFigures();
- PostponedActions_perform();
-}
-</script>
-</head>
-<body>
-</body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/8eda56a5/Editor/tests/outline/listOfFigures08-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/listOfFigures08-expected.html b/Editor/tests/outline/listOfFigures08-expected.html
deleted file mode 100644
index d182840..0000000
--- a/Editor/tests/outline/listOfFigures08-expected.html
+++ /dev/null
@@ -1,29 +0,0 @@
-<html>
- <head>
- <link href="../generic.css" rel="stylesheet"/>
- </head>
- <body>
- <nav class="listoffigures">
- <p class="toc1"><a href="#item1">Test figure A</a></p>
- <p class="toc1"><a href="#item2">Test figure B</a></p>
- <p class="toc1"><a href="#item3">Test figure C</a></p>
- <p class="toc1"><a href="#item4">Test figure D</a></p>
- </nav>
- <figure id="item1">
- (figure content)
- <figcaption class="Unnumbered">Test figure A</figcaption>
- </figure>
- <figure id="item2">
- (figure content)
- <figcaption class="Unnumbered">Test figure B</figcaption>
- </figure>
- <figure id="item3">
- (figure content)
- <figcaption class="Unnumbered">Test figure C</figcaption>
- </figure>
- <figure id="item4">
- (figure content)
- <figcaption class="Unnumbered">Test figure D</figcaption>
- </figure>
- </body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/8eda56a5/Editor/tests/outline/listOfFigures08-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/listOfFigures08-input.html b/Editor/tests/outline/listOfFigures08-input.html
deleted file mode 100644
index 23a589a..0000000
--- a/Editor/tests/outline/listOfFigures08-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();
- PostponedActions_perform();
-
- // Create a series of figures
- createTestFigures(4);
-
- // Add a list of figures
- Selection_set(document.body,0,document.body,0);
- Outline_insertListOfFigures();
- PostponedActions_perform();
-
- // Turn numbering off for all figures
- setNumbering(false);
- PostponedActions_perform();
-}
-</script>
-</head>
-<body>
-</body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/8eda56a5/Editor/tests/outline/listOfFigures09-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/listOfFigures09-expected.html b/Editor/tests/outline/listOfFigures09-expected.html
deleted file mode 100644
index 91189e5..0000000
--- a/Editor/tests/outline/listOfFigures09-expected.html
+++ /dev/null
@@ -1,39 +0,0 @@
-<html>
- <head>
- <link href="../generic.css" rel="stylesheet"/>
- </head>
- <body>
- <nav class="listoffigures">
- <p class="toc1"><a href="#item1">Test figure A</a></p>
- <p class="toc1"><a href="#item2">Test figure B</a></p>
- <p class="toc1">
- <a href="#item3">
- 1
- Test figure C
- </a>
- </p>
- <p class="toc1">
- <a href="#item4">
- 2
- Test figure D
- </a>
- </p>
- </nav>
- <figure id="item1">
- (figure content)
- <figcaption class="Unnumbered">Test figure A</figcaption>
- </figure>
- <figure id="item2">
- (figure content)
- <figcaption class="Unnumbered">Test figure B</figcaption>
- </figure>
- <figure id="item3">
- (figure content)
- <figcaption>Test figure C</figcaption>
- </figure>
- <figure id="item4">
- (figure content)
- <figcaption>Test figure D</figcaption>
- </figure>
- </body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/8eda56a5/Editor/tests/outline/listOfFigures09-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/listOfFigures09-input.html b/Editor/tests/outline/listOfFigures09-input.html
deleted file mode 100644
index 3016e7b..0000000
--- a/Editor/tests/outline/listOfFigures09-input.html
+++ /dev/null
@@ -1,34 +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 figures
- createTestFigures(4);
-
- // Turn numbering off for all figures
- setNumbering(false);
- PostponedActions_perform();
-
- // Add a list of figures
- Selection_set(document.body,0,document.body,0);
- Outline_insertListOfFigures();
- PostponedActions_perform();
-
- // Turn numbering on for the last two figures
- var figcaptions = document.getElementsByTagName("figure");
- Outline_setNumbered(figcaptions[2].getAttribute("id"),true);
- Outline_setNumbered(figcaptions[3].getAttribute("id"),true);
- PostponedActions_perform();
-}
-</script>
-</head>
-<body>
-</body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/8eda56a5/Editor/tests/outline/listOfFigures09a-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/listOfFigures09a-expected.html b/Editor/tests/outline/listOfFigures09a-expected.html
deleted file mode 100644
index 34e9a8f..0000000
--- a/Editor/tests/outline/listOfFigures09a-expected.html
+++ /dev/null
@@ -1,49 +0,0 @@
-<html>
- <head>
- <link href="../generic.css" rel="stylesheet"/>
- </head>
- <body>
- <nav class="listoffigures">
- <p class="toc1">
- <a href="#item1">
- 1
- Test figure A
- </a>
- </p>
- <p class="toc1">
- <a href="#item2">
- 2
- Test figure B
- </a>
- </p>
- <p class="toc1">
- <a href="#item3">
- 3
- Test figure C
- </a>
- </p>
- <p class="toc1">
- <a href="#item4">
- 4
- Test figure D
- </a>
- </p>
- </nav>
- <figure id="item1">
- (figure content)
- <figcaption>Test figure A</figcaption>
- </figure>
- <figure id="item2">
- (figure content)
- <figcaption>Test figure B</figcaption>
- </figure>
- <figure id="item3">
- (figure content)
- <figcaption>Test figure C</figcaption>
- </figure>
- <figure id="item4">
- (figure content)
- <figcaption>Test figure D</figcaption>
- </figure>
- </body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/8eda56a5/Editor/tests/outline/listOfFigures09a-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/listOfFigures09a-input.html b/Editor/tests/outline/listOfFigures09a-input.html
deleted file mode 100644
index e1c0bc8..0000000
--- a/Editor/tests/outline/listOfFigures09a-input.html
+++ /dev/null
@@ -1,40 +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 figures
- createTestFigures(4);
-
- // Turn numbering off for all figures
- setNumbering(false);
- PostponedActions_perform();
-
- // Add a list of figures
- Selection_set(document.body,0,document.body,0);
- Outline_insertListOfFigures();
- PostponedActions_perform();
-
- // Turn numbering on for the last two figures
- var figcaptions = document.getElementsByTagName("figure");
- Outline_setNumbered(figcaptions[2].getAttribute("id"),true);
- Outline_setNumbered(figcaptions[3].getAttribute("id"),true);
- PostponedActions_perform();
-
- // Now turn numbering on for the first two figures - the numbers for the others
- // should be adjusted
- Outline_setNumbered(figcaptions[0].getAttribute("id"),true);
- Outline_setNumbered(figcaptions[1].getAttribute("id"),true);
- PostponedActions_perform();
-}
-</script>
-</head>
-<body>
-</body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/8eda56a5/Editor/tests/outline/listOfFigures10-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/listOfFigures10-expected.html b/Editor/tests/outline/listOfFigures10-expected.html
deleted file mode 100644
index d2216f7..0000000
--- a/Editor/tests/outline/listOfFigures10-expected.html
+++ /dev/null
@@ -1,10 +0,0 @@
-<html>
- <head>
- <link href="../generic.css" rel="stylesheet"/>
- </head>
- <body>
- <nav class="listoffigures">
- <p class="toc1">[No figures defined]</p>
- </nav>
- </body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/8eda56a5/Editor/tests/outline/listOfFigures10-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/listOfFigures10-input.html b/Editor/tests/outline/listOfFigures10-input.html
deleted file mode 100644
index e658a51..0000000
--- a/Editor/tests/outline/listOfFigures10-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 list of figures
- Outline_insertListOfFigures();
- PostponedActions_perform();
-}
-</script>
-</head>
-<body>
-[]
-</body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/8eda56a5/Editor/tests/outline/listOfFigures11-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/listOfFigures11-expected.html b/Editor/tests/outline/listOfFigures11-expected.html
deleted file mode 100644
index d2216f7..0000000
--- a/Editor/tests/outline/listOfFigures11-expected.html
+++ /dev/null
@@ -1,10 +0,0 @@
-<html>
- <head>
- <link href="../generic.css" rel="stylesheet"/>
- </head>
- <body>
- <nav class="listoffigures">
- <p class="toc1">[No figures defined]</p>
- </nav>
- </body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/8eda56a5/Editor/tests/outline/listOfFigures11-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/listOfFigures11-input.html b/Editor/tests/outline/listOfFigures11-input.html
deleted file mode 100644
index ea94624..0000000
--- a/Editor/tests/outline/listOfFigures11-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 figures
- createTestFigures(4);
-
- // Add a list of figures
- Selection_set(document.body,0,document.body,0);
- Outline_insertListOfFigures();
- PostponedActions_perform();
-
- // Delete all figures
- var current = document.getElementsByTagName("figure")[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/8eda56a5/Editor/tests/outline/listOfTables01-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/listOfTables01-expected.html b/Editor/tests/outline/listOfTables01-expected.html
deleted file mode 100644
index 431c04a..0000000
--- a/Editor/tests/outline/listOfTables01-expected.html
+++ /dev/null
@@ -1,69 +0,0 @@
-<html>
- <head>
- <link href="../generic.css" rel="stylesheet"/>
- </head>
- <body>
- <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>
- <p class="toc1">
- <a href="#item3">
- 3
- Test table C
- </a>
- </p>
- <p class="toc1">
- <a href="#item4">
- 4
- Test table D
- </a>
- </p>
- </nav>
- <table id="item1" style="width: 100%">
- <caption>Test table A</caption>
- <col width="100%"/>
- <tbody>
- <tr>
- <td><p><br/></p></td>
- </tr>
- </tbody>
- </table>
- <table id="item2" style="width: 100%">
- <caption>Test table B</caption>
- <col width="100%"/>
- <tbody>
- <tr>
- <td><p><br/></p></td>
- </tr>
- </tbody>
- </table>
- <table id="item3" style="width: 100%">
- <caption>Test table C</caption>
- <col width="100%"/>
- <tbody>
- <tr>
- <td><p><br/></p></td>
- </tr>
- </tbody>
- </table>
- <table id="item4" style="width: 100%">
- <caption>Test table D</caption>
- <col width="100%"/>
- <tbody>
- <tr>
- <td><p><br/></p></td>
- </tr>
- </tbody>
- </table>
- </body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/8eda56a5/Editor/tests/outline/listOfTables01-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/listOfTables01-input.html b/Editor/tests/outline/listOfTables01-input.html
deleted file mode 100644
index a55383c..0000000
--- a/Editor/tests/outline/listOfTables01-input.html
+++ /dev/null
@@ -1,24 +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 tables
- createTestTables(4);
-
- // Add a list of tables
- Selection_set(document.body,0,document.body,0);
- Outline_insertListOfTables();
- PostponedActions_perform();
-}
-</script>
-</head>
-<body>
-</body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/8eda56a5/Editor/tests/outline/listOfTables02-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/listOfTables02-expected.html b/Editor/tests/outline/listOfTables02-expected.html
deleted file mode 100644
index 56cb8d6..0000000
--- a/Editor/tests/outline/listOfTables02-expected.html
+++ /dev/null
@@ -1,72 +0,0 @@
-<html>
- <head>
- <link href="../generic.css" rel="stylesheet"/>
- </head>
- <body>
- <nav class="listoftables">
- <p class="toc1">
- <a href="#item1">
- 1
- Test table A
- </a>
- </p>
- <p class="toc1">
- <a href="#item2">
- 2
- Test table BXYZ
- </a>
- </p>
- <p class="toc1">
- <a href="#item3">
- 3
- Test table C
- </a>
- </p>
- <p class="toc1">
- <a href="#item4">
- 4
- Test table D
- </a>
- </p>
- </nav>
- <table id="item1" style="width: 100%">
- <caption>Test table A</caption>
- <col width="100%"/>
- <tbody>
- <tr>
- <td><p><br/></p></td>
- </tr>
- </tbody>
- </table>
- <table id="item2" style="width: 100%">
- <caption>
- Test table B
- XYZ
- </caption>
- <col width="100%"/>
- <tbody>
- <tr>
- <td><p><br/></p></td>
- </tr>
- </tbody>
- </table>
- <table id="item3" style="width: 100%">
- <caption>Test table C</caption>
- <col width="100%"/>
- <tbody>
- <tr>
- <td><p><br/></p></td>
- </tr>
- </tbody>
- </table>
- <table id="item4" style="width: 100%">
- <caption>Test table D</caption>
- <col width="100%"/>
- <tbody>
- <tr>
- <td><p><br/></p></td>
- </tr>
- </tbody>
- </table>
- </body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/8eda56a5/Editor/tests/outline/listOfTables02-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/listOfTables02-input.html b/Editor/tests/outline/listOfTables02-input.html
deleted file mode 100644
index c510ecc..0000000
--- a/Editor/tests/outline/listOfTables02-input.html
+++ /dev/null
@@ -1,29 +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 tables
- createTestTables(4);
-
- // Add a list of tables
- Selection_set(document.body,0,document.body,0);
- Outline_insertListOfTables();
- PostponedActions_perform();
-
- // Modify the second table caption, to verify that the change is reflected in the LOT
- var caption = document.getElementsByTagName("caption")[1];
- DOM_appendChild(caption,DOM_createTextNode(document,"XYZ"));
- PostponedActions_perform();
-}
-</script>
-</head>
-<body>
-</body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/8eda56a5/Editor/tests/outline/listOfTables03-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/listOfTables03-expected.html b/Editor/tests/outline/listOfTables03-expected.html
deleted file mode 100644
index 8d55a43..0000000
--- a/Editor/tests/outline/listOfTables03-expected.html
+++ /dev/null
@@ -1,69 +0,0 @@
-<html>
- <head>
- <link href="../generic.css" rel="stylesheet"/>
- </head>
- <body>
- <nav class="listoftables">
- <p class="toc1">
- <a href="#item1">
- 1
- Test table A
- </a>
- </p>
- <p class="toc1">
- <a href="#item2">
- 2
- TeXYZst table B
- </a>
- </p>
- <p class="toc1">
- <a href="#item3">
- 3
- Test table C
- </a>
- </p>
- <p class="toc1">
- <a href="#item4">
- 4
- Test table D
- </a>
- </p>
- </nav>
- <table id="item1" style="width: 100%">
- <caption>Test table A</caption>
- <col width="100%"/>
- <tbody>
- <tr>
- <td><p><br/></p></td>
- </tr>
- </tbody>
- </table>
- <table id="item2" style="width: 100%">
- <caption>TeXYZst table B</caption>
- <col width="100%"/>
- <tbody>
- <tr>
- <td><p><br/></p></td>
- </tr>
- </tbody>
- </table>
- <table id="item3" style="width: 100%">
- <caption>Test table C</caption>
- <col width="100%"/>
- <tbody>
- <tr>
- <td><p><br/></p></td>
- </tr>
- </tbody>
- </table>
- <table id="item4" style="width: 100%">
- <caption>Test table D</caption>
- <col width="100%"/>
- <tbody>
- <tr>
- <td><p><br/></p></td>
- </tr>
- </tbody>
- </table>
- </body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/8eda56a5/Editor/tests/outline/listOfTables03-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/listOfTables03-input.html b/Editor/tests/outline/listOfTables03-input.html
deleted file mode 100644
index 05bdc92..0000000
--- a/Editor/tests/outline/listOfTables03-input.html
+++ /dev/null
@@ -1,29 +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 tables
- createTestTables(4);
-
- // Add a list of tables
- Selection_set(document.body,0,document.body,0);
- Outline_insertListOfTables();
- PostponedActions_perform();
-
- // Modify the second table caption, to verify that the change is reflected in the LOT
- var caption = document.getElementsByTagName("caption")[1];
- DOM_insertCharacters(caption.lastChild,2,"XYZ");
- PostponedActions_perform();
-}
-</script>
-</head>
-<body>
-</body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/8eda56a5/Editor/tests/outline/listOfTables04-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/listOfTables04-expected.html b/Editor/tests/outline/listOfTables04-expected.html
deleted file mode 100644
index b6b451b..0000000
--- a/Editor/tests/outline/listOfTables04-expected.html
+++ /dev/null
@@ -1,69 +0,0 @@
-<html>
- <head>
- <link href="../generic.css" rel="stylesheet"/>
- </head>
- <body>
- <nav class="listoftables">
- <p class="toc1">
- <a href="#item1">
- 1
- Test table A
- </a>
- </p>
- <p class="toc1">
- <a href="#item2">
- 2
- Teble B
- </a>
- </p>
- <p class="toc1">
- <a href="#item3">
- 3
- Test table C
- </a>
- </p>
- <p class="toc1">
- <a href="#item4">
- 4
- Test table D
- </a>
- </p>
- </nav>
- <table id="item1" style="width: 100%">
- <caption>Test table A</caption>
- <col width="100%"/>
- <tbody>
- <tr>
- <td><p><br/></p></td>
- </tr>
- </tbody>
- </table>
- <table id="item2" style="width: 100%">
- <caption>Teble B</caption>
- <col width="100%"/>
- <tbody>
- <tr>
- <td><p><br/></p></td>
- </tr>
- </tbody>
- </table>
- <table id="item3" style="width: 100%">
- <caption>Test table C</caption>
- <col width="100%"/>
- <tbody>
- <tr>
- <td><p><br/></p></td>
- </tr>
- </tbody>
- </table>
- <table id="item4" style="width: 100%">
- <caption>Test table D</caption>
- <col width="100%"/>
- <tbody>
- <tr>
- <td><p><br/></p></td>
- </tr>
- </tbody>
- </table>
- </body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/8eda56a5/Editor/tests/outline/listOfTables04-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/listOfTables04-input.html b/Editor/tests/outline/listOfTables04-input.html
deleted file mode 100644
index a747fd1..0000000
--- a/Editor/tests/outline/listOfTables04-input.html
+++ /dev/null
@@ -1,29 +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 tables
- createTestTables(4);
-
- // Add a list of tables
- Selection_set(document.body,0,document.body,0);
- Outline_insertListOfTables();
- PostponedActions_perform();
-
- // Modify the second table caption, to verify that the change is reflected in the LOT
- var caption = document.getElementsByTagName("caption")[1];
- DOM_deleteCharacters(caption.lastChild,2,7);
- PostponedActions_perform();
-}
-</script>
-</head>
-<body>
-</body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/8eda56a5/Editor/tests/outline/listOfTables05-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/listOfTables05-expected.html b/Editor/tests/outline/listOfTables05-expected.html
deleted file mode 100644
index d630969..0000000
--- a/Editor/tests/outline/listOfTables05-expected.html
+++ /dev/null
@@ -1,77 +0,0 @@
-<html>
- <head>
- <link href="../generic.css" rel="stylesheet"/>
- </head>
- <body>
- <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>
- <p class="toc1">
- <a href="#item3">
- 3
- Test table C
- </a>
- </p>
- <p class="toc1">
- <a href="#item4">
- 4
- Test table D
- </a>
- </p>
- </nav>
- <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>
- <table id="item3" style="width: 100%">
- <caption>Test table C</caption>
- <colgroup>
- <col width="100%"/>
- </colgroup>
- <tbody>
- <tr>
- <td><p><br/></p></td>
- </tr>
- </tbody>
- </table>
- <table id="item4" style="width: 100%">
- <caption>Test table D</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/8eda56a5/Editor/tests/outline/listOfTables05-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/listOfTables05-input.html b/Editor/tests/outline/listOfTables05-input.html
deleted file mode 100644
index 79bccc9..0000000
--- a/Editor/tests/outline/listOfTables05-input.html
+++ /dev/null
@@ -1,42 +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();
- Outline_detectSectionNumbering();
- PostponedActions_perform();
-
- // Add a list of tables
- Selection_set(document.body,0,document.body,0);
- Outline_insertListOfTables();
- PostponedActions_perform();
-}
-</script>
-</head>
-<body>
-<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>
-<table id="item3" style="width: 100%">
- <caption>Table 9: Test table C</caption>
- <col width="100%"/>
- <tr><td><p><br/></p></td></tr>
-</table>
-<table id="item4" style="width: 100%">
- <caption>Table 9: Test table D</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/8eda56a5/Editor/tests/outline/listOfTables06-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/listOfTables06-expected.html b/Editor/tests/outline/listOfTables06-expected.html
deleted file mode 100644
index fa069fe..0000000
--- a/Editor/tests/outline/listOfTables06-expected.html
+++ /dev/null
@@ -1,57 +0,0 @@
-<html>
- <head>
- <link href="../generic.css" rel="stylesheet"/>
- </head>
- <body>
- <nav class="listoftables">
- <p class="toc1"><a href="#item1">Test table A</a></p>
- <p class="toc1"><a href="#item2">Test table B</a></p>
- <p class="toc1"><a href="#item3">Test table C</a></p>
- <p class="toc1"><a href="#item4">Test table D</a></p>
- </nav>
- <table id="item1" style="width: 100%">
- <caption class="Unnumbered">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 class="Unnumbered">Test table B</caption>
- <colgroup>
- <col width="100%"/>
- </colgroup>
- <tbody>
- <tr>
- <td><p><br/></p></td>
- </tr>
- </tbody>
- </table>
- <table id="item3" style="width: 100%">
- <caption class="Unnumbered">Test table C</caption>
- <colgroup>
- <col width="100%"/>
- </colgroup>
- <tbody>
- <tr>
- <td><p><br/></p></td>
- </tr>
- </tbody>
- </table>
- <table id="item4" style="width: 100%">
- <caption class="Unnumbered">Test table D</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/8eda56a5/Editor/tests/outline/listOfTables06-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/listOfTables06-input.html b/Editor/tests/outline/listOfTables06-input.html
deleted file mode 100644
index 276b22b..0000000
--- a/Editor/tests/outline/listOfTables06-input.html
+++ /dev/null
@@ -1,42 +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();
- Outline_detectSectionNumbering();
- PostponedActions_perform();
-
- // Add a list of tables
- Selection_set(document.body,0,document.body,0);
- Outline_insertListOfTables();
- PostponedActions_perform();
-}
-</script>
-</head>
-<body>
-<table id="item1" style="width: 100%">
- <caption>Test table A</caption>
- <col width="100%"/>
- <tr><td><p><br/></p></td></tr>
-</table>
-<table id="item2" style="width: 100%">
- <caption>Test table B</caption>
- <col width="100%"/>
- <tr><td><p><br/></p></td></tr>
-</table>
-<table id="item3" style="width: 100%">
- <caption>Test table C</caption>
- <col width="100%"/>
- <tr><td><p><br/></p></td></tr>
-</table>
-<table id="item4" style="width: 100%">
- <caption>Test table D</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/8eda56a5/Editor/tests/outline/listOfTables07-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/listOfTables07-expected.html b/Editor/tests/outline/listOfTables07-expected.html
deleted file mode 100644
index 7e6c405..0000000
--- a/Editor/tests/outline/listOfTables07-expected.html
+++ /dev/null
@@ -1,49 +0,0 @@
-<html>
- <head>
- <link href="../generic.css" rel="stylesheet"/>
- </head>
- <body>
- <nav class="listoftables">
- <p class="toc1"><a href="#item1">Test table A</a></p>
- <p class="toc1"><a href="#item2">Test table B</a></p>
- <p class="toc1"><a href="#item3">Test table C</a></p>
- <p class="toc1"><a href="#item4">Test table D</a></p>
- </nav>
- <table id="item1" style="width: 100%">
- <caption class="Unnumbered">Test table A</caption>
- <col width="100%"/>
- <tbody>
- <tr>
- <td><p><br/></p></td>
- </tr>
- </tbody>
- </table>
- <table id="item2" style="width: 100%">
- <caption class="Unnumbered">Test table B</caption>
- <col width="100%"/>
- <tbody>
- <tr>
- <td><p><br/></p></td>
- </tr>
- </tbody>
- </table>
- <table id="item3" style="width: 100%">
- <caption class="Unnumbered">Test table C</caption>
- <col width="100%"/>
- <tbody>
- <tr>
- <td><p><br/></p></td>
- </tr>
- </tbody>
- </table>
- <table id="item4" style="width: 100%">
- <caption class="Unnumbered">Test table D</caption>
- <col width="100%"/>
- <tbody>
- <tr>
- <td><p><br/></p></td>
- </tr>
- </tbody>
- </table>
- </body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/8eda56a5/Editor/tests/outline/listOfTables07-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/listOfTables07-input.html b/Editor/tests/outline/listOfTables07-input.html
deleted file mode 100644
index 80c4f39..0000000
--- a/Editor/tests/outline/listOfTables07-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();
- PostponedActions_perform();
-
- // Create a series of tables
- createTestTables(4);
-
- // Turn numbering off for all tables
- setNumbering(false);
- PostponedActions_perform();
-
- // Add a list of tables
- Selection_set(document.body,0,document.body,0);
- Outline_insertListOfTables();
- PostponedActions_perform();
-}
-</script>
-</head>
-<body>
-</body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/8eda56a5/Editor/tests/outline/listOfTables08-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/listOfTables08-expected.html b/Editor/tests/outline/listOfTables08-expected.html
deleted file mode 100644
index 7e6c405..0000000
--- a/Editor/tests/outline/listOfTables08-expected.html
+++ /dev/null
@@ -1,49 +0,0 @@
-<html>
- <head>
- <link href="../generic.css" rel="stylesheet"/>
- </head>
- <body>
- <nav class="listoftables">
- <p class="toc1"><a href="#item1">Test table A</a></p>
- <p class="toc1"><a href="#item2">Test table B</a></p>
- <p class="toc1"><a href="#item3">Test table C</a></p>
- <p class="toc1"><a href="#item4">Test table D</a></p>
- </nav>
- <table id="item1" style="width: 100%">
- <caption class="Unnumbered">Test table A</caption>
- <col width="100%"/>
- <tbody>
- <tr>
- <td><p><br/></p></td>
- </tr>
- </tbody>
- </table>
- <table id="item2" style="width: 100%">
- <caption class="Unnumbered">Test table B</caption>
- <col width="100%"/>
- <tbody>
- <tr>
- <td><p><br/></p></td>
- </tr>
- </tbody>
- </table>
- <table id="item3" style="width: 100%">
- <caption class="Unnumbered">Test table C</caption>
- <col width="100%"/>
- <tbody>
- <tr>
- <td><p><br/></p></td>
- </tr>
- </tbody>
- </table>
- <table id="item4" style="width: 100%">
- <caption class="Unnumbered">Test table D</caption>
- <col width="100%"/>
- <tbody>
- <tr>
- <td><p><br/></p></td>
- </tr>
- </tbody>
- </table>
- </body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/8eda56a5/Editor/tests/outline/listOfTables08-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/listOfTables08-input.html b/Editor/tests/outline/listOfTables08-input.html
deleted file mode 100644
index 13928e2..0000000
--- a/Editor/tests/outline/listOfTables08-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();
- PostponedActions_perform();
-
- // Create a series of tables
- createTestTables(4);
-
- // Add a list of tables
- Selection_set(document.body,0,document.body,0);
- Outline_insertListOfTables();
- PostponedActions_perform();
-
- // Turn numbering off for all tables
- setNumbering(false);
- PostponedActions_perform();
-}
-</script>
-</head>
-<body>
-</body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/8eda56a5/Editor/tests/outline/listOfTables09-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/listOfTables09-expected.html b/Editor/tests/outline/listOfTables09-expected.html
deleted file mode 100644
index 22f283e..0000000
--- a/Editor/tests/outline/listOfTables09-expected.html
+++ /dev/null
@@ -1,59 +0,0 @@
-<html>
- <head>
- <link href="../generic.css" rel="stylesheet"/>
- </head>
- <body>
- <nav class="listoftables">
- <p class="toc1"><a href="#item1">Test table A</a></p>
- <p class="toc1"><a href="#item2">Test table B</a></p>
- <p class="toc1">
- <a href="#item3">
- 1
- Test table C
- </a>
- </p>
- <p class="toc1">
- <a href="#item4">
- 2
- Test table D
- </a>
- </p>
- </nav>
- <table id="item1" style="width: 100%">
- <caption class="Unnumbered">Test table A</caption>
- <col width="100%"/>
- <tbody>
- <tr>
- <td><p><br/></p></td>
- </tr>
- </tbody>
- </table>
- <table id="item2" style="width: 100%">
- <caption class="Unnumbered">Test table B</caption>
- <col width="100%"/>
- <tbody>
- <tr>
- <td><p><br/></p></td>
- </tr>
- </tbody>
- </table>
- <table id="item3" style="width: 100%">
- <caption>Test table C</caption>
- <col width="100%"/>
- <tbody>
- <tr>
- <td><p><br/></p></td>
- </tr>
- </tbody>
- </table>
- <table id="item4" style="width: 100%">
- <caption>Test table D</caption>
- <col width="100%"/>
- <tbody>
- <tr>
- <td><p><br/></p></td>
- </tr>
- </tbody>
- </table>
- </body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/8eda56a5/Editor/tests/outline/listOfTables09-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/listOfTables09-input.html b/Editor/tests/outline/listOfTables09-input.html
deleted file mode 100644
index 0b32d03..0000000
--- a/Editor/tests/outline/listOfTables09-input.html
+++ /dev/null
@@ -1,34 +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 tables
- createTestTables(4);
-
- // Turn numbering off for all tables
- setNumbering(false);
- PostponedActions_perform();
-
- // Add a list of tables
- Selection_set(document.body,0,document.body,0);
- Outline_insertListOfTables();
- PostponedActions_perform();
-
- // Turn numbering on for the last two tables
- var tables = document.getElementsByTagName("table");
- Outline_setNumbered(tables[2].getAttribute("id"),true);
- Outline_setNumbered(tables[3].getAttribute("id"),true);
- PostponedActions_perform();
-}
-</script>
-</head>
-<body>
-</body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/8eda56a5/Editor/tests/outline/listOfTables09a-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/listOfTables09a-expected.html b/Editor/tests/outline/listOfTables09a-expected.html
deleted file mode 100644
index 431c04a..0000000
--- a/Editor/tests/outline/listOfTables09a-expected.html
+++ /dev/null
@@ -1,69 +0,0 @@
-<html>
- <head>
- <link href="../generic.css" rel="stylesheet"/>
- </head>
- <body>
- <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>
- <p class="toc1">
- <a href="#item3">
- 3
- Test table C
- </a>
- </p>
- <p class="toc1">
- <a href="#item4">
- 4
- Test table D
- </a>
- </p>
- </nav>
- <table id="item1" style="width: 100%">
- <caption>Test table A</caption>
- <col width="100%"/>
- <tbody>
- <tr>
- <td><p><br/></p></td>
- </tr>
- </tbody>
- </table>
- <table id="item2" style="width: 100%">
- <caption>Test table B</caption>
- <col width="100%"/>
- <tbody>
- <tr>
- <td><p><br/></p></td>
- </tr>
- </tbody>
- </table>
- <table id="item3" style="width: 100%">
- <caption>Test table C</caption>
- <col width="100%"/>
- <tbody>
- <tr>
- <td><p><br/></p></td>
- </tr>
- </tbody>
- </table>
- <table id="item4" style="width: 100%">
- <caption>Test table D</caption>
- <col width="100%"/>
- <tbody>
- <tr>
- <td><p><br/></p></td>
- </tr>
- </tbody>
- </table>
- </body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/8eda56a5/Editor/tests/outline/listOfTables09a-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/listOfTables09a-input.html b/Editor/tests/outline/listOfTables09a-input.html
deleted file mode 100644
index 3200635..0000000
--- a/Editor/tests/outline/listOfTables09a-input.html
+++ /dev/null
@@ -1,40 +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 tables
- createTestTables(4);
-
- // Turn numbering off for all tables
- setNumbering(false);
- PostponedActions_perform();
-
- // Add a list of tables
- Selection_set(document.body,0,document.body,0);
- Outline_insertListOfTables();
- PostponedActions_perform();
-
- // Turn numbering on for the last two tables
- var tables = document.getElementsByTagName("table");
- Outline_setNumbered(tables[2].getAttribute("id"),true);
- Outline_setNumbered(tables[3].getAttribute("id"),true);
- PostponedActions_perform();
-
- // Now turn numbering on for the first two tables - the numbers for the others
- // should be adjusted
- Outline_setNumbered(tables[0].getAttribute("id"),true);
- Outline_setNumbered(tables[1].getAttribute("id"),true);
- PostponedActions_perform();
-}
-</script>
-</head>
-<body>
-</body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/8eda56a5/Editor/tests/outline/listOfTables10-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/listOfTables10-expected.html b/Editor/tests/outline/listOfTables10-expected.html
deleted file mode 100644
index a2bb877..0000000
--- a/Editor/tests/outline/listOfTables10-expected.html
+++ /dev/null
@@ -1,10 +0,0 @@
-<html>
- <head>
- <link href="../generic.css" rel="stylesheet"/>
- </head>
- <body>
- <nav class="listoftables">
- <p class="toc1">[No tables defined]</p>
- </nav>
- </body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/8eda56a5/Editor/tests/outline/listOfTables10-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/listOfTables10-input.html b/Editor/tests/outline/listOfTables10-input.html
deleted file mode 100644
index 3b27566..0000000
--- a/Editor/tests/outline/listOfTables10-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 list of tables
- Outline_insertListOfTables();
- PostponedActions_perform();
-}
-</script>
-</head>
-<body>
-[]
-</body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/8eda56a5/Editor/tests/outline/listOfTables11-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/listOfTables11-expected.html b/Editor/tests/outline/listOfTables11-expected.html
deleted file mode 100644
index a2bb877..0000000
--- a/Editor/tests/outline/listOfTables11-expected.html
+++ /dev/null
@@ -1,10 +0,0 @@
-<html>
- <head>
- <link href="../generic.css" rel="stylesheet"/>
- </head>
- <body>
- <nav class="listoftables">
- <p class="toc1">[No tables defined]</p>
- </nav>
- </body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/8eda56a5/Editor/tests/outline/listOfTables11-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/listOfTables11-input.html b/Editor/tests/outline/listOfTables11-input.html
deleted file mode 100644
index 01b5de2..0000000
--- a/Editor/tests/outline/listOfTables11-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 tables
- createTestTables(4);
-
- // Add a list of tables
- Selection_set(document.body,0,document.body,0);
- Outline_insertListOfTables();
- PostponedActions_perform();
-
- // Delete all tables
- var current = document.getElementsByTagName("table")[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/8eda56a5/Editor/tests/outline/moveSection-inner01-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/moveSection-inner01-expected.html b/Editor/tests/outline/moveSection-inner01-expected.html
deleted file mode 100644
index 429b869..0000000
--- a/Editor/tests/outline/moveSection-inner01-expected.html
+++ /dev/null
@@ -1,58 +0,0 @@
-<html>
- <head>
- <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="toc3"><a href="#item3">1.1.1 Section 3</a></p>
- <p class="toc3"><a href="#item4">1.1.2 Section 4</a></p>
- <p class="toc2"><a href="#item5">1.2 Section 5</a></p>
- <p class="toc3"><a href="#item6">1.2.1 Section 6</a></p>
- <p class="toc3"><a href="#item7">1.2.2 Section 7</a></p>
- <p class="toc2"><a href="#item8">1.3 Section 8</a></p>
- <p class="toc3"><a href="#item9">1.3.1 Section 9</a></p>
- <p class="toc3"><a href="#item10">1.3.2 Section 10</a></p>
- <p class="toc1"><a href="#item11">2 Section 11</a></p>
- <p class="toc1"><a href="#item12">3 Section 12</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>
- <h3 id="item3">Section 3</h3>
- <p>Content 3 A</p>
- <p>Content 3 B</p>
- <h3 id="item4">Section 4</h3>
- <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>
- <h1 id="item11">Section 11</h1>
- <p>Content 11 A</p>
- <p>Content 11 B</p>
- <h1 id="item12">Section 12</h1>
- <p>Content 12 A</p>
- <p>Content 12 B</p>
- </body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/8eda56a5/Editor/tests/outline/moveSection-inner01-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/moveSection-inner01-input.html b/Editor/tests/outline/moveSection-inner01-input.html
deleted file mode 100644
index 0942dc9..0000000
--- a/Editor/tests/outline/moveSection-inner01-input.html
+++ /dev/null
@@ -1,21 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script type="text/javascript" src="OutlineTest.js"></script>
-<script>
-
-function performTest()
-{
- setupOutlineNumbering();
- setupOutline([[2,2,2],0,0]);
-
- Outline_moveSection("item2","item1","item5");
-
- cleanupOutline();
-}
-</script>
-</head>
-<body>
-<nav class="tableofcontents"></nav>
-</body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/8eda56a5/Editor/tests/outline/moveSection-inner02-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/moveSection-inner02-expected.html b/Editor/tests/outline/moveSection-inner02-expected.html
deleted file mode 100644
index d7156c0..0000000
--- a/Editor/tests/outline/moveSection-inner02-expected.html
+++ /dev/null
@@ -1,58 +0,0 @@
-<html>
- <head>
- <style>
- </style>
- </head>
- <body>
- <nav class="tableofcontents">
- <p class="toc1"><a href="#item1">1 Section 1</a></p>
- <p class="toc2"><a href="#item5">1.1 Section 5</a></p>
- <p class="toc3"><a href="#item6">1.1.1 Section 6</a></p>
- <p class="toc3"><a href="#item7">1.1.2 Section 7</a></p>
- <p class="toc2"><a href="#item2">1.2 Section 2</a></p>
- <p class="toc3"><a href="#item3">1.2.1 Section 3</a></p>
- <p class="toc3"><a href="#item4">1.2.2 Section 4</a></p>
- <p class="toc2"><a href="#item8">1.3 Section 8</a></p>
- <p class="toc3"><a href="#item9">1.3.1 Section 9</a></p>
- <p class="toc3"><a href="#item10">1.3.2 Section 10</a></p>
- <p class="toc1"><a href="#item11">2 Section 11</a></p>
- <p class="toc1"><a href="#item12">3 Section 12</a></p>
- </nav>
- <h1 id="item1">Section 1</h1>
- <p>Content 1 A</p>
- <p>Content 1 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="item2">Section 2</h2>
- <p>Content 2 A</p>
- <p>Content 2 B</p>
- <h3 id="item3">Section 3</h3>
- <p>Content 3 A</p>
- <p>Content 3 B</p>
- <h3 id="item4">Section 4</h3>
- <p>Content 4 A</p>
- <p>Content 4 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>
- <h1 id="item11">Section 11</h1>
- <p>Content 11 A</p>
- <p>Content 11 B</p>
- <h1 id="item12">Section 12</h1>
- <p>Content 12 A</p>
- <p>Content 12 B</p>
- </body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/8eda56a5/Editor/tests/outline/moveSection-inner02-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/moveSection-inner02-input.html b/Editor/tests/outline/moveSection-inner02-input.html
deleted file mode 100644
index 66df792..0000000
--- a/Editor/tests/outline/moveSection-inner02-input.html
+++ /dev/null
@@ -1,21 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script type="text/javascript" src="OutlineTest.js"></script>
-<script>
-
-function performTest()
-{
- setupOutlineNumbering();
- setupOutline([[2,2,2],0,0]);
-
- Outline_moveSection("item2","item1","item8");
-
- cleanupOutline();
-}
-</script>
-</head>
-<body>
-<nav class="tableofcontents"></nav>
-</body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/8eda56a5/Editor/tests/outline/moveSection-inner03-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/moveSection-inner03-expected.html b/Editor/tests/outline/moveSection-inner03-expected.html
deleted file mode 100644
index 8bc2598..0000000
--- a/Editor/tests/outline/moveSection-inner03-expected.html
+++ /dev/null
@@ -1,58 +0,0 @@
-<html>
- <head>
- <style>
- </style>
- </head>
- <body>
- <nav class="tableofcontents">
- <p class="toc1"><a href="#item1">1 Section 1</a></p>
- <p class="toc2"><a href="#item5">1.1 Section 5</a></p>
- <p class="toc3"><a href="#item6">1.1.1 Section 6</a></p>
- <p class="toc3"><a href="#item7">1.1.2 Section 7</a></p>
- <p class="toc2"><a href="#item8">1.2 Section 8</a></p>
- <p class="toc3"><a href="#item9">1.2.1 Section 9</a></p>
- <p class="toc3"><a href="#item10">1.2.2 Section 10</a></p>
- <p class="toc2"><a href="#item2">1.3 Section 2</a></p>
- <p class="toc3"><a href="#item3">1.3.1 Section 3</a></p>
- <p class="toc3"><a href="#item4">1.3.2 Section 4</a></p>
- <p class="toc1"><a href="#item11">2 Section 11</a></p>
- <p class="toc1"><a href="#item12">3 Section 12</a></p>
- </nav>
- <h1 id="item1">Section 1</h1>
- <p>Content 1 A</p>
- <p>Content 1 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>
- <h2 id="item2">Section 2</h2>
- <p>Content 2 A</p>
- <p>Content 2 B</p>
- <h3 id="item3">Section 3</h3>
- <p>Content 3 A</p>
- <p>Content 3 B</p>
- <h3 id="item4">Section 4</h3>
- <p>Content 4 A</p>
- <p>Content 4 B</p>
- <h1 id="item11">Section 11</h1>
- <p>Content 11 A</p>
- <p>Content 11 B</p>
- <h1 id="item12">Section 12</h1>
- <p>Content 12 A</p>
- <p>Content 12 B</p>
- </body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/8eda56a5/Editor/tests/outline/moveSection-inner03-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/moveSection-inner03-input.html b/Editor/tests/outline/moveSection-inner03-input.html
deleted file mode 100644
index 57495a4..0000000
--- a/Editor/tests/outline/moveSection-inner03-input.html
+++ /dev/null
@@ -1,21 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script type="text/javascript" src="OutlineTest.js"></script>
-<script>
-
-function performTest()
-{
- setupOutlineNumbering();
- setupOutline([[2,2,2],0,0]);
-
- Outline_moveSection("item2","item1",null);
-
- cleanupOutline();
-}
-</script>
-</head>
-<body>
-<nav class="tableofcontents"></nav>
-</body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/8eda56a5/Editor/tests/outline/moveSection-inner04-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/moveSection-inner04-expected.html b/Editor/tests/outline/moveSection-inner04-expected.html
deleted file mode 100644
index d7156c0..0000000
--- a/Editor/tests/outline/moveSection-inner04-expected.html
+++ /dev/null
@@ -1,58 +0,0 @@
-<html>
- <head>
- <style>
- </style>
- </head>
- <body>
- <nav class="tableofcontents">
- <p class="toc1"><a href="#item1">1 Section 1</a></p>
- <p class="toc2"><a href="#item5">1.1 Section 5</a></p>
- <p class="toc3"><a href="#item6">1.1.1 Section 6</a></p>
- <p class="toc3"><a href="#item7">1.1.2 Section 7</a></p>
- <p class="toc2"><a href="#item2">1.2 Section 2</a></p>
- <p class="toc3"><a href="#item3">1.2.1 Section 3</a></p>
- <p class="toc3"><a href="#item4">1.2.2 Section 4</a></p>
- <p class="toc2"><a href="#item8">1.3 Section 8</a></p>
- <p class="toc3"><a href="#item9">1.3.1 Section 9</a></p>
- <p class="toc3"><a href="#item10">1.3.2 Section 10</a></p>
- <p class="toc1"><a href="#item11">2 Section 11</a></p>
- <p class="toc1"><a href="#item12">3 Section 12</a></p>
- </nav>
- <h1 id="item1">Section 1</h1>
- <p>Content 1 A</p>
- <p>Content 1 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="item2">Section 2</h2>
- <p>Content 2 A</p>
- <p>Content 2 B</p>
- <h3 id="item3">Section 3</h3>
- <p>Content 3 A</p>
- <p>Content 3 B</p>
- <h3 id="item4">Section 4</h3>
- <p>Content 4 A</p>
- <p>Content 4 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>
- <h1 id="item11">Section 11</h1>
- <p>Content 11 A</p>
- <p>Content 11 B</p>
- <h1 id="item12">Section 12</h1>
- <p>Content 12 A</p>
- <p>Content 12 B</p>
- </body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/8eda56a5/Editor/tests/outline/moveSection-inner04-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/moveSection-inner04-input.html b/Editor/tests/outline/moveSection-inner04-input.html
deleted file mode 100644
index 0d8a5e9..0000000
--- a/Editor/tests/outline/moveSection-inner04-input.html
+++ /dev/null
@@ -1,21 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script type="text/javascript" src="OutlineTest.js"></script>
-<script>
-
-function performTest()
-{
- setupOutlineNumbering();
- setupOutline([[2,2,2],0,0]);
-
- Outline_moveSection("item5","item1","item2");
-
- cleanupOutline();
-}
-</script>
-</head>
-<body>
-<nav class="tableofcontents"></nav>
-</body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/8eda56a5/Editor/tests/outline/moveSection-inner05-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/moveSection-inner05-expected.html b/Editor/tests/outline/moveSection-inner05-expected.html
deleted file mode 100644
index 429b869..0000000
--- a/Editor/tests/outline/moveSection-inner05-expected.html
+++ /dev/null
@@ -1,58 +0,0 @@
-<html>
- <head>
- <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="toc3"><a href="#item3">1.1.1 Section 3</a></p>
- <p class="toc3"><a href="#item4">1.1.2 Section 4</a></p>
- <p class="toc2"><a href="#item5">1.2 Section 5</a></p>
- <p class="toc3"><a href="#item6">1.2.1 Section 6</a></p>
- <p class="toc3"><a href="#item7">1.2.2 Section 7</a></p>
- <p class="toc2"><a href="#item8">1.3 Section 8</a></p>
- <p class="toc3"><a href="#item9">1.3.1 Section 9</a></p>
- <p class="toc3"><a href="#item10">1.3.2 Section 10</a></p>
- <p class="toc1"><a href="#item11">2 Section 11</a></p>
- <p class="toc1"><a href="#item12">3 Section 12</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>
- <h3 id="item3">Section 3</h3>
- <p>Content 3 A</p>
- <p>Content 3 B</p>
- <h3 id="item4">Section 4</h3>
- <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>
- <h1 id="item11">Section 11</h1>
- <p>Content 11 A</p>
- <p>Content 11 B</p>
- <h1 id="item12">Section 12</h1>
- <p>Content 12 A</p>
- <p>Content 12 B</p>
- </body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/8eda56a5/Editor/tests/outline/moveSection-inner05-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/moveSection-inner05-input.html b/Editor/tests/outline/moveSection-inner05-input.html
deleted file mode 100644
index 67bd46b..0000000
--- a/Editor/tests/outline/moveSection-inner05-input.html
+++ /dev/null
@@ -1,21 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script type="text/javascript" src="OutlineTest.js"></script>
-<script>
-
-function performTest()
-{
- setupOutlineNumbering();
- setupOutline([[2,2,2],0,0]);
-
- Outline_moveSection("item5","item1","item8");
-
- cleanupOutline();
-}
-</script>
-</head>
-<body>
-<nav class="tableofcontents"></nav>
-</body>
-</html>