Trying to move DocBook navigation into the right place. More work needed.
authorjglick@netbeans.org
Sat, 25 Mar 2006 11:12:23 -0500
changeset 17635df085e420041
parent 17634 47a11c6247ff
child 17636 e60ee83dfcd3
Trying to move DocBook navigation into the right place. More work needed.
xmlnavigation/test/unit/src/org/netbeans/modules/xmlnavigation/XMLNavigatorPanelTest.java
     1.1 --- a/xmlnavigation/test/unit/src/org/netbeans/modules/xmlnavigation/XMLNavigatorPanelTest.java	Sat Mar 25 11:12:22 2006 -0500
     1.2 +++ b/xmlnavigation/test/unit/src/org/netbeans/modules/xmlnavigation/XMLNavigatorPanelTest.java	Sat Mar 25 11:12:23 2006 -0500
     1.3 @@ -98,29 +98,7 @@
     1.4                  "<a id='there'>More stuff...</a>\n" + // 6
     1.5                  "</body>\n" // 7
     1.6                  )));
     1.7 -    }
     1.8 -    
     1.9 -    public void testParseDocBook() throws Exception {
    1.10 -        assertEquals("correct parse of some DocBook sections",
    1.11 -            "1[section/title]First\n" +
    1.12 -            "4[section/title]Second\n" +
    1.13 -            "6[section/title]Notes on Second\n",
    1.14 -            itemsSummary(parse(
    1.15 -                "<article>\n" + // 0
    1.16 -                " <section><title>First</title>\n" + // 1
    1.17 -                "  <para>Stuff...</para>\n" + // 2
    1.18 -                " </section>\n" + // 3
    1.19 -                " <section><title>Second</title>\n" + // 4
    1.20 -                "  <para>Stuff...</para>\n" + // 5
    1.21 -                "  <section><title>Notes on Second</title>\n" + // 6
    1.22 -                "   <para>Stuff...</para>\n" + // 7
    1.23 -                "  </section>\n" + // 8
    1.24 -                " </section>\n" + // 9
    1.25 -                "</article>\n" // 10
    1.26 -                )));
    1.27 -        // XXX should DocBook subsections be marked differently?
    1.28          // XXX should try to also parse e.g. <h3><a name="section">Title here...</a></h3>
    1.29 -        // as well as <section id="section"><title>Title here...</title>...</section>
    1.30      }
    1.31      
    1.32      public void testParseWithUnresolvedEntityRefs() throws Exception {