test/langtools/jdk/javadoc/doclet/testGroupName/TestGroupName.java
changeset 47847 7640bc1eb94f
parent 47452 dae01bc69f86
child 50167 cc705c956798
equal deleted inserted replaced
47846:4e78aba768f0 47847:7640bc1eb94f
    62                 "-group", "abc < & > def", "p1",
    62                 "-group", "abc < & > def", "p1",
    63                 "p1", "p2", "p3");
    63                 "p1", "p2", "p3");
    64         checkExit(Exit.OK);
    64         checkExit(Exit.OK);
    65 
    65 
    66         checkOutput("overview-summary.html", true,
    66         checkOutput("overview-summary.html", true,
    67                 "<span><a href=\"javascript:showGroups(1);\">abc &lt; &amp; &gt; def</a></span>");
    67                 "<span><a href=\"javascript:showGroups(1);\">abc &lt; &amp; &gt; def</a></span>",
    68 
    68                 ",\"abc < & > def\"],");
    69         checkOutput("overview-summary.html", false,
       
    70                 "abc < & > def");
       
    71     }
    69     }
    72 
    70 
    73     @Test
    71     @Test
    74     public void testModuleGroups(Path base) throws IOException {
    72     public void testModuleGroups(Path base) throws IOException {
    75         Path src = base.resolve("src");
    73         Path src = base.resolve("src");
    97                 "--module", "ma,mb,mc");
    95                 "--module", "ma,mb,mc");
    98 
    96 
    99         checkExit(Exit.OK);
    97         checkExit(Exit.OK);
   100 
    98 
   101         checkOutput("overview-summary.html", true,
    99         checkOutput("overview-summary.html", true,
   102                 "<span><a href=\"javascript:showGroups(1);\">abc &lt; &amp; &gt; def</a></span>");
   100                 "<span><a href=\"javascript:showGroups(1);\">abc &lt; &amp; &gt; def</a></span>",
   103 
   101                 ",\"abc < & > def\"],");
   104         checkOutput("overview-summary.html", false,
       
   105                 "abc < & > def");
       
   106     }
   102     }
   107 }
   103 }
   108 
   104