langtools/test/com/sun/javadoc/testSummaryHeading/TestSummaryHeading.java
changeset 23971 f5ff1f5a8dee
parent 7681 1f0819a3341f
child 24065 fc4022e50129
equal deleted inserted replaced
23970:76f4acb11952 23971:f5ff1f5a8dee
     1 /*
     1 /*
     2  * Copyright (c) 2003, 2010, 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.
    39     //Test information.
    39     //Test information.
    40     private static final String BUG_ID = "4904036";
    40     private static final String BUG_ID = "4904036";
    41 
    41 
    42     //Javadoc arguments.
    42     //Javadoc arguments.
    43     private static final String[] ARGS = new String[] {
    43     private static final String[] ARGS = new String[] {
    44         "-d", BUG_ID, "-sourcepath", SRC_DIR, SRC_DIR + FS + "C.java"
    44         "-d", BUG_ID, "-sourcepath", SRC_DIR, SRC_DIR + "/C.java"
    45     };
    45     };
    46 
    46 
    47     //Input for string search tests.
    47     //Input for string search tests.
    48     private static final String[][] TEST = {
    48     private static final String[][] TEST = {
    49         {BUG_ID + FS + "C.html",  "<h3>Method Summary</h3>"}
    49         {BUG_ID + "/C.html",  "<h3>Method Summary</h3>"}
    50     };
    50     };
    51     private static final String[][] NEGATED_TEST = NO_TEST;
    51     private static final String[][] NEGATED_TEST = NO_TEST;
    52 
    52 
    53     /**
    53     /**
    54      * The entry point of the test.
    54      * The entry point of the test.