Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Goldthorpe2009-04-14 20:17:33 +0000
committerChris Goldthorpe2009-04-14 20:17:33 +0000
commitad62986c4dfb14aafbd11ddef8c8678b7ef7cc48 (patch)
tree4d29ced69ded03d431cb32f45e7d90a7b101259c /org.eclipse.ua.tests/data
parent426b9860295e1ebc64cdff84e73a4b58d6e76114 (diff)
downloadeclipse.platform.ua-ad62986c4dfb14aafbd11ddef8c8678b7ef7cc48.tar.gz
eclipse.platform.ua-ad62986c4dfb14aafbd11ddef8c8678b7ef7cc48.tar.xz
eclipse.platform.ua-ad62986c4dfb14aafbd11ddef8c8678b7ef7cc48.zip
Add tests for searching for non-ascii characters
Diffstat (limited to 'org.eclipse.ua.tests/data')
-rw-r--r--org.eclipse.ua.tests/data/help/search/testnl8859.htm18
-rw-r--r--org.eclipse.ua.tests/data/help/search/testnlUTF8.htm21
-rw-r--r--org.eclipse.ua.tests/data/help/search/toc.xml4
3 files changed, 43 insertions, 0 deletions
diff --git a/org.eclipse.ua.tests/data/help/search/testnl8859.htm b/org.eclipse.ua.tests/data/help/search/testnl8859.htm
new file mode 100644
index 000000000..081799ac7
--- /dev/null
+++ b/org.eclipse.ua.tests/data/help/search/testnl8859.htm
@@ -0,0 +1,18 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
+<html>
+<head>
+<meta http-equiv="Content-Language" content="en-us">
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title>ISO 8859-1 doc</title>
+</head>
+<body>
+
+This is a test document to search words declared in a document
+encoded in ISO-8859-1
+
+The test searches for this unique string:
+
+醙uilaxaxcs
+
+</body>
+</html>
diff --git a/org.eclipse.ua.tests/data/help/search/testnlUTF8.htm b/org.eclipse.ua.tests/data/help/search/testnlUTF8.htm
new file mode 100644
index 000000000..b5c18da90
--- /dev/null
+++ b/org.eclipse.ua.tests/data/help/search/testnlUTF8.htm
@@ -0,0 +1,21 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
+<html>
+<head>
+<meta http-equiv="Content-Language" content="en-us">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>UTF-8 doc</title>
+</head>
+<body>
+
+This is a test for search within a UTF-8 encoded document
+
+The test searches for these unique strings:
+
+acfele贸n
+
+杈叉泦鏂板勾
+
+讗址住职讟职专讜止谞讜止诪职讬指讛) 诇执拽旨讜旨讬 (讬专讞 讗讜 砖诪砖
+
+</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 134b557cb..27910a1b2 100644
--- a/org.eclipse.ua.tests/data/help/search/toc.xml
+++ b/org.eclipse.ua.tests/data/help/search/toc.xml
@@ -19,5 +19,9 @@
</topic>
<topic href="data/help/search/test_en.html" label="testen.html">
</topic>
+ <topic href="data/help/search/testnl8859.htm" label="ISO 8859-1 doc">
+ </topic>
+ <topic href="data/help/search/testnlUTF8.htm" label="UTF-8 doc">
+ </topic>
</topic>
</toc>

Back to the top