langtools/test/com/sun/javadoc/testEnclosingClass/TestEnclosingClass.java
changeset 23971 f5ff1f5a8dee
parent 5520 86e4b9a9da40
child 24065 fc4022e50129
equal deleted inserted replaced
23970:76f4acb11952 23971:f5ff1f5a8dee
     1 /*
     1 /*
     2  * Copyright (c) 2004, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2004, 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.
    42         "-d", BUG_ID, "-sourcepath", SRC_DIR, "pkg"
    42         "-d", BUG_ID, "-sourcepath", SRC_DIR, "pkg"
    43     };
    43     };
    44 
    44 
    45     //Input for string search tests.
    45     //Input for string search tests.
    46     private static final String[][] TEST = {
    46     private static final String[][] TEST = {
    47         {BUG_ID + FS + "pkg" + FS + "MyClass.MyInterface.html", "Enclosing class:"}
    47         {BUG_ID + "/pkg/MyClass.MyInterface.html", "Enclosing class:"}
    48     };
    48     };
    49     private static final String[][] NEGATED_TEST = NO_TEST;
    49     private static final String[][] NEGATED_TEST = NO_TEST;
    50 
    50 
    51     /**
    51     /**
    52      * The entry point of the test.
    52      * The entry point of the test.