765N/A * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. 765N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 765N/A * This code is free software; you can redistribute it and/or modify it 765N/A * under the terms of the GNU General Public License version 2 only, as 765N/A * published by the Free Software Foundation. Oracle designates this 765N/A * particular file as subject to the "Classpath" exception as provided 765N/A * by Oracle in the LICENSE file that accompanied this code. 765N/A * This code is distributed in the hope that it will be useful, but WITHOUT 765N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 765N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 765N/A * version 2 for more details (a copy is included in the LICENSE file that 765N/A * accompanied this code). 765N/A * You should have received a copy of the GNU General Public License version 765N/A * 2 along with this work; if not, write to the Free Software Foundation, 765N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 765N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 765N/A * or visit www.oracle.com if you need additional information or have any 765N/A * @summary This test verifies the HTML document generation for javadoc output. 765N/A * @author Bhavesh Patel 765N/A * @build TestHtmlDocument 765N/A * @run main TestHtmlDocument 765N/A * The class reads each file, complete with newlines, into a string to easily 765N/A * compare the existing markup with the generated markup. 765N/A // Check whether the generated markup is same as the existing markup. 765N/A // Generate the HTML output using the HTML document generation within doclet. 765N/A // Document type for the HTML document 765N/A // String content within the document 765N/A // Test invalid META tag 765N/A // Test invalid LINK tag 765N/A // Comment within the document 765N/A "This document is generated from sample source code and HTML " +
765N/A "files with examples of a wide variety of Java language constructs: packages, " +
765N/A "subclasses, subinterfaces, nested classes, nested interfaces," +
765N/A "inheriting from other packages, constructors, fields," +
765N/A "methods, and so forth. ");
765N/A // Test another version of A tag. 765N/A // Test for empty tags. 765N/A // Test for empty nested tags. 765N/A // Read the file into a String 765N/A // Create an array of characters the size of the file