langtools/test/com/sun/javadoc/testLeadingSpaces/LeadingSpaces.java
changeset 23971 f5ff1f5a8dee
parent 19119 3c2e9a2bbed6
child 24065 fc4022e50129
equal deleted inserted replaced
23970:76f4acb11952 23971:f5ff1f5a8dee
     1 /*
     1 /*
     2  * Copyright (c) 2001, 2013, 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.
    37 
    37 
    38 public class LeadingSpaces extends JavadocTester {
    38 public class LeadingSpaces extends JavadocTester {
    39 
    39 
    40     private static final String BUG_ID = "4232882-8014636";
    40     private static final String BUG_ID = "4232882-8014636";
    41     private static final String[][] TEST = {
    41     private static final String[][] TEST = {
    42         {BUG_ID + FS + "LeadingSpaces.html",
    42         {BUG_ID + "/LeadingSpaces.html",
    43 "        1" + NL +
    43 "        1\n" +
    44 "          2" + NL +
    44 "          2\n" +
    45 "            3" + NL +
    45 "            3\n" +
    46 "              4" + NL +
    46 "              4\n" +
    47 "                5" + NL +
    47 "                5\n" +
    48 "                  6" + NL +
    48 "                  6\n" +
    49 "                    7"}
    49 "                    7"}
    50     };
    50     };
    51     private static final String[][] NEGATED_TEST = NO_TEST;
    51     private static final String[][] NEGATED_TEST = NO_TEST;
    52     private static final String[] ARGS =
    52     private static final String[] ARGS =
    53         new String[] {
    53         new String[] {
    54             "-d", BUG_ID, "-sourcepath", SRC_DIR,
    54             "-d", BUG_ID, "-sourcepath", SRC_DIR,
    55         SRC_DIR + FS + "LeadingSpaces.java"};
    55         SRC_DIR + "/LeadingSpaces.java"};
    56 
    56 
    57     /**
    57     /**
    58      * The entry point of the test.
    58      * The entry point of the test.
    59      * @param args the array of command line arguments.
    59      * @param args the array of command line arguments.
    60      */
    60      */