Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Goldthorpe2010-06-17 22:22:17 +0000
committerChris Goldthorpe2010-06-17 22:22:17 +0000
commit2cb622af9a9f269c38e842e187662631446d9eaa (patch)
treea73580737c99540ee065fda04b82c62093228901 /org.eclipse.ua.tests
parent1e868cd0daad165d8a13548ca39cadd420d39a35 (diff)
downloadeclipse.platform.ua-2cb622af9a9f269c38e842e187662631446d9eaa.tar.gz
eclipse.platform.ua-2cb622af9a9f269c38e842e187662631446d9eaa.tar.xz
eclipse.platform.ua-2cb622af9a9f269c38e842e187662631446d9eaa.zip
Add tests for index
Diffstat (limited to 'org.eclipse.ua.tests')
-rw-r--r--org.eclipse.ua.tests/data/help/index/index.xml39
-rw-r--r--org.eclipse.ua.tests/non_junit/cheatsheets/tasks/criteria3.xml21
2 files changed, 40 insertions, 20 deletions
diff --git a/org.eclipse.ua.tests/data/help/index/index.xml b/org.eclipse.ua.tests/data/help/index/index.xml
index 5069eef92..f6cd35dbd 100644
--- a/org.eclipse.ua.tests/data/help/index/index.xml
+++ b/org.eclipse.ua.tests/data/help/index/index.xml
@@ -11,58 +11,57 @@
<index>
<entry keyword="keyword1">
- <topic href="data/help/index/topic1.html"/>
+ <topic href="data/help/index/topic1.html" label="keyword1"/>
</entry>
<entry keyword="keyword2">
- <topic href="data/help/index/topic2.html#someAnchor"/>
+ <topic href="data/help/index/topic2.html#someAnchor" label="keyword2"/>
</entry>
<entry keyword="keyword3">
- <topic href="data/help/index/topic2.html"/>
- <topic href="data/help/index/topic3.html#someAnchor"/>
+ <topic href="data/help/index/topic2.html" label="topic2"/> <topic href="data/help/index/topic3.html#someAnchor" label="topic3"/> <topic href="data/help/index/topic3.html#anotherAnchor" label="child4"/>
</entry>
<entry keyword="keyword4">
- <topic href="data/help/index/topicDoesntExist.html"/>
+ <topic href="data/help/index/topicDoesntExist.html" title="nonexistant"/>
</entry>
<entry keyword="-keyword1">
- <topic href="data/help/index/topic1.html"/>
+ <topic href="data/help/index/topic1.html" label="-keyword1"/>
</entry>
<entry keyword="_keyword1">
- <topic href="data/help/index/topic1.html"/>
+ <topic href="data/help/index/topic1.html" label="_keyword1"/>
</entry>
<entry keyword="+keyword1">
- <topic href="data/help/index/topic1.html"/>
+ <topic href="data/help/index/topic1.html" label="+keyword1"/>
</entry>
<entry keyword="=keyword1">
- <topic href="data/help/index/topic1.html"/>
+ <topic href="data/help/index/topic1.html" label="=keyword1"/>
</entry>
<entry keyword="xaa">
- <topic href="data/help/index/topic1.html"/>
+ <topic href="data/help/index/topic1.html" label="xaa"/>
</entry>
<entry keyword="Xyx">
- <topic href="data/help/index/topic1.html"/>
+ <topic href="data/help/index/topic1.html" label="Xyz"/>
</entry>
<entry keyword="xyz">
- <topic href="data/help/index/topic1.html"/>
+ <topic href="data/help/index/topic1.html" label="xyz"/>
</entry>
<entry keyword="yz">
- <topic href="data/help/index/topic1.html"/>
+ <topic href="data/help/index/topic1.html" label="yz"/>
</entry>
<entry keyword="action">
- <topic href="data/help/index/topic1.html"/>
+ <topic href="data/help/index/topic1.html" label="action"/>
</entry>
<entry keyword="ámbito">
- <topic href="data/help/index/topic1.html"/>
+ <topic href="data/help/index/topic1.html" label="ámbito"/>
</entry>
<entry keyword="assistance">
- <topic href="data/help/index/topic1.html"/>
+ <topic href="data/help/index/topic1.html" label="assistance"/>
</entry>
<entry keyword="once">
- <topic href="data/help/index/topic1.html"/>
+ <topic href="data/help/index/topic1.html" label="once"/>
</entry>
<entry keyword="óptimo">
- <topic href="data/help/index/topic1.html"/>
+ <topic href="data/help/index/topic1.html" label="óptimo"/>
</entry>
<entry keyword="overhead">
- <topic href="data/help/index/topic1.html"/>
- </entry> <entry keyword="character &gt;"> <topic href="data/help/index/topic1.html"/> </entry> <entry keyword="character &lt;"> <topic href="data/help/index/topic1.html"/> </entry> <entry keyword="character &amp;"> <topic href="data/help/index/topic1.html"/> </entry> <entry keyword="character '"> <topic href="data/help/index/topic1.html"/> </entry> <entry keyword="character &quot;"> <topic href="data/help/index/topic1.html"/> </entry> <entry keyword="bundle"> <topic href="data/help/index/topic1.html" title = "loading"/> <entry keyword = "development environment"> <topic href="data/help/index/topic2.html" title = "dev"/> </entry> </entry> <entry keyword="Error - this entry is empty"/> <entry keyword="plug-in"> <see keyword="bundle"/> <see keyword="PDE"/> <see keyword="invalidSee"/> </entry> <entry keyword="PDE"> <see keyword="bundle"> <subpath keyword = "development environment" /> </see> </entry> <entry keyword="special characters"> <see keyword="character &gt;"/> <see keyword="character &lt;"/> <see keyword="character &amp;"/> <see keyword="character '"/> <see keyword="character &quot;"/> </entry>
+ <topic href="data/help/index/topic1.html" label="overhead"/>
+ </entry> <entry keyword="character &gt;"> <topic href="data/help/index/topic1.html" label="character &gt;"/> </entry> <entry keyword="character &lt;"> <topic href="data/help/index/topic1.html" label="character &lt;"/> </entry> <entry keyword="character &amp;"> <topic href="data/help/index/topic1.html" title="character &amp;"/> </entry> <entry keyword="character '"> <topic href="data/help/index/topic1.html" title="character '"/> </entry> <entry keyword="character &quot;"> <topic href="data/help/index/topic1.html" title="character &quot;"/> </entry> <entry keyword="bundle"> <topic href="data/help/index/topic1.html" title = "loading"/> <entry keyword = "development environment"> <topic href="data/help/index/topic2.html" title = "dev"/> </entry> </entry> <entry keyword="Error - this entry is empty"/> <entry keyword="plug-in"> <see keyword="bundle"/> <see keyword="PDE"/> <see keyword="invalidSee"/> </entry> <entry keyword="PDE"> <see keyword="bundle"> <subpath keyword = "development environment" /> </see> </entry> <entry keyword="special characters"> <see keyword="character &gt;"/> <see keyword="character &lt;"/> <see keyword="character &amp;"/> <see keyword="character '"/> <see keyword="character &quot;"/> </entry>
</index>
diff --git a/org.eclipse.ua.tests/non_junit/cheatsheets/tasks/criteria3.xml b/org.eclipse.ua.tests/non_junit/cheatsheets/tasks/criteria3.xml
index e27541190..729dc8888 100644
--- a/org.eclipse.ua.tests/non_junit/cheatsheets/tasks/criteria3.xml
+++ b/org.eclipse.ua.tests/non_junit/cheatsheets/tasks/criteria3.xml
@@ -88,4 +88,25 @@
label="Press the Show in Table of Contents button. Verify that the correct page is selecetd in the table fo contents.">
</subitem>
</item>
+ <item
+ title="Entries in Index">
+ <description>
+ Verify that the index is filtered correctly
+ </description>
+ <subitem
+ label="Show the index view">
+ </subitem>
+ <subitem
+ label="Verify that &apos;bundle&apos; is not displayed">
+ </subitem>
+ <subitem
+ label="Verify that keyword1 is displayed">
+ </subitem>
+ <subitem
+ label="Verify that keyword3 is displayed and has two subentries - topic2 and topic3">
+ </subitem>
+ <subitem
+ label="Verify that &apos;PDE&apos; is not displayed">
+ </subitem>
+ </item>
</cheatsheet>

Back to the top