langtools/test/com/sun/javadoc/testNestedGenerics/TestNestedGenerics.java
changeset 21008 af0b915df7cc
parent 9592 82e14c156b3b
child 23139 612191246a7d
equal deleted inserted replaced
21007:484c9d902861 21008:af0b915df7cc
     1 /*
     1 /*
     2  * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2011, 2013, 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.
    21  * questions.
    21  * questions.
    22  */
    22  */
    23 
    23 
    24 /*
    24 /*
    25  * @test
    25  * @test
    26  * @bug      6758050
    26  * @bug      6758050 8025633
    27  * @summary  Test HTML output for nested generic types.
    27  * @summary  Test HTML output for nested generic types.
    28  * @author   bpatel
    28  * @author   bpatel
    29  * @library  ../lib/
    29  * @library  ../lib/
    30  * @build    JavadocTester TestNestedGenerics
    30  * @build    JavadocTester TestNestedGenerics
    31  * @run main TestNestedGenerics
    31  * @run main TestNestedGenerics
    44 
    44 
    45     //Input for string search tests.
    45     //Input for string search tests.
    46     private static final String[][] TEST = {
    46     private static final String[][] TEST = {
    47         {BUG_ID + FS + "pkg" + FS + "NestedGenerics.html",
    47         {BUG_ID + FS + "pkg" + FS + "NestedGenerics.html",
    48             "<div class=\"block\">Contains <a " +
    48             "<div class=\"block\">Contains <a " +
    49             "href=\"../pkg/NestedGenerics.html#foo(java.util.Map)\"><code>foo" +
    49             "href=\"../pkg/NestedGenerics.html#foo-java.util.Map-\"><code>foo" +
    50             "(java.util.Map&lt;A, java.util.Map&lt;A, A&gt;&gt;)</code></a></div>"
    50             "(java.util.Map&lt;A, java.util.Map&lt;A, A&gt;&gt;)</code></a></div>"
    51         }
    51         }
    52     };
    52     };
    53     private static final String[][] NEGATED_TEST = NO_TEST;
    53     private static final String[][] NEGATED_TEST = NO_TEST;
    54 
    54