994N/A * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. 994N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 994N/A * This code is free software; you can redistribute it and/or modify it 994N/A * under the terms of the GNU General Public License version 2 only, as 994N/A * published by the Free Software Foundation. 994N/A * This code is distributed in the hope that it will be useful, but WITHOUT 994N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 994N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 994N/A * version 2 for more details (a copy is included in the LICENSE file that 994N/A * accompanied this code). 994N/A * You should have received a copy of the GNU General Public License version 994N/A * 2 along with this work; if not, write to the Free Software Foundation, 994N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 994N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 994N/A * or visit www.oracle.com if you need additional information or have any 994N/A * @summary Test package deprecation. 994N/A * @build JavadocTester TestPackageDeprecation 994N/A * @run main TestPackageDeprecation 994N/A //Input for string search tests. 994N/A "<div class=\"deprecatedContent\"><span class=\"strong\">Deprecated.</span>" +
NL +
994N/A "<div class=\"block\"><i>This package is Deprecated.</i></div>" 994N/A "<li><a href=\"#package\">Deprecated Packages</a></li>" 994N/A * The entry point of the test. 994N/A * @param args the array of command line arguments. 994N/A throw new Error(
"Test Fails: packages summary should not be" +
994N/A "generated for deprecated package.");
994N/A throw new Error(
"Test Fails: FooDepr should not be" +
994N/A "generated as it is deprecated.");