Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCurtis D'Entremont2006-10-24 20:18:38 +0000
committerCurtis D'Entremont2006-10-24 20:18:38 +0000
commitf1d6812d7e7b1be7d9aa1f0fb6bada1ffff75b03 (patch)
treeaacfdcd6722091329b9332c5c9ca7b02a52f4b32 /org.eclipse.ua.tests/data
parentdcba595e5e1d5ff01042d84bbe4862810e7d542e (diff)
downloadeclipse.platform.ua-f1d6812d7e7b1be7d9aa1f0fb6bada1ffff75b03.tar.gz
eclipse.platform.ua-f1d6812d7e7b1be7d9aa1f0fb6bada1ffff75b03.tar.xz
eclipse.platform.ua-f1d6812d7e7b1be7d9aa1f0fb6bada1ffff75b03.zip
reorganized tests
Diffstat (limited to 'org.eclipse.ua.tests/data')
-rw-r--r--org.eclipse.ua.tests/data/help/index/toc.xml10
-rw-r--r--org.eclipse.ua.tests/data/help/index/tocIgnored.xml10
-rw-r--r--org.eclipse.ua.tests/data/help/index/topic1.html15
-rw-r--r--org.eclipse.ua.tests/data/help/index/topic2.html15
-rw-r--r--org.eclipse.ua.tests/data/help/index/topic3.html15
-rw-r--r--org.eclipse.ua.tests/data/help/index/topic4.html15
-rw-r--r--org.eclipse.ua.tests/data/help/search/toc.xml24
-rw-r--r--org.eclipse.ua.tests/data/help/search/toc2.xml10
-rw-r--r--org.eclipse.ua.tests/data/help/search/toc3.xml2
-rw-r--r--org.eclipse.ua.tests/data/help/search/toc4.xml2
-rw-r--r--org.eclipse.ua.tests/data/help/toc/extraContent/toc.xml48
-rw-r--r--org.eclipse.ua.tests/data/help/toc/extraContent/toc2.xml54
-rw-r--r--org.eclipse.ua.tests/data/help/toc/filteredToc/toc.xml4
-rw-r--r--org.eclipse.ua.tests/data/help/toc/root.xml6
14 files changed, 154 insertions, 76 deletions
diff --git a/org.eclipse.ua.tests/data/help/index/toc.xml b/org.eclipse.ua.tests/data/help/index/toc.xml
index b52c55527..509d53181 100644
--- a/org.eclipse.ua.tests/data/help/index/toc.xml
+++ b/org.eclipse.ua.tests/data/help/index/toc.xml
@@ -1,9 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<?NLS TYPE="org.eclipse.help.toc"?>
-<toc label="org.eclipse.ua.tests/data/help/index/toc.xml">
- <topic label="topic1.html" href="data/help/index/topic1.html">
- <topic label="topic3.html" href="data/help/index/topic3.html"/>
+<toc label="index" link_to="data/help/toc/root.xml#content">
+ <topic label="index">
+ <topic label="topic1.html" href="data/help/index/topic1.html">
+ <topic label="topic3.html" href="data/help/index/topic3.html"/>
+ </topic>
+ <topic label="topic2.html" href="data/help/index/topic2.html"/>
</topic>
- <topic label="topic2.html" href="data/help/index/topic2.html"/>
</toc>
diff --git a/org.eclipse.ua.tests/data/help/index/tocIgnored.xml b/org.eclipse.ua.tests/data/help/index/tocIgnored.xml
index ed1d65cda..f97a2821a 100644
--- a/org.eclipse.ua.tests/data/help/index/tocIgnored.xml
+++ b/org.eclipse.ua.tests/data/help/index/tocIgnored.xml
@@ -1,9 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<?NLS TYPE="org.eclipse.help.toc"?>
-<toc label="org.eclipse.ua.tests/data/help/index/tocIgnored.xml">
- <topic label="topic2.html" href="data/help/index/topic2.html">
- <topic label="topic3.html" href="data/help/index/topic3.html"/>
+<toc label="index2" link_to="data/help/toc/root.xml#content">
+ <topic label="index2">
+ <topic label="topic2.html" href="data/help/index/topic2.html">
+ <topic label="topic3.html" href="data/help/index/topic3.html"/>
+ </topic>
+ <topic label="topic4.html" href="data/help/index/topic4.html"/>
</topic>
- <topic label="topic4.html" href="data/help/index/topic4.html"/>
</toc>
diff --git a/org.eclipse.ua.tests/data/help/index/topic1.html b/org.eclipse.ua.tests/data/help/index/topic1.html
new file mode 100644
index 000000000..f9b4c28fd
--- /dev/null
+++ b/org.eclipse.ua.tests/data/help/index/topic1.html
@@ -0,0 +1,15 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
+<HTML>
+<HEAD>
+<meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2005. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." >
+<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
+<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
+<TITLE>topic1.html</TITLE>
+</HEAD>
+
+<p>
+topic1.html
+</p>
+
+</BODY>
+</HTML>
diff --git a/org.eclipse.ua.tests/data/help/index/topic2.html b/org.eclipse.ua.tests/data/help/index/topic2.html
new file mode 100644
index 000000000..e981329b0
--- /dev/null
+++ b/org.eclipse.ua.tests/data/help/index/topic2.html
@@ -0,0 +1,15 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
+<HTML>
+<HEAD>
+<meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2005. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." >
+<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
+<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
+<TITLE>topic2.html</TITLE>
+</HEAD>
+
+<p>
+topic2.html
+</p>
+
+</BODY>
+</HTML>
diff --git a/org.eclipse.ua.tests/data/help/index/topic3.html b/org.eclipse.ua.tests/data/help/index/topic3.html
new file mode 100644
index 000000000..759c13b04
--- /dev/null
+++ b/org.eclipse.ua.tests/data/help/index/topic3.html
@@ -0,0 +1,15 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
+<HTML>
+<HEAD>
+<meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2005. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." >
+<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
+<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
+<TITLE>topic3.html</TITLE>
+</HEAD>
+
+<p>
+topic3.html
+</p>
+
+</BODY>
+</HTML>
diff --git a/org.eclipse.ua.tests/data/help/index/topic4.html b/org.eclipse.ua.tests/data/help/index/topic4.html
new file mode 100644
index 000000000..51744e3f6
--- /dev/null
+++ b/org.eclipse.ua.tests/data/help/index/topic4.html
@@ -0,0 +1,15 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
+<HTML>
+<HEAD>
+<meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2005. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." >
+<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
+<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
+<TITLE>topic4.html</TITLE>
+</HEAD>
+
+<p>
+topic4.html
+</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 6e8723a3c..963ff11bf 100644
--- a/org.eclipse.ua.tests/data/help/search/toc.xml
+++ b/org.eclipse.ua.tests/data/help/search/toc.xml
@@ -1,15 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<?NLS TYPE="org.eclipse.help.toc"?>
-<toc label="Search test TOC">
- <topic label="test1.xhtml" href="data/help/search/test1.xhtml"/>
- <topic label="test2.xhtml" href="data/help/search/test2.xhtml"/>
- <topic label="test3.xhtml" href="data/help/search/test3.xhtml"/>
- <topic label="test4.xhtml" href="data/help/search/test4.xhtml"/>
- <topic label="test5.xhtml" href="data/help/search/test5.xhtml"/>
- <topic label="test6.xhtml" href="data/help/search/test6.xhtml"/>
- <topic label="test7.html" href="data/help/search/test7.html"/>
- <topic label="test9(a).htm" href="data/help/search/test9.htm"/>
- <topic label="test9(b).htm" href="data/help/search/extraDir/../test9.htm"/>
- <topic label="test9(c).htm" href="data/help/search//extraDir//subdir/../../test9.htm"/>
+<toc label="search" link_to="data/help/toc/root.xml#content">
+ <topic label="search">
+ <topic label="test1.xhtml" href="data/help/search/test1.xhtml"/>
+ <topic label="test2.xhtml" href="data/help/search/test2.xhtml"/>
+ <topic label="test3.xhtml" href="data/help/search/test3.xhtml"/>
+ <topic label="test4.xhtml" href="data/help/search/test4.xhtml"/>
+ <topic label="test5.xhtml" href="data/help/search/test5.xhtml"/>
+ <topic label="test6.xhtml" href="data/help/search/test6.xhtml"/>
+ <topic label="test7.html" href="data/help/search/test7.html"/>
+ <topic label="test9(a).htm" href="data/help/search/test9.htm"/>
+ <topic label="test9(b).htm" href="data/help/search/extraDir/../test9.htm"/>
+ <topic label="test9(c).htm" href="data/help/search//extraDir//subdir/../../test9.htm"/>
+ </topic>
</toc>
diff --git a/org.eclipse.ua.tests/data/help/search/toc2.xml b/org.eclipse.ua.tests/data/help/search/toc2.xml
index d86c2617f..3b1d086b1 100644
--- a/org.eclipse.ua.tests/data/help/search/toc2.xml
+++ b/org.eclipse.ua.tests/data/help/search/toc2.xml
@@ -1,8 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<?NLS TYPE="org.eclipse.help.toc"?>
-<toc label="Search test TOC2 (with extraDir)">
- <topic label="test8.htm" href="data/help/search/test8.htm"/>
- <anchor id="toc2Anchor"/>
- <link toc="data/help/search/toc4.xml"/>
+<toc label="search2" link_to="data/help/toc/root.xml#content">
+ <topic label="search2">
+ <topic label="test8.htm" href="data/help/search/test8.htm"/>
+ <anchor id="toc2Anchor"/>
+ <link toc="data/help/search/toc4.xml"/>
+ </topic>
</toc>
diff --git a/org.eclipse.ua.tests/data/help/search/toc3.xml b/org.eclipse.ua.tests/data/help/search/toc3.xml
index ab1f6f68c..1396a87b9 100644
--- a/org.eclipse.ua.tests/data/help/search/toc3.xml
+++ b/org.eclipse.ua.tests/data/help/search/toc3.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<?NLS TYPE="org.eclipse.help.toc"?>
-<toc label="Search test TOC3 (with extraDir)" link_to="data/help/search/toc2.xml#toc2Anchor">
+<toc label="search3" link_to="data/help/search/toc2.xml#toc2Anchor">
<topic label="test8.htm" href="data/help/search/test8.htm"/>
</toc>
diff --git a/org.eclipse.ua.tests/data/help/search/toc4.xml b/org.eclipse.ua.tests/data/help/search/toc4.xml
index abe79718c..c5d89cb2d 100644
--- a/org.eclipse.ua.tests/data/help/search/toc4.xml
+++ b/org.eclipse.ua.tests/data/help/search/toc4.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<?NLS TYPE="org.eclipse.help.toc"?>
-<toc label="Search test TOC3 (with extraDir)" link_to="toc2.xml#toc2Anchor">
+<toc label="search4" link_to="data/help/search/toc2.xml#toc2Anchor">
<topic label="test8.htm" href="data/help/search/test8.htm"/>
</toc>
diff --git a/org.eclipse.ua.tests/data/help/toc/extraContent/toc.xml b/org.eclipse.ua.tests/data/help/toc/extraContent/toc.xml
index 151d7e8ed..b4a337b58 100644
--- a/org.eclipse.ua.tests/data/help/toc/extraContent/toc.xml
+++ b/org.eclipse.ua.tests/data/help/toc/extraContent/toc.xml
@@ -5,28 +5,30 @@
A TOC with some extra elements and attributes scattered throughout. It should
be able to tolerate this.
-->
-<toc unknownAttribute="value" label="TOC with extra elements">
- <topic label="Getting started" unknownAttribute2="value2">
- <link toc="data/help/toc/extraContent/simple_toc.xml" />
+<toc label="extraContent1" unknownAttribute="value" link_to="data/help/toc/root.xml#content">
+ <topic label="extraContent1">
+ <topic label="Getting started" unknownAttribute2="value2">
+ <link toc="data/help/toc/extraContent/simple_toc.xml" />
+ </topic>
+ <blah value="true"/>
+ <topic label="Concepts">
+ <link toc="data/help/toc/extraContent/simple_toc.xml" />
+ </topic>
+ <test>
+ <topic label="Tasks">
+ <aergaer/>
+ <test2 attr="true">
+ <gaergr/>
+ <link toc="data/help/toc/extraContent/simple_toc.xml" />
+ </test2>
+ </topic>
+ </test>
+ <topic label="Reference">
+ <link toc="data/help/toc/extraContent/simple_toc.xml" />
+ </topic>
+ <topic label="Tips and tricks" href="data/help/toc/extraContent/simple_page.html"/>
+ <topic label="What's new" href="data/help/toc/extraContent/simple_page.html"/>
+ <topic label="Documentation Images" href="data/help/toc/extraContent/simple_page.html"/>
+ <topic label="Legal" aegraerg="aerger" href="data/help/toc/extraContent/simple_page.html"/>
</topic>
- <blah value="true"/>
- <topic label="Concepts">
- <link toc="data/help/toc/extraContent/simple_toc.xml" />
- </topic>
- <test>
- <topic label="Tasks">
- <aergaer/>
- <test2 attr="true">
- <gaergr/>
- <link toc="data/help/toc/extraContent/simple_toc.xml" />
- </test2>
- </topic>
- </test>
- <topic label="Reference">
- <link toc="data/help/toc/extraContent/data/help/toc/extraContent/simple_page.html" />
- </topic>
- <topic label="Tips and tricks" href="data/help/toc/extraContent/simple_page.html"/>
- <topic label="What's new" href="data/help/toc/extraContent/simple_page.html"/>
- <topic label="Documentation Images" href="data/help/toc/extraContent/simple_page.html"/>
- <topic label="Legal" aegraerg="aerger" href="data/help/toc/extraContent/simple_page.html"/>
</toc>
diff --git a/org.eclipse.ua.tests/data/help/toc/extraContent/toc2.xml b/org.eclipse.ua.tests/data/help/toc/extraContent/toc2.xml
index f8bcefd31..e7c074ba2 100644
--- a/org.eclipse.ua.tests/data/help/toc/extraContent/toc2.xml
+++ b/org.eclipse.ua.tests/data/help/toc/extraContent/toc2.xml
@@ -1,35 +1,37 @@
<?xml version="1.0" encoding="utf-8"?>
<?NLS TYPE="org.eclipse.help.toc"?>
-<toc label="Samples" topic="data/help/toc/extraContent/simple_page.html">
- <topic label="Bats FOR product: Happy Bats, WAS; version: 9.0,8.0 ; platform: z/OS;AIX" href="data/help/toc/extraContent/simple_page.html">
- <criteria name="prodname" value="Happy Bats" />
- <criteria name="prodname" value="WAS" />
- <criteria name="version" value="9.0" />
- <criteria name="version" value="8.0" />
- <criteria name="platform" value="z/OS" />
- <criteria name="platform" value="AIX" />
- <topic label="Caring for your fruit bat FOR Version: 9.0; platform: z/OS; product: WAS" href="data/help/toc/extraContent/simple_page.html">
- <criteria name="version" value="9.0" />
- <criteria name="platform" value="z/OS" />
- <criteria name="prodname" value="WAS" />
- </topic>
- <topic label="Cleaning your fruit bat FOR Version: 8.0; platform: AIX; product: Happy Bats" href="data/help/toc/extraContent/simple_page.html">
- <criteria name="platform" value="AIX" />
- <criteria name="version" value="8.0" />
- <criteria name="prodname" value="Happy Bats" />
- </topic>
- <topic label="Feeding your bat" href="data/help/toc/extraContent/simple_page.html"/>
- <topic label="Bat sonar" href="data/help/toc/extraContent/simple_page.html"/>
- <topic label="Bat guano" href="data/help/toc/extraContent/simple_page.html"/>
- <topic label="Bat history" href="data/help/toc/extraContent/simple_page.html"/>
- <topic label="Bat recycling" href="data/help/toc/extraContent/simple_page.html"/>
- </topic>
- <topic label="Bats FOR product: Happy Bats" href="data/help/toc/extraContent/simple_page.html">
- <criteria name="prodname" value="Happy Bats" />
+<toc label="extraContent2" topic="data/help/toc/extraContent/simple_page.html" link_to="data/help/toc/root.xml#content">
+ <topic label="extraContent2">
+ <topic label="Bats FOR product: Happy Bats, WAS; version: 9.0,8.0 ; platform: z/OS;AIX" href="data/help/toc/extraContent/simple_page.html">
+ <criteria name="prodname" value="Happy Bats" />
+ <criteria name="prodname" value="WAS" />
+ <criteria name="version" value="9.0" />
+ <criteria name="version" value="8.0" />
+ <criteria name="platform" value="z/OS" />
+ <criteria name="platform" value="AIX" />
+ <topic label="Caring for your fruit bat FOR Version: 9.0; platform: z/OS; product: WAS" href="data/help/toc/extraContent/simple_page.html">
+ <criteria name="version" value="9.0" />
+ <criteria name="platform" value="z/OS" />
+ <criteria name="prodname" value="WAS" />
+ </topic>
+ <topic label="Cleaning your fruit bat FOR Version: 8.0; platform: AIX; product: Happy Bats" href="data/help/toc/extraContent/simple_page.html">
+ <criteria name="platform" value="AIX" />
+ <criteria name="version" value="8.0" />
+ <criteria name="prodname" value="Happy Bats" />
+ </topic>
<topic label="Feeding your bat" href="data/help/toc/extraContent/simple_page.html"/>
<topic label="Bat sonar" href="data/help/toc/extraContent/simple_page.html"/>
<topic label="Bat guano" href="data/help/toc/extraContent/simple_page.html"/>
<topic label="Bat history" href="data/help/toc/extraContent/simple_page.html"/>
<topic label="Bat recycling" href="data/help/toc/extraContent/simple_page.html"/>
+ </topic>
+ <topic label="Bats FOR product: Happy Bats" href="data/help/toc/extraContent/simple_page.html">
+ <criteria name="prodname" value="Happy Bats" />
+ <topic label="Feeding your bat" href="data/help/toc/extraContent/simple_page.html"/>
+ <topic label="Bat sonar" href="data/help/toc/extraContent/simple_page.html"/>
+ <topic label="Bat guano" href="data/help/toc/extraContent/simple_page.html"/>
+ <topic label="Bat history" href="data/help/toc/extraContent/simple_page.html"/>
+ <topic label="Bat recycling" href="data/help/toc/extraContent/simple_page.html"/>
+ </topic>
</topic>
</toc> \ No newline at end of file
diff --git a/org.eclipse.ua.tests/data/help/toc/filteredToc/toc.xml b/org.eclipse.ua.tests/data/help/toc/filteredToc/toc.xml
index aed4d066a..91dbce918 100644
--- a/org.eclipse.ua.tests/data/help/toc/filteredToc/toc.xml
+++ b/org.eclipse.ua.tests/data/help/toc/filteredToc/toc.xml
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<?NLS TYPE="org.eclipse.help.toc"?>
-<toc label="filteredToc">
- <topic label="filter.xml">
+<toc label="filter" link_to="data/help/toc/root.xml#content">
+ <topic label="filter">
<link toc="data/help/toc/filteredToc/filter.xml" />
</topic>
</toc>
diff --git a/org.eclipse.ua.tests/data/help/toc/root.xml b/org.eclipse.ua.tests/data/help/toc/root.xml
new file mode 100644
index 000000000..2d39c4b8e
--- /dev/null
+++ b/org.eclipse.ua.tests/data/help/toc/root.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?NLS TYPE="org.eclipse.help.toc"?>
+
+<toc label="Test">
+ <anchor id="content"/>
+</toc>

Back to the top