diff options
author | Chris Goldthorpe | 2009-04-14 20:17:33 +0000 |
---|---|---|
committer | Chris Goldthorpe | 2009-04-14 20:17:33 +0000 |
commit | ad62986c4dfb14aafbd11ddef8c8678b7ef7cc48 (patch) | |
tree | 4d29ced69ded03d431cb32f45e7d90a7b101259c /org.eclipse.ua.tests/data/help | |
parent | 426b9860295e1ebc64cdff84e73a4b58d6e76114 (diff) | |
download | eclipse.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/help')
-rw-r--r-- | org.eclipse.ua.tests/data/help/search/testnl8859.htm | 18 | ||||
-rw-r--r-- | org.eclipse.ua.tests/data/help/search/testnlUTF8.htm | 21 | ||||
-rw-r--r-- | org.eclipse.ua.tests/data/help/search/toc.xml | 4 |
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> |