langtools/test/com/sun/javadoc/testTaglets/TestTaglets.java
changeset 23971 f5ff1f5a8dee
parent 21478 fa4c7cda1b41
child 24065 fc4022e50129
equal deleted inserted replaced
23970:76f4acb11952 23971:f5ff1f5a8dee
     1 /*
     1 /*
     2  * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2003, 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.
    43     private static final String OUTPUT_DIR = BUG_ID;
    43     private static final String OUTPUT_DIR = BUG_ID;
    44 
    44 
    45     //Javadoc arguments.
    45     //Javadoc arguments.
    46     private static final String[] ARGS_4654308 = new String[] {
    46     private static final String[] ARGS_4654308 = new String[] {
    47         "-d", "4654308", "-tagletpath", SRC_DIR, "-taglet", "taglets.Foo",
    47         "-d", "4654308", "-tagletpath", SRC_DIR, "-taglet", "taglets.Foo",
    48         "-sourcepath", SRC_DIR, SRC_DIR + FS + "C.java"
    48         "-sourcepath", SRC_DIR, SRC_DIR + "/C.java"
    49     };
    49     };
    50 
    50 
    51     private static final String[] ARGS_4767038 = new String[] {
    51     private static final String[] ARGS_4767038 = new String[] {
    52         "-d", "4767038", "-sourcepath", SRC_DIR, SRC_DIR + FS + "Parent.java",
    52         "-d", "4767038", "-sourcepath", SRC_DIR, SRC_DIR + "/Parent.java",
    53         SRC_DIR + FS + "Child.java"
    53         SRC_DIR + "/Child.java"
    54     };
    54     };
    55 
    55 
    56     //Input for string search tests.
    56     //Input for string search tests.
    57     private static final String[][] TEST_4654308 = new String[][] {
    57     private static final String[][] TEST_4654308 = new String[][] {
    58         {"4654308" + FS + "C.html", "<span class=\"simpleTagLabel\">Foo:</span></dt>" +
    58         {"4654308/C.html", "<span class=\"simpleTagLabel\">Foo:</span></dt>" +
    59                  "<dd>my only method is <a href=\"C.html#method--\"><code>here" +
    59                  "<dd>my only method is <a href=\"C.html#method--\"><code>here" +
    60                  "</code></a></dd></dl>"}
    60                  "</code></a></dd></dl>"}
    61     };
    61     };
    62     private static final String[][] NEGATED_TEST_4654308 = NO_TEST;
    62     private static final String[][] NEGATED_TEST_4654308 = NO_TEST;
    63 
    63 
    64     private static final String[][] TEST_4767038 = new String[][] {
    64     private static final String[][] TEST_4767038 = new String[][] {
    65         {"4767038" + FS + "Child.html",
    65         {"4767038/Child.html",
    66             "This is the first sentence."}
    66             "This is the first sentence."}
    67     };
    67     };
    68     private static final String[][] NEGATED_TEST_4767038 = NO_TEST;
    68     private static final String[][] NEGATED_TEST_4767038 = NO_TEST;
    69 
    69 
    70 
    70