langtools/test/com/sun/javadoc/AccessSummary/AccessSummary.java
changeset 23971 f5ff1f5a8dee
parent 7681 1f0819a3341f
child 24065 fc4022e50129
equal deleted inserted replaced
23970:76f4acb11952 23971:f5ff1f5a8dee
     1 /*
     1 /*
     2  * Copyright (c) 2002, 2010, 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.
    33  */
    33  */
    34 
    34 
    35 public class AccessSummary extends JavadocTester {
    35 public class AccessSummary extends JavadocTester {
    36 
    36 
    37     private static final String BUG_ID = "4637604-4775148";
    37     private static final String BUG_ID = "4637604-4775148";
    38     private static final String OUTPUT_DIR1 = "docs1-" + BUG_ID + FS;
    38     private static final String OUTPUT_DIR1 = "docs1-" + BUG_ID + "/";
    39 
    39 
    40     /**
    40     /**
    41      * Assign value for [ fileToSearch, stringToFind ]
    41      * Assign value for [ fileToSearch, stringToFind ]
    42      */
    42      */
    43     private static final String[][] TESTARRAY1 = {
    43     private static final String[][] TESTARRAY1 = {
    45         // Test that the summary attribute appears
    45         // Test that the summary attribute appears
    46         { OUTPUT_DIR1 + "overview-summary.html",
    46         { OUTPUT_DIR1 + "overview-summary.html",
    47                  "summary=\"Packages table, listing packages, and an explanation\"" },
    47                  "summary=\"Packages table, listing packages, and an explanation\"" },
    48 
    48 
    49         // Test that the summary attribute appears
    49         // Test that the summary attribute appears
    50         { OUTPUT_DIR1 + "p1" + FS + "C1.html",
    50         { OUTPUT_DIR1 + "p1/C1.html",
    51                  "summary=\"Constructor Summary table, listing constructors, and an explanation\"" },
    51                  "summary=\"Constructor Summary table, listing constructors, and an explanation\"" },
    52 
    52 
    53         // Test that the summary attribute appears
    53         // Test that the summary attribute appears
    54         { OUTPUT_DIR1 + "constant-values.html",
    54         { OUTPUT_DIR1 + "constant-values.html",
    55                  "summary=\"Constant Field Values table, listing constant fields, and values\"" }
    55                  "summary=\"Constant Field Values table, listing constant fields, and values\"" }