test/langtools/jdk/javadoc/doclet/testIndexWithModules/TestIndexWithModules.java
changeset 53391 a99bd2570660
parent 53097 2e82ca64b25d
child 54350 4f9772f4403d
equal deleted inserted replaced
53390:46db9786cd67 53391:a99bd2570660
     1 /*
     1 /*
     2  * Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    81     }
    81     }
    82 
    82 
    83     //multiple modules with frames
    83     //multiple modules with frames
    84     @Test
    84     @Test
    85     public void testIndexWithMultipleModules1(Path base) throws Exception {
    85     public void testIndexWithMultipleModules1(Path base) throws Exception {
       
    86         setAutomaticCheckLinks(false); // @ignore 8217013
    86         Path out = base.resolve("out");
    87         Path out = base.resolve("out");
    87         javadoc("-d", out.toString(),
    88         javadoc("-d", out.toString(),
    88                 "--module-source-path", src.toString(),
    89                 "--module-source-path", src.toString(),
    89                 "--module", "m1,m3,m4",
    90                 "--module", "m1,m3,m4",
    90                 "--frames");
    91                 "--frames");
    96         checkOrder("overview-summary.html",
    97         checkOrder("overview-summary.html",
    97                 "Modules",
    98                 "Modules",
    98                 "<a href=\"m1/module-summary.html\">m1</a>",
    99                 "<a href=\"m1/module-summary.html\">m1</a>",
    99                 "<a href=\"m3/module-summary.html\">m3</a>",
   100                 "<a href=\"m3/module-summary.html\">m3</a>",
   100                 "<a href=\"m4/module-summary.html\">m4</a>");
   101                 "<a href=\"m4/module-summary.html\">m4</a>");
       
   102         setAutomaticCheckLinks(true); // @ignore 8217013
   101     }
   103     }
   102 
   104 
   103     //multiple modules with out frames
   105     //multiple modules with out frames
   104     @Test
   106     @Test
   105     public void testIndexWithMultipleModules2(Path base) throws Exception {
   107     public void testIndexWithMultipleModules2(Path base) throws Exception {