langtools/test/com/sun/javadoc/testLinkToSerialForm/TestLinkToSerialForm.java
changeset 23971 f5ff1f5a8dee
parent 7681 1f0819a3341f
child 24065 fc4022e50129
equal deleted inserted replaced
23970:76f4acb11952 23971:f5ff1f5a8dee
     1 /*
     1 /*
     2  * Copyright (c) 2002, 2010, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2002, 2014, 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.
    35 
    35 
    36 public class TestLinkToSerialForm extends JavadocTester {
    36 public class TestLinkToSerialForm extends JavadocTester {
    37 
    37 
    38     private static final String BUG_ID = "4521661";
    38     private static final String BUG_ID = "4521661";
    39     private static final String[][] TEST = {
    39     private static final String[][] TEST = {
    40         {BUG_ID + FS + "serialized-form.html", "<a name=\"pkg.C\">"},
    40         {BUG_ID + "/serialized-form.html", "<a name=\"pkg.C\">"},
    41         {BUG_ID + FS + "pkg" + FS + "C.html", "<a href=\"../serialized-form.html#pkg.C\">"}
    41         {BUG_ID + "/pkg/C.html", "<a href=\"../serialized-form.html#pkg.C\">"}
    42     };
    42     };
    43     private static final String[][] NEGATED_TEST = NO_TEST;
    43     private static final String[][] NEGATED_TEST = NO_TEST;
    44     private static final String[] ARGS =
    44     private static final String[] ARGS =
    45         new String[] {
    45         new String[] {
    46             "-d", BUG_ID, "-sourcepath", SRC_DIR, "pkg"};
    46             "-d", BUG_ID, "-sourcepath", SRC_DIR, "pkg"};