[Pkg-mozext-commits] [itsalltext] 244/459: Added menu tests

David Prévot taffit at moszumanska.debian.org
Tue Feb 24 23:26:26 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository itsalltext.

commit fd1b3b005f0462d9caf6463b5f0cba1cd0fc15fa
Author: Christian Höltje <docwhat at gerf.org>
Date:   Tue Jun 19 21:38:27 2007 -0400

    Added menu tests
---
 tests/index.html |  1 +
 tests/menu.html  | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 tests/style.css  |  2 +-
 3 files changed, 62 insertions(+), 1 deletion(-)

diff --git a/tests/index.html b/tests/index.html
index 0c74149..bdab090 100644
--- a/tests/index.html
+++ b/tests/index.html
@@ -27,6 +27,7 @@
       <li><a href="setup.html">Setup Tests</a></li>
       <li><a href="basic.html">Basic HTML</a></li>
       <li><a href="basic.xhtml">Basic XHTML</a></li>
+      <li><a href="menu.html">Menus</a></li>
       <li><a href="extended.html">Extended Attributes</a></li>
       <li><a href="hidden.html">Hidden Textareas</a></li>
       <li><a href="style.html">Styles</a></li>
diff --git a/tests/menu.html b/tests/menu.html
new file mode 100644
index 0000000..b7a970d
--- /dev/null
+++ b/tests/menu.html
@@ -0,0 +1,60 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Strict//EN">
+<html>
+  <head>
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <title>Menu Tests</title>
+    <link rel="stylesheet" href="style.css" type="text/css">
+  </head>
+
+  <body>
+    <h1>Menu Tests</h1>
+
+    <div class="back"><a href=".">back</a></div>
+
+    <p>
+      Purpose: To verify that the menus work correctly.
+    </p>
+
+    <form action="" method="get">
+      <p>
+        Use this textarea for the tests below:
+        <textarea>testing area</textarea>
+      </p>
+    </form>
+    
+    <ol>
+      <li>
+        Right-click on the <b>edit button</b>. Verify that the context menu appears near the cursor.  It should contain (Modulo text changes.  Please notify me of inaccuracies):
+        <ul>
+          <li><tt>Edit with new extension...</tt></li>
+          <li>( a list of extensions )</li>
+          <li><tt>View README...</tt></li>
+          <li><tt>Preferences</tt></li>
+        </ul>
+      </li>
+      <li>
+        Right-click on the <tt>textarea</tt>.  Click on <tt>It's All Text!</tt>.  It should contain (Modulo text changes.  Please notify me of inaccuracies):
+        <ul>
+          <li><tt>Edit with default extension...</tt></li>
+          <li><tt>Edit with new extension...</tt></li>
+          <li>( a list of extensions )</li>
+          <li><tt>View README...</tt></li>
+          <li><tt>Preferences</tt></li>
+        </ul>
+      </li>
+      <li>
+        Right-click on the <b>edit button</b> again. Verify that the context menu appears near the cursor as it did the first time.
+      </li>
+      <li>
+        Go to the menu <tt>Tools -> It's All Text!</tt>.  Verify that it contains:
+        <ul>
+          <li><tt>View README...</tt></li>
+          <li><tt>Preferences</tt></li>
+        </ul>
+      </li>
+    </ol>
+
+    <div class="back"><a href=".">back</a></div>
+  </body>
+</html>
+
diff --git a/tests/style.css b/tests/style.css
index deee5e7..853bc49 100644
--- a/tests/style.css
+++ b/tests/style.css
@@ -7,7 +7,7 @@ form { margin: 0; padding: 0; }
 textarea { background: #ddd; color: #000; 
            height: 5ex; width: 10em; display: inline; }
 
-tt { color: #080; font-weight: bold; font-size: 1.2em; }
+tt { color: #080; font-weight: bold; font-size: 1.1em; }
 
 ol li, ul li, p { line-height: 1.2em; margin: 0.4em; }
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/itsalltext.git



More information about the Pkg-mozext-commits mailing list