[orca] Regression tests: Add missing "supporting files" for new test cases



commit 2acc1e3223be41198838efe6345c6696e295dba5
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Wed Aug 20 09:25:36 2014 -0400

    Regression tests: Add missing "supporting files" for new test cases

 test/html/fail-fragment.html |   20 ++++++++++++++++++++
 test/html/fail.html          |   10 ++++++++++
 test/html/pass-fragment.html |   20 ++++++++++++++++++++
 test/html/pass.html          |   12 ++++++++++++
 test/html/picture.png        |  Bin 0 -> 4435 bytes
 5 files changed, 62 insertions(+), 0 deletions(-)
---
diff --git a/test/html/fail-fragment.html b/test/html/fail-fragment.html
new file mode 100644
index 0000000..a4e2ead
--- /dev/null
+++ b/test/html/fail-fragment.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+ <meta charset="utf-8">
+ <head>
+  <title>Invalid longdesc test page</title>
+ </head>
+ <body>
+  <h1>Fail if you land here</h1>
+<div>
+<p>Testing tools such as validators should give a warning that this page is probably violating the 
SHOULD-level requirement that external descriptions which are a fragment of a document should be a 
well-formed fragment. Using an empty element as a description is almost certainly an inadequate 
description</p>
+</div>
+<div>
+  <h1><a id="fragment"></a>The description</h1>
+ <p>The image is a drawn cartoon, on the left is a parson in a wheelchair in profile, facing toward the 
centre of the image, under a banner with the text "e-democracy?" on it. In front of the person is stairs, at 
the top of the stairs is a table. On the table is a computer, whose screen says "Vote!" and has a red and a 
green button</p>
+ <p>The image is signed in the space under the floor that is at the top of the stairs with an "R" rune 
flipped backwards, somewhat resembling a "Я" with top and bottom border lines sloping upward from left to 
right, and is marked ©2013. It was actually drawn by Charles McCathie Nevile.</p>
+</div>
+<p>This paragraph is not part of the description. As of September 2013 there is no conformance requirement 
making it a failure to read this paragraph, but best practice would be to present only the description, and 
not this part.</p>
+<p>The description is encapsulated in a well-formed fragment, but since the target of a link is an empty 
element it is not possible to positively identify it.</p> 
+ </body>
+</html>
\ No newline at end of file
diff --git a/test/html/fail.html b/test/html/fail.html
new file mode 100644
index 0000000..37893ef
--- /dev/null
+++ b/test/html/fail.html
@@ -0,0 +1,10 @@
+<!DOCTYPE html>
+<html>
+ <head>
+  <title>Longdesc test Fail page</title>
+ </head>
+ <body>
+  <h1>Fail</h1>
+  <p>Apparently, something went wrong and the test has been failed.</p>
+ </body>
+</html>
\ No newline at end of file
diff --git a/test/html/pass-fragment.html b/test/html/pass-fragment.html
new file mode 100644
index 0000000..076f4f0
--- /dev/null
+++ b/test/html/pass-fragment.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+ <meta charset="utf-8">
+ <head>
+  <title>Longdesc test Pass page</title>
+ </head>
+ <body>
+  <h1>Fail if you land here</h1>
+<div style="height:200em">
+<p>This is a landing page for tests of the longdesc attribute. To pass, when opening a longdesc that points 
to this page, the focus should be on a heading with the text "pass" followed by a description of an image</p>
+</div>
+<div id="fragment" style="min-height:20em">
+  <h1>Pass</h1>
+ <p>The image is a drawn cartoon, on the left is a parson in a wheelchair in profile, facing toward the 
centre of the image, under a banner with the text "e-democracy?" on it. In front of the person is stairs, at 
the top of the stairs is a table. On the table is a computer, whose screen says "Vote!" and has a red and a 
green button</p>
+ <p>The image is signed in the space under the floor that is at the top of the stairs with an "R" rune 
flipped backwards, somewhat resembling a "Я" with top and bottom border lines sloping upward from left to 
right, and is marked ©2013. It was actually drawn by Charles McCathie Nevile.</p>
+</div>
+<p>This paragraph is not part of the description. As of September 2013 there is no conformance requirement 
making it a failure to read this paragraph, best practice would be to present only the description, and not 
this part.</p>
+<p>The description is encapsulated in a well-formed div element, so it is possible to identify it.</p> 
+ </body>
+</html>
\ No newline at end of file
diff --git a/test/html/pass.html b/test/html/pass.html
new file mode 100644
index 0000000..d3ee981
--- /dev/null
+++ b/test/html/pass.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<html>
+ <meta charset="utf-8">
+ <head>
+  <title>Longdesc test Pass page</title>
+ </head>
+ <body>
+  <h1>Pass</h1>
+ <p>The image is a drawn cartoon, on the left is a parson in a wheelchair in profile, facing toward the 
centre of the image, under a banner with the text "e-democracy?" on it. In front of the person is stairs, at 
the top of the stairs is a table. On the table is a computer, whose screen says "Vote!" and has a red and a 
green button</p>
+ <p>The image is signed in the space under the floor that is at the top of the stairs with an "R" rune 
flipped backwards, somewhat resembling a "Я" with top and bottom border lines sloping upward from left to 
right, and is marked ©2013. It was actually drawn by Charles McCathie Nevile.</p> 
+ </body>
+</html>
\ No newline at end of file
diff --git a/test/html/picture.png b/test/html/picture.png
new file mode 100644
index 0000000..e4ebb70
Binary files /dev/null and b/test/html/picture.png differ


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]