diff options
author | Chris Goldthorpe | 2009-10-27 22:57:35 +0000 |
---|---|---|
committer | Chris Goldthorpe | 2009-10-27 22:57:35 +0000 |
commit | 50a60e4ffd8a84f59a64f973f09984335cdeee4c (patch) | |
tree | 3e2a6de3d13e22cd1943929fc73d115ed08caae4 /org.eclipse.ua.tests/data/help | |
parent | 93ff1f12a114f412ad69bad6b1ead7c4def380a3 (diff) | |
download | eclipse.platform.ua-50a60e4ffd8a84f59a64f973f09984335cdeee4c.tar.gz eclipse.platform.ua-50a60e4ffd8a84f59a64f973f09984335cdeee4c.tar.xz eclipse.platform.ua-50a60e4ffd8a84f59a64f973f09984335cdeee4c.zip |
Add search tests for meta keywords and meta description
Diffstat (limited to 'org.eclipse.ua.tests/data/help')
-rw-r--r-- | org.eclipse.ua.tests/data/help/search/testMeta.htm | 16 | ||||
-rw-r--r-- | org.eclipse.ua.tests/data/help/search/testMeta.xhtml | 18 | ||||
-rw-r--r-- | org.eclipse.ua.tests/data/help/search/toc.xml | 4 |
3 files changed, 38 insertions, 0 deletions
diff --git a/org.eclipse.ua.tests/data/help/search/testMeta.htm b/org.eclipse.ua.tests/data/help/search/testMeta.htm new file mode 100644 index 000000000..b6d59e345 --- /dev/null +++ b/org.eclipse.ua.tests/data/help/search/testMeta.htm @@ -0,0 +1,16 @@ +<!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"> +<meta name="description" content="HTML Meta description"> +<meta name="keywords" content="ydhaedrsc"> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>HTML doc with meta</title> +</head> +<body> + +This is a test for meta tags within an html document + +</body> +</html> diff --git a/org.eclipse.ua.tests/data/help/search/testMeta.xhtml b/org.eclipse.ua.tests/data/help/search/testMeta.xhtml new file mode 100644 index 000000000..7dcca35c4 --- /dev/null +++ b/org.eclipse.ua.tests/data/help/search/testMeta.xhtml @@ -0,0 +1,18 @@ +<!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" /> +<meta name="keywords" content="olfrgkjrifjd" /> +<meta name="description" content="XHTML Meta description" /> +<title>XHTML doc with meta</title> +</head> + +<body> + +<p> +XHTML file with meta keyword +</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 781376c92..fd5f02e7b 100644 --- a/org.eclipse.ua.tests/data/help/search/toc.xml +++ b/org.eclipse.ua.tests/data/help/search/toc.xml @@ -33,5 +33,9 @@ </topic> <topic href="data/help/search/testnlUTF8.htm" label="UTF-8 doc"> </topic> + <topic href="data/help/search/testMeta.htm" label="HTML doc with meta"> + </topic> + <topic href="data/help/search/testMeta.xhtml" label="XHTML doc with meta"> + </topic> </topic> </toc> |