langtools/test/com/sun/javadoc/testDupParamWarn/TestDupParamWarn.java
changeset 23971 f5ff1f5a8dee
parent 5520 86e4b9a9da40
child 24065 fc4022e50129
equal deleted inserted replaced
23970:76f4acb11952 23971:f5ff1f5a8dee
     1 /*
     1 /*
     2  * Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2002, 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.
    36 public class TestDupParamWarn extends JavadocTester {
    36 public class TestDupParamWarn extends JavadocTester {
    37 
    37 
    38     private static final String BUG_ID = "4745855";
    38     private static final String BUG_ID = "4745855";
    39     private static final String[] ARGS =
    39     private static final String[] ARGS =
    40         new String[] {"-d", BUG_ID, "-sourcepath",
    40         new String[] {"-d", BUG_ID, "-sourcepath",
    41                 SRC_DIR + FS, "pkg"};
    41                 SRC_DIR + "/", "pkg"};
    42     private static final String[][] NEGATED_TEST =
    42     private static final String[][] NEGATED_TEST =
    43         new String[][] {{WARNING_OUTPUT,
    43         new String[][] {{WARNING_OUTPUT,
    44             "Parameter \"a\" is documented more than once."}};
    44             "Parameter \"a\" is documented more than once."}};
    45 
    45 
    46     /**
    46     /**