Rename manual tests to make more sense
authorAryeh Gregor <AryehGregor+gitcommit@gmail.com>
Sun, 19 Jun 2011 13:53:21 -0600
changeset 296 6a6423b5f64d
parent 295 9a10e6f4641f
child 297 b8bed880fd3b
Rename manual tests to make more sense
backspacetest.html
deletetest.html
forwarddeletetest.html
insertparagraphtest.html
inserttexttest.html
linebreaktest.html
--- a/backspacetest.html	Sun Jun 19 13:45:14 2011 -0600
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,34 +0,0 @@
-<!doctype html>
-<meta charset=utf-8>
-<title>Backspace tests</title>
-<link rel=stylesheet href=tests.css>
-<p>Legend: {[ are the selection anchor, }] are the selection focus, {}
-represent an element boundary point, [] represent a text node boundary point.
-Syntax and some of the tests taken from <a
-href=http://www.browserscope.org/richtext2/test>Browserscope</a>.  data-start
-and data-end attributes also represent element boundary points, with the node
-being the element with the attribute and the offset given as the attribute
-value, for cases where HTML parsing doesn't allow text nodes.  Currently we
-don't really pay attention to reversed selections at all, so they might get
-displayed as forwards or such.
-
-<p><input type=button value="Clear cached results" onclick="clearCachedResults()">
-
-<div id=tests>
-	<input type=button value="Run tests" onclick="runTests()">
-	<table border=1><tr><th>Input<th>Spec<th>Browser<th>Same</table>
-	<p><label>New test input: <input></label> <input type=button value="Add test" onclick="addTest()">
-</div>
-
-<div id=overlay>Tap backspace repeatedly until this annoying message
-disappears!  (But not too quickly.  And don't hit any other keys or click with
-the mouse anywhere, it will mess it up.<span id=testcount>  <span></span>
-manual test(s) remain.</span>)</div>
-
-<script src=implementation.js></script>
-<script src=tests.js></script>
-<script>
-var command = "delete";
-var keyname = "backspace";
-</script>
-<script src=manualtest.js></script>
--- a/deletetest.html	Sun Jun 19 13:45:14 2011 -0600
+++ b/deletetest.html	Sun Jun 19 13:53:21 2011 -0600
@@ -1,6 +1,6 @@
 <!doctype html>
 <meta charset=utf-8>
-<title>Delete tests</title>
+<title>Manual delete (backspace) tests</title>
 <link rel=stylesheet href=tests.css>
 <p>Legend: {[ are the selection anchor, }] are the selection focus, {}
 represent an element boundary point, [] represent a text node boundary point.
@@ -20,7 +20,7 @@
 	<p><label>New test input: <input></label> <input type=button value="Add test" onclick="addTest()">
 </div>
 
-<div id=overlay>Tap delete repeatedly until this annoying message
+<div id=overlay>Tap backspace repeatedly until this annoying message
 disappears!  (But not too quickly.  And don't hit any other keys or click with
 the mouse anywhere, it will mess it up.<span id=testcount>  <span></span>
 manual test(s) remain.</span>)</div>
@@ -28,7 +28,7 @@
 <script src=implementation.js></script>
 <script src=tests.js></script>
 <script>
-var command = "forwarddelete";
-var keyname = "delete";
+var command = "delete";
+var keyname = "backspace";
 </script>
 <script src=manualtest.js></script>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/forwarddeletetest.html	Sun Jun 19 13:53:21 2011 -0600
