summaryrefslogtreecommitdiff
path: root/sw/qa/complex
diff options
context:
space:
mode:
Diffstat (limited to 'sw/qa/complex')
-rw-r--r--sw/qa/complex/writer/TextPortionEnumerationTest.java157
1 files changed, 0 insertions, 157 deletions
diff --git a/sw/qa/complex/writer/TextPortionEnumerationTest.java b/sw/qa/complex/writer/TextPortionEnumerationTest.java
index 358d772cb6a5..d3d0a2ab50ac 100644
--- a/sw/qa/complex/writer/TextPortionEnumerationTest.java
+++ b/sw/qa/complex/writer/TextPortionEnumerationTest.java
@@ -1258,163 +1258,6 @@ public class TextPortionEnumerationTest
util.DesktopTools.closeDoc(m_xDoc);
}
- @Test public void testMeta() throws Exception
- {
- StringPair id = new StringPair("content.xml", mkName("id"));
- TreeNode root = new TreeNode();
- TreeNode meta = new MetaNode(id);
- TreeNode text = new TextNode("abc");
- root.appendChild(new TextNode("123"));
- meta.appendChild(text);
- root.appendChild(meta);
- doTest(root);
- }
-
- @Test public void testMetaEmpty() throws Exception
- {
- StringPair id = new StringPair("content.xml", mkName("id"));
- TreeNode root = new TreeNode();
- TreeNode meta = new MetaNode(id);
- root.appendChild(meta);
- doTest(root);
- }
-
- @Test public void testMetaField() throws Exception
- {
- StringPair id = new StringPair("content.xml", mkName("id"));
- TreeNode root = new TreeNode();
- TreeNode meta = new MetaFieldNode(id);
- TreeNode text = new TextNode("abc");
- root.appendChild(new TextNode("123"));
- meta.appendChild(text);
- root.appendChild(meta);
- doTest(root);
- }
-
- @Test public void testMetaFieldEmpty() throws Exception
- {
- StringPair id = new StringPair("content.xml", mkName("id"));
- TreeNode root = new TreeNode();
- TreeNode meta = new MetaFieldNode(id);
- root.appendChild(meta);
- doTest(root);
- }
-
- @Test public void testBookmark1() throws Exception
- {
- String name1 = mkName("mark");
- String name2 = mkName("mark");
- String name3 = mkName("mark");
- TreeNode root = new TreeNode();
- root.appendChild( new BookmarkStartNode(name1) );
- root.appendChild( new BookmarkNode(name2) );
- root.appendChild( new BookmarkStartNode(name3) );
- root.appendChild( new TextNode("abc") );
- root.appendChild( new BookmarkEndNode(name1) );
- root.appendChild( new TextNode("de") );
- root.appendChild( new BookmarkEndNode(name3) );
- doTest(root);
- }
-
- @Test public void testBookmark2() throws Exception
- {
- String name1 = mkName("mark");
- String name2 = mkName("mark");
- String name3 = mkName("mark");
- TreeNode root = new TreeNode();
- root.appendChild( new BookmarkStartNode(name1) );
- root.appendChild( new TextNode("abc") );
- root.appendChild( new BookmarkNode(name2) );
- root.appendChild( new BookmarkStartNode(name3) );
- root.appendChild( new BookmarkEndNode(name1) );
- root.appendChild( new TextNode("de") );
- root.appendChild( new BookmarkEndNode(name3) );
- doTest(root);
- }
-
- @Test public void testRefMark2() throws Exception
- {
- String name1 = mkName("refmark");
- TreeNode root = new TreeNode();
- root.appendChild( new ReferenceMarkStartNode(name1) );
- root.appendChild( new TextNode("abc") );
- // BUG: #i102541# (this is actually not unoportenum's fault)
- root.appendChild( new ReferenceMarkEndNode(name1) );
- root.appendChild( new TextNode("de") );
- doTest(root);
- }
-
- @Test public void testRefMark3() throws Exception
- {
- // BUG: #i107672# (non-deterministic; depends on pointer ordering)
- String name1 = mkName("refmark");
- String name2 = mkName("refmark");
- String name3 = mkName("refmark");
- String name4 = mkName("refmark");
- String name5 = mkName("refmark");
- String name6 = mkName("refmark");
- String name7 = mkName("refmark");
- TreeNode root = new TreeNode();
- root.appendChild( new ReferenceMarkStartNode(name1) );
- root.appendChild( new ReferenceMarkStartNode(name2) );
- root.appendChild( new ReferenceMarkStartNode(name3) );
- root.appendChild( new ReferenceMarkStartNode(name4) );
- root.appendChild( new ReferenceMarkStartNode(name5) );
- root.appendChild( new ReferenceMarkStartNode(name6) );
- root.appendChild( new ReferenceMarkStartNode(name7) );
- root.appendChild( new TextNode("abc") );
- root.appendChild( new ReferenceMarkEndNode(name7) );
- root.appendChild( new ReferenceMarkEndNode(name6) );
- root.appendChild( new ReferenceMarkEndNode(name5) );
- root.appendChild( new ReferenceMarkEndNode(name4) );
- root.appendChild( new ReferenceMarkEndNode(name3) );
- root.appendChild( new ReferenceMarkEndNode(name2) );
- root.appendChild( new ReferenceMarkEndNode(name1) );
- root.appendChild( new TextNode("de") );
- doTest(root);
- }
-
- @Test public void testToxMark2() throws Exception
- {
- String name1 = mkName("toxmark");
- TreeNode root = new TreeNode();
- root.appendChild( new DocumentIndexMarkStartNode(name1) );
- root.appendChild( new TextNode("abc") );
- root.appendChild( new DocumentIndexMarkEndNode(name1) );
- root.appendChild( new TextNode("de") );
- doTest(root);
- }
-
- @Test public void testToxMark3() throws Exception
- {
- // BUG: #i107672# (non-deterministic; depends on pointer ordering)
- String name1 = mkName("toxmark");
- String name2 = mkName("toxmark");
- String name3 = mkName("toxmark");
- String name4 = mkName("toxmark");
- String name5 = mkName("toxmark");
- String name6 = mkName("toxmark");
- String name7 = mkName("toxmark");
- TreeNode root = new TreeNode();
- root.appendChild( new DocumentIndexMarkStartNode(name1) );
- root.appendChild( new DocumentIndexMarkStartNode(name2) );
- root.appendChild( new DocumentIndexMarkStartNode(name3) );
- root.appendChild( new DocumentIndexMarkStartNode(name4) );
- root.appendChild( new DocumentIndexMarkStartNode(name5) );
- root.appendChild( new DocumentIndexMarkStartNode(name6) );
- root.appendChild( new DocumentIndexMarkStartNode(name7) );
- root.appendChild( new TextNode("abc") );
- root.appendChild( new DocumentIndexMarkEndNode(name7) );
- root.appendChild( new DocumentIndexMarkEndNode(name6) );
- root.appendChild( new DocumentIndexMarkEndNode(name5) );
- root.appendChild( new DocumentIndexMarkEndNode(name4) );
- root.appendChild( new DocumentIndexMarkEndNode(name3) );
- root.appendChild( new DocumentIndexMarkEndNode(name2) );
- root.appendChild( new DocumentIndexMarkEndNode(name1) );
- root.appendChild( new TextNode("de") );
- doTest(root);
- }
-
@Test public void testMarks1() throws Exception
{
String name1 = mkName("bookmark");