Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Goldthorpe2008-07-09 21:50:40 +0000
committerChris Goldthorpe2008-07-09 21:50:40 +0000
commit94142f06859b5564253d21c32c0bbdaa2c07704c (patch)
treee12b4a103f0c3bc71f1040454ad1b32c7cc26160 /org.eclipse.ua.tests/nl
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/nl')
-rw-r--r--org.eclipse.ua.tests/nl/de/data/help/search/test_de.html19
-rw-r--r--org.eclipse.ua.tests/nl/de/data/help/search/test_en.html17
-rw-r--r--org.eclipse.ua.tests/nl/de/data/help/search/testnl1.xhtml20
-rw-r--r--org.eclipse.ua.tests/nl/de/data/help/search/toc.xml23
4 files changed, 79 insertions, 0 deletions
diff --git a/org.eclipse.ua.tests/nl/de/data/help/search/test_de.html b/org.eclipse.ua.tests/nl/de/data/help/search/test_de.html
new file mode 100644
index 000000000..1a1af73aa
--- /dev/null
+++ b/org.eclipse.ua.tests/nl/de/data/help/search/test_de.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 "de" for the TOC.
+</p>
+
+<p>
+Some unique words deuufjfu deuejwuid dehfdasufs
+</p>
+
+</body>
+</html>
diff --git a/org.eclipse.ua.tests/nl/de/data/help/search/test_en.html b/org.eclipse.ua.tests/nl/de/data/help/search/test_en.html
new file mode 100644
index 000000000..2950969c5
--- /dev/null
+++ b/org.eclipse.ua.tests/nl/de/data/help/search/test_en.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 "de" version of the toc.
+</p>
+
+<p> These words should never be matched undefgfdsgfds undeffdsafds </p>
+
+</body>
+</html>
diff --git a/org.eclipse.ua.tests/nl/de/data/help/search/testnl1.xhtml b/org.eclipse.ua.tests/nl/de/data/help/search/testnl1.xhtml
new file mode 100644
index 000000000..e754a4966
--- /dev/null
+++ b/org.eclipse.ua.tests/nl/de/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 "de" version.
+</p>
+
+<p>
+Here are some unique words:
+unrfefdssaf dkdskadksak redfrewfdsa
+</p>
+
+</body>
+</html>
diff --git a/org.eclipse.ua.tests/nl/de/data/help/search/toc.xml b/org.eclipse.ua.tests/nl/de/data/help/search/toc.xml
new file mode 100644
index 000000000..7978526de
--- /dev/null
+++ b/org.eclipse.ua.tests/nl/de/data/help/search/toc.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?NLS TYPE="org.eclipse.help.toc"?>
+
+<toc label="search" link_to="data/help/toc/root.xml#content">
+ <topic label="search">
+ <topic label="test1.xhtml" href="data/help/search/test1.xhtml"/>
+ <topic label="test2.xhtml" href="data/help/search/test2.xhtml"/>
+ <topic label="test3.xhtml" href="data/help/search/test3.xhtml"/>
+ <topic label="test4.xhtml" href="data/help/search/test4.xhtml"/>
+ <topic label="test5.xhtml" href="data/help/search/test5.xhtml"/>
+ <topic label="test6.xhtml" href="data/help/search/test6.xhtml"/>
+ <topic label="test7.html" href="data/help/search/test7.html"/>
+ <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_de.html" label="testde.html">
+ </topic>
+ </topic>
+</toc>

Back to the top