Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Goldthorpe2007-05-02 17:58:56 -0400
committerChris Goldthorpe2007-05-02 17:58:56 -0400
commitddf28c0b9248cf9b8074344a5bf0ba581ddc0abd (patch)
tree2a0a8f25fcc976123944743b17ac8ec5f837d238
parentfe550e0f6e82b5122c8e1b2d967a7172fd881305 (diff)
downloadeclipse.platform.ua-ddf28c0b9248cf9b8074344a5bf0ba581ddc0abd.tar.gz
eclipse.platform.ua-ddf28c0b9248cf9b8074344a5bf0ba581ddc0abd.tar.xz
eclipse.platform.ua-ddf28c0b9248cf9b8074344a5bf0ba581ddc0abd.zip
Updated cheat sheets for UA test suite
-rw-r--r--org.eclipse.ua.tests/data/help/index/index.xml24
-rw-r--r--org.eclipse.ua.tests/data/help/manual/filter.xhtml2
-rw-r--r--org.eclipse.ua.tests/non_junit/cheatsheets/tasks/helpA11.xml62
-rw-r--r--org.eclipse.ua.tests/non_junit/cheatsheets/tasks/helpA12.xml58
4 files changed, 99 insertions, 47 deletions
diff --git a/org.eclipse.ua.tests/data/help/index/index.xml b/org.eclipse.ua.tests/data/help/index/index.xml
index 9545fb510..5d0821359 100644
--- a/org.eclipse.ua.tests/data/help/index/index.xml
+++ b/org.eclipse.ua.tests/data/help/index/index.xml
@@ -12,5 +12,29 @@
</entry>
<entry keyword="keyword4">
<topic href="data/help/index/topicDoesntExist.html"/>
+ </entry>
+ <entry keyword="-keyword1">
+ <topic href="data/help/index/topic1.html"/>
+ </entry>
+ <entry keyword="_keyword1">
+ <topic href="data/help/index/topic1.html"/>
+ </entry>
+ <entry keyword="+keyword1">
+ <topic href="data/help/index/topic1.html"/>
+ </entry>
+ <entry keyword="=keyword1">
+ <topic href="data/help/index/topic1.html"/>
+ </entry>
+ <entry keyword="xaa">
+ <topic href="data/help/index/topic1.html"/>
+ </entry>
+ <entry keyword="Xyx">
+ <topic href="data/help/index/topic1.html"/>
+ </entry>
+ <entry keyword="xyz">
+ <topic href="data/help/index/topic1.html"/>
+ </entry>
+ <entry keyword="yz">
+ <topic href="data/help/index/topic1.html"/>
</entry>
</index>
diff --git a/org.eclipse.ua.tests/data/help/manual/filter.xhtml b/org.eclipse.ua.tests/data/help/manual/filter.xhtml
index aaad67e47..4b3bd48c1 100644
--- a/org.eclipse.ua.tests/data/help/manual/filter.xhtml
+++ b/org.eclipse.ua.tests/data/help/manual/filter.xhtml
@@ -93,7 +93,7 @@
</p>
<p>
- The category org.eclipse.javaDevelopment is enabled
+ The activity org.eclipse.javaDevelopment is enabled
<enablement>
<with variable="workbench">
<test property="org.eclipse.ui.isActivityEnabled" args="org.eclipse.javaDevelopment"/>
diff --git a/org.eclipse.ua.tests/non_junit/cheatsheets/tasks/helpA11.xml b/org.eclipse.ua.tests/non_junit/cheatsheets/tasks/helpA11.xml
index 1beb1681b..859730c23 100644
--- a/org.eclipse.ua.tests/non_junit/cheatsheets/tasks/helpA11.xml
+++ b/org.eclipse.ua.tests/non_junit/cheatsheets/tasks/helpA11.xml
@@ -1,43 +1,45 @@
<?xml version="1.0" encoding="UTF-8"?>
-<cheatsheet title="Dynamic content (under construction)">
+<cheatsheet title="Dynamic content">
<intro>
<description>
- This test was copied from the word doc containing test descriptions. It should be reworked to be more explicit about which XHTML files to use.
+ This test requires org.eclipse.ua.tests to be installed.
</description>
</intro>
- <item title="Find XHTML Docs" dialog="false" skip="false">
- <description>
- Find some XHTML docs in the help system (you’ll have to import plugin in workspace and look for the .xhtml file extension)
- </description>
- </item>
- <item title="Open docs" dialog="false" skip="false">
- <description>
- Open these docs in the help window and help view; make sure they appear correctly
- </description>
- </item>
- <item title="Find markup" dialog="false" skip="false">
- <description>
- Open the markup and find the parts that are filtered (e.g. there might be a windows only section)
- </description>
+ <item title="Find filtered topics" dialog="false" skip="false">
+ <description>
+ Open the topic &quot;filter&quot; in the book &quot;tests&quot;.
+ </description>
+ <subitem label="Check that there are two subtopics &quot;The plugin org.eclipse.help is installed&quot;" skip="false">
+ </subitem>
+ <subitem label="Check that there are two subtopics &quot;This topic should always appear&quot;" skip="false">
+ </subitem>
+ <subitem label="Check that there are two subtopics &quot;The product org.eclipse.sdk.ide is running&quot;" skip="false">
+ </subitem>
+ <subitem label="Check that there are two subtopics &quot;The activity org.eclipse.javaDevelopment is enabled&quot;" skip="false">
+ </subitem>
+ <subitem label="Check that there are two subtopics &quot;The category org.eclipse.categories.developmentCategory is enabled&quot;" skip="false">
+ </subitem>
+ <subitem label="Check there are no subtopics with &quot;invalid&quot; in the title" skip="false">
+ </subitem>
</item>
- <item title="Confirm filtered sections" dialog="false" skip="false">
- <description>
- Confirm the parts are filtered from the non-applicable platforms. E.g. if it’s windows only, should only be visible on windows
- </description>
+ <item title="Check page with filtering" dialog="false" skip="false">
+ <description>
+ Open the help page Tests/Manual/Filter
+ </description>
+ <subitem label="Check that there is a line &quot;The plugin org.eclipse.help is installed&quot;" skip="false">
+ </subitem>
+ <subitem label="Check that there is a line &quot;The product org.eclipse.sdk.ide is running&quot;" skip="false">
+ </subitem>
+ <subitem label="Check that there is a line &quot;The activity org.eclipse.javaDevelopment is enabled&quot;" skip="false">
+ </subitem>
+ <subitem label="Check that there a line &quot;The category org.eclipse.categories.developmentCategory is enabled&quot;" skip="false">
+ </subitem>
+ <subitem label="Check there is no line containing the word with &quot;invalid&quot;" skip="false">
+ </subitem>
</item>
<item title="Search for word" dialog="false" skip="false">
<description>
Search for a word in the XHTML doc. It should show up as a potential hit.
</description>
</item>
- <item title="Show actual hits" dialog="false" skip="false">
- <description>
- Change preferences (Help preferences page) to show actual hits
- </description>
- </item>
- <item title="Repeat search" dialog="false" skip="true">
- <description>
- Repeat the same search. It should only find the result if the word is visible in the doc. E.g. on windows it should find it, on linux it shouldn’t.
- </description>
- </item>
</cheatsheet>
diff --git a/org.eclipse.ua.tests/non_junit/cheatsheets/tasks/helpA12.xml b/org.eclipse.ua.tests/non_junit/cheatsheets/tasks/helpA12.xml
index 4022d9360..9d8af5a48 100644
--- a/org.eclipse.ua.tests/non_junit/cheatsheets/tasks/helpA12.xml
+++ b/org.eclipse.ua.tests/non_junit/cheatsheets/tasks/helpA12.xml
@@ -2,19 +2,9 @@
<cheatsheet title="Keyword Index">
<intro>
<description>
- Tests for the index view
+ Tests for the index view. These tests require org.eclispe.ua.tests to be installed.
</description>
</intro>
- <item title="Obtain index" dialog="false" skip="false">
- <description>
- Download and extract the test files zip from http://www.eclipse.org/eclipse/platform-ua/testing/test_files.zip
- </description>
- </item>
- <item title="Install plugins" dialog="false" skip="false">
- <description>
- Extract the /help/org.eclipse.help.index.test.zip and place the test plugin in your plugins dir; restart workbench
- </description>
- </item>
<item title="Test Index View" dialog="false" skip="false">
<description>
Run some tests on the index view in the webapp.
@@ -25,11 +15,30 @@
</subitem>
<subitem label="Verify that there is a text box with a DISPLAY button to the right and that there is a list of keywords." skip="false">
</subitem>
- <subitem label="Verify that when you start to type in a word in the index that entry is selected." skip="false">
+ </item>
+ <item title="Index view order" dialog="true" skip="false">
+ <description>
+ Tests for the ordering of keywords in index view
+ </description>
+ <subitem label="Verify that +keyword, -keyword, =keyword and _keyword appear at the front of the index, before any keywords that start with letters." skip="false">
+ </subitem>
+ <subitem label="Verify that xaa, Xyx and xyz appear in that order." skip="false">
+ </subitem>
+ </item>
+ <item title="Typein" dialog="true" skip="false">
+ <description>
+ Verify that the typein advances the index
+ </description>
+ <subitem label="Type &quot;x&quot; into the typein area. Verify that xaa is at the top of the screen." skip="false">
</subitem>
- <subitem label="Open a topic by clicking on the link." skip="false">
+ <subitem label="Type &quot;y&quot; after the &quot;x&quot; (making xy). Verify that Xyx is at the head of the list." skip="false">
</subitem>
</item>
+ <item title="Navigate to content" dialog="true" skip="false">
+ <description>
+ Click on &quot;keyword1&quot;, verify that topic1 opens.
+ </description>
+ </item>
<item title="Test Index in Help View" dialog="false" skip="false">
<description>
Repeat the tests using the help view
@@ -40,11 +49,28 @@
</subitem>
<subitem label="Verify that there is a text box with a DISPLAY button to the right and that there is a list of keywords." skip="false">
</subitem>
- <subitem label="Verify that when you start to type in a word in the index that entry is selected." skip="false">
+ </item>
+ <item title="Help view order" dialog="true" skip="false">
+ <description>
+ Tests for the ordering of keywords in help view
+ </description>
+ <subitem label="Verify that +keyword, -keyword, =keyword and _keyword appear at the front of the index, before any keywords that start with letters." skip="false">
</subitem>
- <subitem label="Open a topic by clicking on the link." skip="false">
+ <subitem label="Verify that xaa, Xyx and xyz appear in that order." skip="false">
</subitem>
- <subitem label="Select an index entry. Check that the type in area shows the selected keyword." skip="false">
+ </item>
+ <item title="Help view Typein" dialog="true" skip="false">
+ <description>
+ Verify that the typein selects the correct item
+ </description>
+ <subitem label="Type &quot;x&quot; into the typein area. Verify that xaa is highlighted." skip="false">
+ </subitem>
+ <subitem label="Type &quot;y&quot; after the &quot;x&quot; (making xy). Verify that Xyx is highlighted." skip="false">
</subitem>
</item>
+ <item title="Help view Navigate to content" dialog="true" skip="false">
+ <description>
+ Click on &quot;keyword1&quot;, verify that topic1 opens.
+ </description>
+ </item>
</cheatsheet>

Back to the top