langtools/test/com/sun/javadoc/testTaglets/TestTaglets.java
changeset 36526 3b41f1c69604
parent 30730 d3ce7619db2c
equal deleted inserted replaced
36525:4caf88912b7f 36526:3b41f1c69604
     1 /*
     1 /*
     2  * Copyright (c) 2003, 2015, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2003, 2016, 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.
    48     void test_4654308() {
    48     void test_4654308() {
    49         javadoc("-d", "out-4654308",
    49         javadoc("-d", "out-4654308",
    50                 "-tagletpath", testSrc, // TODO: probably does no good
    50                 "-tagletpath", testSrc, // TODO: probably does no good
    51                 "-taglet", "taglets.Foo",
    51                 "-taglet", "taglets.Foo",
    52                 "-sourcepath", testSrc,
    52                 "-sourcepath", testSrc,
       
    53                 "-XDaccessInternalAPI",
    53                 testSrc("C.java"));
    54                 testSrc("C.java"));
    54         checkExit(Exit.OK);
    55         checkExit(Exit.OK);
    55 
    56 
    56         checkOutput("C.html", true,
    57         checkOutput("C.html", true,
    57                 "<span class=\"simpleTagLabel\">Foo:</span></dt>"
    58                 "<span class=\"simpleTagLabel\">Foo:</span></dt>"