Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Goldthorpe2010-01-07 13:23:07 -0500
committerChris Goldthorpe2010-01-07 13:23:07 -0500
commit63b7537ecfefa9018a5971141eca7b23fdb529ab (patch)
tree9bb2712ca9f9babd58c22c9a0f905a0e3b732bb9 /org.eclipse.ua.tests/data/help/search
parentadb0f3b0c56dd793b932c18cf3480b5c6f46893c (diff)
downloadeclipse.platform.ua-63b7537ecfefa9018a5971141eca7b23fdb529ab.tar.gz
eclipse.platform.ua-63b7537ecfefa9018a5971141eca7b23fdb529ab.tar.xz
eclipse.platform.ua-63b7537ecfefa9018a5971141eca7b23fdb529ab.zip
Add tests for Lucene based XMLSearchParticipant
Diffstat (limited to 'org.eclipse.ua.tests/data/help/search')
-rw-r--r--org.eclipse.ua.tests/data/help/search/lucene_xml_1.xml23
-rw-r--r--org.eclipse.ua.tests/data/help/search/lucene_xml_2.xml23
2 files changed, 46 insertions, 0 deletions
diff --git a/org.eclipse.ua.tests/data/help/search/lucene_xml_1.xml b/org.eclipse.ua.tests/data/help/search/lucene_xml_1.xml
new file mode 100644
index 000000000..5d96806ae
--- /dev/null
+++ b/org.eclipse.ua.tests/data/help/search/lucene_xml_1.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ Copyright (c) 2010 IBM Corporation and others.
+ All rights reserved. This program and the accompanying materials
+ are made available under the terms of the Eclipse Public License v1.0
+ which accompanies this distribution, and is available at
+ http://www.eclipse.org/legal/epl-v10.html
+
+ Contributors:
+ IBM Corporation - initial API and implementation
+ -->
+
+<contentExtension>
+ <searchable title = "Lucene XML 1">
+ <text title="ignored title" summary = "Summary for">
+ search word hujnjujnh
+ </text>
+ <text summary = "file Lucene XML1">
+ search word dusudusud
+ </text>
+ </searchable>
+</contentExtension>
diff --git a/org.eclipse.ua.tests/data/help/search/lucene_xml_2.xml b/org.eclipse.ua.tests/data/help/search/lucene_xml_2.xml
new file mode 100644
index 000000000..f933ba581
--- /dev/null
+++ b/org.eclipse.ua.tests/data/help/search/lucene_xml_2.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ Copyright (c) 2010 IBM Corporation and others.
+ All rights reserved. This program and the accompanying materials
+ are made available under the terms of the Eclipse Public License v1.0
+ which accompanies this distribution, and is available at
+ http://www.eclipse.org/legal/epl-v10.html
+
+ Contributors:
+ IBM Corporation - initial API and implementation
+ -->
+
+<outer>
+<searchable title = "Lucene XML 2 - tests nesting">
+ <text title="ignored title" summary = "Summary for">
+ search word kfkkfjeeej
+ <text summary = "file Lucene XML2">
+ search word syueuduehj
+ </text>
+ </text>
+</searchable>
+</outer>

Back to the top