langtools/test/com/sun/javadoc/testConstructorIndent/TestConstructorIndent.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.
    38     //Test information.
    38     //Test information.
    39     private static final String BUG_ID = "4904037";
    39     private static final String BUG_ID = "4904037";
    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, SRC_DIR + FS + "C.java"
    43         "-d", BUG_ID, "-sourcepath", SRC_DIR, SRC_DIR + "/C.java"
    44     };
    44     };
    45 
    45 
    46     //Input for string search tests.
    46     //Input for string search tests.
    47     private static final String[][] TEST = {
    47     private static final String[][] TEST = {
    48         {BUG_ID + FS + "C.html", "<div class=\"block\">" +
    48         {BUG_ID + "/C.html", "<div class=\"block\">" +
    49                  "This is just a simple constructor.</div>" + NL +
    49                  "This is just a simple constructor.</div>\n" +
    50                  "<dl>" + NL + "<dt><span class=\"paramLabel\">Parameters:</span></dt>" + NL +
    50                  "<dl>\n" +
    51                  "<dd><code>i</code> - a param.</dd>" + NL +"</dl>"
    51                  "<dt><span class=\"paramLabel\">Parameters:</span></dt>\n" +
       
    52                  "<dd><code>i</code> - a param.</dd>\n" +
       
    53                  "</dl>"
    52         }
    54         }
    53     };
    55     };
    54     private static final String[][] NEGATED_TEST = NO_TEST;
    56     private static final String[][] NEGATED_TEST = NO_TEST;
    55 
    57 
    56     /**
    58     /**