langtools/test/com/sun/javadoc/testLinkTaglet/TestLinkTaglet.java
changeset 10203 cca843a7d258
parent 7681 1f0819a3341f
child 19119 3c2e9a2bbed6
equal deleted inserted replaced
10202:f32c7f2c2219 10203:cca843a7d258
     1 /*
     1 /*
     2  * Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2004, 2011, 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      4732864 6280605
    26  * @bug      4732864 6280605 7064544
    27  * @summary  Make sure that you can link from one member to another using
    27  * @summary  Make sure that you can link from one member to another using
    28  *           non-qualified name.
    28  *           non-qualified name, furthermore, ensure the right one is linked.
    29  * @author   jamieh
    29  * @author   jamieh
    30  * @library  ../lib/
    30  * @library  ../lib/
    31  * @build    JavadocTester
    31  * @build    JavadocTester
    32  * @build    TestLinkTaglet
    32  * @build    TestLinkTaglet
    33  * @run main TestLinkTaglet
    33  * @run main TestLinkTaglet
    34  */
    34  */
    35 
    35 
    36 public class TestLinkTaglet extends JavadocTester {
    36 public class TestLinkTaglet extends JavadocTester {
    37 
    37 
    38     //Test information.
    38     //Test information.
    39     private static final String BUG_ID = "4732864-6280605";
    39     private static final String BUG_ID = "4732864-6280605-7064544";
    40 
    40 
    41     //Javadoc arguments.
    41     //Javadoc arguments.
    42     private static final String[] ARGS = new String[] {
    42     private static final String[] ARGS = new String[] {
    43         "-d", BUG_ID, "-sourcepath", SRC_DIR, "pkg", SRC_DIR + FS + "checkPkg" + FS + "B.java"
    43         "-d", BUG_ID, "-sourcepath", SRC_DIR, "pkg", SRC_DIR + FS + "checkPkg" + FS + "B.java"
    44     };
    44     };