TestSerializedFormDeprecationInfo.java revision 232
221N/A * Copyright 2009 Sun Microsystems, Inc. All Rights Reserved. 221N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 221N/A * This code is free software; you can redistribute it and/or modify it 221N/A * under the terms of the GNU General Public License version 2 only, as 221N/A * published by the Free Software Foundation. Sun designates this 221N/A * particular file as subject to the "Classpath" exception as provided 221N/A * by Sun in the LICENSE file that accompanied this code. 221N/A * This code is distributed in the hope that it will be useful, but WITHOUT 221N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 221N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 221N/A * version 2 for more details (a copy is included in the LICENSE file that 221N/A * accompanied this code). 221N/A * You should have received a copy of the GNU General Public License version 221N/A * 2 along with this work; if not, write to the Free Software Foundation, 221N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 221N/A * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, 221N/A * CA 95054 USA or visit www.sun.com if you need additional information or 221N/A * @author Bhavesh Patel 221N/A * @build TestSerializedFormDeprecationInfo 221N/A * @run main TestSerializedFormDeprecationInfo 221N/A // display the inline comments, tags and deprecation information if any. 232N/A "<DT><STRONG>Throws:</STRONG></DT>" +
NL +
"<DD><CODE>" +
232N/A "java.io.IOException</CODE></DD><DT><STRONG>See Also:</STRONG>" +
232N/A "<CODE>C1.setUndecorated(boolean)</CODE></A></DD></DL>" +
NL +
232N/A "<DD><STRONG>Deprecated.</STRONG> <I>As of JDK version " +
232N/A "<CODE>setUndecorated(boolean)</CODE></A>.</I></DD>" +
221N/A "<DD>This field indicates whether the C1 is undecorated." +
NL +
232N/A "<DD><DL>" +
NL +
"<DT><STRONG>Since:</STRONG></DT>" +
NL +
221N/A " <DD>1.4</DD>" +
NL +
"<DT><STRONG>See Also:</STRONG>" +
232N/A "<CODE>C1.setUndecorated(boolean)</CODE></A></DD></DL>" +
NL +
221N/A "<DD><STRONG>Deprecated.</STRONG> <I>As of JDK version" +
221N/A "<CODE>setUndecorated(boolean)</CODE></A>.</I>" +
NL +
"<P>" +
NL +
232N/A "</DD><DD>Reads the object stream." +
NL +
"<P>" +
NL +
232N/A "</DD>" +
NL +
"<DD><DL>" +
NL +
"<DT><STRONG>Throws:" +
232N/A "</STRONG></DT>" +
NL +
"<DD><CODE><code>" +
232N/A "IOException</code></CODE></DD>" +
NL +
232N/A "<DD><CODE>java.io.IOException</CODE></DD></DL>" +
NL +
232N/A "<DD><STRONG>Deprecated.</STRONG> </DD><DD>" +
232N/A "The name for this class." +
NL +
"<P>" +
NL +
"</DD>" +
NL +
232N/A "<DD> </DD>" +
NL +
"</DL>"}};
221N/A // not display the inline comments and tags but should display deprecation 221N/A "undecorated</STRONG></PRE>" +
NL +
"<DL>" +
NL +
"<DD><STRONG>" +
221N/A "Deprecated.</STRONG> <I>As of JDK version 1.5, replaced by" +
NL +
232N/A "setUndecorated(boolean)</CODE></A>.</I></DD></DL>"},
221N/A "Deprecated.</STRONG> <I>As of JDK version" +
221N/A "<CODE>setUndecorated(boolean)</CODE></A>.</I>" +
NL +
"<P>" +
NL +
221N/A "publicKey</STRONG></PRE>" +
NL +
"<DL>" +
NL +
"<DD><STRONG>" +
232N/A "Deprecated.</STRONG> </DD></DL>"}};
221N/A // ignore the -nodeprecated tag and display the deprecation info. This 221N/A // test is similar to the normal run of javadoc in which inline comment, tags 221N/A // and deprecation information will be displayed. 221N/A // ignore the -nodeprecated tag and display the deprecation info but should not 221N/A // display the inline comments and tags. This test is similar to the test with 221N/A * The entry point of the test. 221N/A * @param args the array of command line arguments.