@@ -0,0 +1,34 @@
+<!doctype html>
+<meta charset=utf-8>
+<title>Manual forwardDelete (delete key) tests</title>
+<link rel=stylesheet href=tests.css>
+<p>Legend: {[ are the selection anchor, }] are the selection focus, {}
+represent an element boundary point, [] represent a text node boundary point.
+Syntax and some of the tests taken from <a
+href=http://www.browserscope.org/richtext2/test>Browserscope</a>.  data-start
+and data-end attributes also represent element boundary points, with the node
+being the element with the attribute and the offset given as the attribute
+value, for cases where HTML parsing doesn't allow text nodes.  Currently we
+don't really pay attention to reversed selections at all, so they might get
+displayed as forwards or such.
+
+<p><input type=button value="Clear cached results" onclick="clearCachedResults()">
+
+<div id=tests>
+	<input type=button value="Run tests" onclick="runTests()">
+	<table border=1><tr><th>Input<th>Spec<th>Browser<th>Same</table>
+	<p><label>New test input: <input></label> <input type=button value="Add test" onclick="addTest()">
+</div>
+
+<div id=overlay>Tap delete repeatedly until this annoying message
+disappears!  (But not too quickly.  And don't hit any other keys or click with
+the mouse anywhere, it will mess it up.<span id=testcount>  <span></span>
+manual test(s) remain.</span>)</div>
+
+<script src=implementation.js></script>
+<script src=tests.js></script>
+<script>
+var command = "forwarddelete";
+var keyname = "delete";
+</script>
+<script src=manualtest.js></script>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/insertparagraphtest.html	Sun Jun 19 13:53:21 2011 -0600
@@ -0,0 +1,34 @@
+<!doctype html>
+<meta charset=utf-8>
+<title>Manual insertParagraph (enter key) tests</title>
+<link rel=stylesheet href=tests.css>
+<p>Legend: {[ are the selection anchor, }] are the selection focus, {}
+represent an element boundary point, [] represent a text node boundary point.
+Syntax and some of the tests taken from <a
+href=http://www.browserscope.org/richtext2/test>Browserscope</a>.  data-start
+and data-end attributes also represent element boundary points, with the node
+being the element with the attribute and the offset given as the attribute
+value, for cases where HTML parsing doesn't allow text nodes.  Currently we
+don't really pay attention to reversed selections at all, so they might get
+displayed as forwards or such.
+
+<p><input type=button value="Clear cached results" onclick="clearCachedResults()">
+
+<div id=tests>
+	<input type=button value="Run tests" onclick="runTests()">
+	<table border=1><tr><th>Input<th>Spec<th>Browser<th>Same</table>
+	<p><label>New test input: <input></label> <input type=button value="Add test" onclick="addTest()">
+</div>
+
+<div id=overlay>Tap enter repeatedly until this annoying message
+disappears!  (But not too quickly.  And don't hit any other keys or click with
+the mouse anywhere, it will mess it up.<span id=testcount>  <span></span>
+manual test(s) remain.</span>)</div>
+
+<script src=implementation.js></script>
+<script src=tests.js></script>
+<script>
+var command = "insertparagraph";
+var keyname = "linebreak";
+</script>
+<script src=manualtest.js></script>
--- a/inserttexttest.html	Sun Jun 19 13:45:14 2011 -0600
+++ b/inserttexttest.html	Sun Jun 19 13:53:21 2011 -0600
@@ -1,6 +1,6 @@
 <!doctype html>
 <meta charset=utf-8>
-<title>Text insertion tests</title>
+<title>Manual insertText tests</title>
 <link rel=stylesheet href=tests.css>
 <p>Legend: {[ are the selection anchor, }] are the selection focus, {}
 represent an element boundary point, [] represent a text node boundary point.
--- a/linebreaktest.html	Sun Jun 19 13:45:14 2011 -0600
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,34 +0,0 @@
-<!doctype html>
-<meta charset=utf-8>
-<title>Line-breaking tests</title>
-<link rel=stylesheet href=tests.css>
-<p>Legend: {[ are the selection anchor, }] are the selection focus, {}
-represent an element boundary point, [] represent a text node boundary point.
-Syntax and some of the tests taken from <a
-href=http://www.browserscope.org/richtext2/test>Browserscope</a>.  data-start
-and data-end attributes also represent element boundary points, with the node
-being the element with the attribute and the offset given as the attribute
-value, for cases where HTML parsing doesn't allow text nodes.  Currently we
-don't really pay attention to reversed selections at all, so they might get
-displayed as forwards or such.
-
-<p><input type=button value="Clear cached results" onclick="clearCachedResults()">
-
-<div id=tests>
-	<input type=button value="Run tests" onclick="runTests()">
-	<table border=1><tr><th>Input<th>Spec<th>Browser<th>Same</table>
-	<p><label>New test input: <input></label> <input type=button value="Add test" onclick="addTest()">
-</div>
-
-<div id=overlay>Tap enter repeatedly until this annoying message
-disappears!  (But not too quickly.  And don't hit any other keys or click with
-the mouse anywhere, it will mess it up.<span id=testcount>  <span></span>
-manual test(s) remain.</span>)</div>
-
-<script src=implementation.js></script>
-<script src=tests.js></script>
-<script>
-var command = "insertparagraph";
-var keyname = "linebreak";
-</script>
-<script src=manualtest.js></script>