Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Goldthorpe2008-07-09 17:50:40 -0400
committerChris Goldthorpe2008-07-09 17:50:40 -0400
commit94142f06859b5564253d21c32c0bbdaa2c07704c (patch)
treee12b4a103f0c3bc71f1040454ad1b32c7cc26160 /org.eclipse.ua.tests/data/help/search
parent61b609ed3bc7e14a9b03602b68a1d605f0984e8e (diff)
downloadeclipse.platform.ua-94142f06859b5564253d21c32c0bbdaa2c07704c.tar.gz
eclipse.platform.ua-94142f06859b5564253d21c32c0bbdaa2c07704c.tar.xz
eclipse.platform.ua-94142f06859b5564253d21c32c0bbdaa2c07704c.zip
Add search tests for wildcards and locales
Diffstat (limited to 'org.eclipse.ua.tests/data/help/search')
-rw-r--r--org.eclipse.ua.tests/data/help/search/test10.xhtml22
-rw-r--r--org.eclipse.ua.tests/data/help/search/test_de.html17
-rw-r--r--org.eclipse.ua.tests/data/help/search/test_en.html19
-rw-r--r--org.eclipse.ua.tests/data/help/search/testnl1.xhtml20
-rw-r--r--org.eclipse.ua.tests/data/help/search/toc.xml6
5 files changed, 84 insertions, 0 deletions
diff --git a/org.eclipse.ua.tests/data/help/search/test10.xhtml b/org.eclipse.ua.tests/data/help/search/test10.xhtml
new file mode 100644
index 000000000..3ac9d6493
--- /dev/null
+++ b/org.eclipse.ua.tests/data/help/search/test10.xhtml
@@ -0,0 +1,22 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+<title>test10.xhtml</title>
+</head>
+
+<body>
+<p>
+This paragraph contains some words which should be detected by search stemming.
+English suffixes "ed", "ing"
+udjerufdjded kjfdskajdfskaing
+English prefix "re"
+redhdsahkdshakjd
+German Suffixes "heit", "isch"
+iskdskhfsffkeit dfskajkfsafaisch
+</p>
+
+
+</body>
+</html>
diff --git a/org.eclipse.ua.tests/data/help/search/test_de.html b/org.eclipse.ua.tests/data/help/search/test_de.html
new file mode 100644
index 000000000..ac9762a19
--- /dev/null
+++ b/org.eclipse.ua.tests/data/help/search/test_de.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+<title>testde.html</title>
+</head>
+
+<body>
+<p>
+This page only exists in the default locale of the toc.
+</p>
+
+<p> These words should never be matched undefgfdsgfds undeffdsafds </p>
+
+</body>
+</html>
diff --git a/org.eclipse.ua.tests/data/help/search/test_en.html b/org.eclipse.ua.tests/data/help/search/test_en.html
new file mode 100644
index 000000000..feac777da
--- /dev/null
+++ b/org.eclipse.ua.tests/data/help/search/test_en.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+<title>testen.html</title>
+</head>
+
+<body>
+<p>
+This page exists only in the default locale for the TOC.
+</p>
+
+<p>
+Some unique words idskrekfuej fdkjflkjfjf ielfeldpoel
+</p>
+
+</body>
+</html>
diff --git a/org.eclipse.ua.tests/data/help/search/testnl1.xhtml b/org.eclipse.ua.tests/data/help/search/testnl1.xhtml
new file mode 100644
index 000000000..e7f3b5d24
--- /dev/null
+++ b/org.eclipse.ua.tests/data/help/search/testnl1.xhtml
@@ -0,0 +1,20 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+<title>test1nl.xhtml</title>
+</head>
+
+<body>
+<p>
+This document has different versions for different locales. This is the "en" version.
+</p>
+
+<p>
+Here are some unique words:
+fesaggresgf duejrnfjudshebn prerwfdsfds
+</p>
+
+</body>
+</html>
diff --git a/org.eclipse.ua.tests/data/help/search/toc.xml b/org.eclipse.ua.tests/data/help/search/toc.xml
index 963ff11bf..134b557cb 100644
--- a/org.eclipse.ua.tests/data/help/search/toc.xml
+++ b/org.eclipse.ua.tests/data/help/search/toc.xml
@@ -13,5 +13,11 @@
<topic label="test9(a).htm" href="data/help/search/test9.htm"/>
<topic label="test9(b).htm" href="data/help/search/extraDir/../test9.htm"/>
<topic label="test9(c).htm" href="data/help/search//extraDir//subdir/../../test9.htm"/>
+ <topic href="data/help/search/test10.xhtml" label="test10.xhtml">
+ </topic>
+ <topic href="data/help/search/testnl1.xhtml" label="test1nl.xhtml">
+ </topic>
+ <topic href="data/help/search/test_en.html" label="testen.html">
+ </topic>
</topic>
</toc>

Back to the top