langtools/test/com/sun/javadoc/testEmptyClass/TestEmptyClass.java
changeset 23971 f5ff1f5a8dee
parent 5520 86e4b9a9da40
child 24065 fc4022e50129
equal deleted inserted replaced
23970:76f4acb11952 23971:f5ff1f5a8dee
     1 /*
     1 /*
     2  * Copyright (c) 2001, 2006, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2001, 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.
    38     private static final String OUTPUT_DIR = "tmp";
    38     private static final String OUTPUT_DIR = "tmp";
    39     private static final String[][] TEST = NO_TEST;
    39     private static final String[][] TEST = NO_TEST;
    40     private static final String[][] NEGATED_TEST = {
    40     private static final String[][] NEGATED_TEST = {
    41 
    41 
    42         //The overview tree should not link to classes that were not documented
    42         //The overview tree should not link to classes that were not documented
    43         {OUTPUT_DIR + FS + "overview-tree.html", "<A HREF=\"TestEmptyClass.html\">"},
    43         {OUTPUT_DIR + "/overview-tree.html", "<A HREF=\"TestEmptyClass.html\">"},
    44 
    44 
    45         //The index page should not link to classes that were not documented
    45         //The index page should not link to classes that were not documented
    46         {OUTPUT_DIR + FS + "index-all.html", "<A HREF=\"TestEmptyClass.html\">"},
    46         {OUTPUT_DIR + "/index-all.html", "<A HREF=\"TestEmptyClass.html\">"},
    47     };
    47     };
    48     private static final String[] ARGS =
    48     private static final String[] ARGS =
    49         new String[] {
    49         new String[] {
    50             "-classpath", SRC_DIR + FS + "src",
    50             "-classpath", SRC_DIR + "/src",
    51             "-d", OUTPUT_DIR, "-sourcepath", SRC_DIR + FS + "src",
    51             "-d", OUTPUT_DIR, "-sourcepath", SRC_DIR + "/src",
    52             SRC_DIR + FS + "src" + FS + "Empty.java"
    52             SRC_DIR + "/src/Empty.java"
    53         };
    53         };
    54     private static final String BUG_ID = "4483401 4483407 4483409 4483413 4494343";
    54     private static final String BUG_ID =
       
    55         "4483401 4483407 4483409 4483413 4494343";
    55 
    56 
    56     /**
    57     /**
    57      * The entry point of the test.
    58      * The entry point of the test.
    58      * @param args the array of command line arguments.
    59      * @param args the array of command line arguments.
    59      */
    60      */