Copyright $(THIS_YEAR) Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms. Also see the documentation redistribution policy.
' JAVADOCOVERVIEW = $(SHARE_SRC)/classes/overview-core.html @@ -120,7 +120,7 @@ -group $(DOMAPI_GROUPNAME) $(DOMAPI_REGEXP) DOMAPI_JAVADOCTITLE = 'Common DOM API' DOMAPI_JAVADOCWINDOWTITLE = 'Common DOM API' -DOMAPI_JAVADOCHEADER = 'Common DOM API' +DOMAPI_JAVADOCHEADER = 'Common DOM API' DOMAPI_JAVADOCBOTTOM = 'Submit a bug or feature"+NL+"
i
- a param."+NL+"
i
- a param." + NL + "
@Deprecated" + NL + - "public class DeprecatedClassByAnnotation"}, + "public class DeprecatedClassByAnnotation"}, - {TARGET_FILE2, "public int field" + NL + + {TARGET_FILE2, "public int field" + NL + "
Overrides:read
in class " +
"FilterReader"},
{BUG_ID + FS + "pkg" + FS + "XReader.html",
- "Specified by:Specified by:readInt
in interface " +
"" + NL +
- "Class Summary"
+ "Class Summary"
},
// Class documentation
{BUG_ID + FS + "pkg1" + FS + "C1.html",
"" + NL +
- "Field Summary "
+ "Field Summary"
},
{BUG_ID + FS + "pkg1" + FS + "C1.html",
- "Methods inherited from class " + "java.lang.Object "
+ "Methods inherited from class " + "java.lang.Object "
},
// Class use documentation
@@ -76,7 +76,7 @@
// Deprecated
{BUG_ID + FS + "deprecated-list.html",
"" + NL +
- "Deprecated Methods "
+ "Deprecated Methods"
},
// Constant values
@@ -90,20 +90,20 @@
// Serialized Form
{BUG_ID + FS + "serialized-form.html",
"" + NL +
- "Package pkg1 "
+ "Package pkg1"
},
{BUG_ID + FS + "serialized-form.html",
"" + NL +
- "Class pkg1.C1 extends java.lang.Object " + "implements Serializable "
+ "Class pkg1.C1 extends java.lang.Object " + "implements Serializable"
},
{BUG_ID + FS + "serialized-form.html",
"" + NL +
- "Serialized Fields "
+ "Serialized Fields"
},
// Overview Frame
{BUG_ID + FS + "overview-frame.html",
- "" + NL + "Test Files "
+ "" + NL + "Test Files "
},
{BUG_ID + FS + "overview-frame.html",
"" + NL +
diff -r 952b42dad1fc -r 28000d78abfa langtools/test/com/sun/javadoc/testHelpOption/TestHelpOption.java
--- a/langtools/test/com/sun/javadoc/testHelpOption/TestHelpOption.java Mon Jan 26 12:07:54 2009 -0800
+++ b/langtools/test/com/sun/javadoc/testHelpOption/TestHelpOption.java Mon Feb 09 13:47:26 2009 -0800
@@ -91,7 +91,8 @@
private static final String[][] TEST2 = {
{BUG_ID + FS + "TestHelpOption.html",
- "" +
"Help"
+ "" +
+ "Help"
},
};
private static final String[][] NEGATED_TEST2 = NO_TEST;
diff -r 952b42dad1fc -r 28000d78abfa langtools/test/com/sun/javadoc/testHref/TestHref.java
--- a/langtools/test/com/sun/javadoc/testHref/TestHref.java Mon Jan 26 12:07:54 2009 -0800
+++ b/langtools/test/com/sun/javadoc/testHref/TestHref.java Mon Feb 09 13:47:26 2009 -0800
@@ -67,7 +67,7 @@
},
//@see test.
{BUG_ID + FS + "pkg" + FS + "C2.html",
- "See Also:- "
+ "See Also:
- "
},
//Header does not link to the page itself.
@@ -77,7 +77,7 @@
//Signature does not link to the page itself.
{BUG_ID + FS + "pkg" + FS + "C4.html",
- "public abstract class C4<E extends C4<E>>"
+ "public abstract class C4<E extends C4<E>>"
},
};
private static final String[][] NEGATED_TEST =
diff -r 952b42dad1fc -r 28000d78abfa langtools/test/com/sun/javadoc/testHtmlStrongTag/TestHtmlStrongTag.java
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/langtools/test/com/sun/javadoc/testHtmlStrongTag/TestHtmlStrongTag.java Mon Feb 09 13:47:26 2009 -0800
@@ -0,0 +1,82 @@
+/*
+ * Copyright 1999-2008 Sun Microsystems, Inc. All Rights Reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation. Sun designates this
+ * particular file as subject to the "Classpath" exception as provided
+ * by Sun in the LICENSE file that accompanied this code.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
+ * CA 95054 USA or visit www.sun.com if you need additional information or
+ * have any questions.
+ */
+
+/*
+ * @test
+ * @bug 6786028
+ * @summary This test verifys the use of HTML tag instead of by Javadoc std doclet.
+ * @author Bhavesh Patel
+ * @library ../lib/
+ * @build JavadocTester
+ * @build TestHtmlStrongTag
+ * @run main TestHtmlStrongTag
+ */
+
+public class TestHtmlStrongTag extends JavadocTester {
+
+ private static final String BUG_ID = "6786028";
+ private static final String[][] TEST1 = {
+ {BUG_ID + FS + "pkg1" + FS + "C1.html", "Method Summary"},
+ {BUG_ID + FS + "pkg1" + FS + "C1.html", "See Also:"},
+ {BUG_ID + FS + "pkg1" + FS + "package-summary.html", "Class Summary"}};
+ private static final String[][] NEGATED_TEST1 = {
+ {BUG_ID + FS + "pkg1" + FS + "C1.html", ""}};
+ private static final String[][] TEST2 = {
+ {BUG_ID + FS + "pkg2" + FS + "C2.html", "Method Summary"},
+ {BUG_ID + FS + "pkg2" + FS + "C2.html", "Comments:"},
+ {BUG_ID + FS + "pkg1" + FS + "package-summary.html", "Class Summary"}};
+
+ private static final String[] ARGS1 =
+ new String[] {
+ "-d", BUG_ID, "-sourcepath", SRC_DIR, "pkg1"};
+ private static final String[] ARGS2 =
+ new String[] {
+ "-d", BUG_ID, "-sourcepath", SRC_DIR, "pkg2"};
+
+ /**
+ * The entry point of the test.
+ * @param args the array of command line arguments.
+ */
+ public static void main(String[] args) {
+ TestHtmlStrongTag tester = new TestHtmlStrongTag();
+ run(tester, ARGS1, TEST1, NEGATED_TEST1);
+ run(tester, ARGS2, TEST2, NO_TEST);
+ tester.printSummary();
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public String getBugId() {
+ return BUG_ID;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public String getBugName() {
+ return getClass().getName();
+ }
+}
diff -r 952b42dad1fc -r 28000d78abfa langtools/test/com/sun/javadoc/testHtmlStrongTag/pkg1/C1.java
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/langtools/test/com/sun/javadoc/testHtmlStrongTag/pkg1/C1.java Mon Feb 09 13:47:26 2009 -0800
@@ -0,0 +1,36 @@
+/*
+ * Copyright 1999-2008 Sun Microsystems, Inc. All Rights Reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation. Sun designates this
+ * particular file as subject to the "Classpath" exception as provided
+ * by Sun in the LICENSE file that accompanied this code.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
+ * CA 95054 USA or visit www.sun.com if you need additional information or
+ * have any questions.
+ */
+
+package pkg1;
+
+/**
+ * @see java.lang.Object#wait(long, int)
+ */
+public class C1 {
+
+ public void method(int param1, int param2) {
+
+ }
+}
diff -r 952b42dad1fc -r 28000d78abfa langtools/test/com/sun/javadoc/testHtmlStrongTag/pkg2/C2.java
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/langtools/test/com/sun/javadoc/testHtmlStrongTag/pkg2/C2.java Mon Feb 09 13:47:26 2009 -0800
@@ -0,0 +1,31 @@
+/*
+ * Copyright 1999-2008 Sun Microsystems, Inc. All Rights Reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation. Sun designates this
+ * particular file as subject to the "Classpath" exception as provided
+ * by Sun in the LICENSE file that accompanied this code.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
+ * CA 95054 USA or visit www.sun.com if you need additional information or
+ * have any questions.
+ */
+
+package pkg2;
+
+/**
+ * Comments: Class 2
+ */
+public class C2 {}
diff -r 952b42dad1fc -r 28000d78abfa langtools/test/com/sun/javadoc/testIndex/TestIndex.java
--- a/langtools/test/com/sun/javadoc/testIndex/TestIndex.java Mon Jan 26 12:07:54 2009 -0800
+++ b/langtools/test/com/sun/javadoc/testIndex/TestIndex.java Mon Feb 09 13:47:26 2009 -0800
@@ -54,27 +54,27 @@
//Test index-all.html
{BUG_ID + FS + "index-all.html",
- "C" +
+ "C" +
" - Class in pkg"},
{BUG_ID + FS + "index-all.html",
"" +
- "Interface - Interface in " +
+ "Interface - Interface in " +
"pkg"},
{BUG_ID + FS + "index-all.html",
"" +
- "AnnotationType - Annotation Type in " +
+ "AnnotationType
- Annotation Type in " +
"pkg"},
{BUG_ID + FS + "index-all.html",
"" +
- "Coin - Enum in " +
+ "Coin
- Enum in " +
"pkg"},
{BUG_ID + FS + "index-all.html",
"Class in <Unnamed>"},
{BUG_ID + FS + "index-all.html",
- "- Java - " + NL +
+ "
- Java - " + NL +
"Static variable in class pkg.C" + NL +
"
- " + NL +
- "
- JDK - " + NL +
+ "
- JDK - " + NL +
"Static variable in class pkg.C" + NL +
"
- "},
};
diff -r 952b42dad1fc -r 28000d78abfa langtools/test/com/sun/javadoc/testInterface/TestInterface.java
--- a/langtools/test/com/sun/javadoc/testInterface/TestInterface.java Mon Jan 26 12:07:54 2009 -0800
+++ b/langtools/test/com/sun/javadoc/testInterface/TestInterface.java Mon Feb 09 13:47:26 2009 -0800
@@ -48,14 +48,14 @@
//Input for string search tests.
private static final String[][] TEST = {
{BUG_ID + FS + "pkg" + FS + "Interface.html",
- "int method()"},
+ "int method()"},
{BUG_ID + FS + "pkg" + FS + "Interface.html",
- "static final int field"},
+ "static final int field"},
// Make sure known implementing class list is correct and omits type parameters.
{BUG_ID + FS + "pkg" + FS + "Interface.html",
- "
- All Known Implementing Classes: " +
+ "
- All Known Implementing Classes: " +
"
- Child, " +
"" +
@@ -63,34 +63,34 @@
// Make sure "All Implemented Interfaces": has substituted type parameters
{BUG_ID + FS + "pkg" + FS + "Child.html",
- "All Implemented Interfaces:
- Interface<T>"
+ "All Implemented Interfaces:
- Interface<T>"
},
//Make sure Class Tree has substituted type parameters.
{BUG_ID + FS + "pkg" + FS + "Child.html",
"
" + NL +
"java.lang.Object" + NL +
"
pkg.Parent<T>" + NL +
- "
pkg.Child<T>" + NL +
+ "
pkg.Child<T>" + NL +
"
"
},
//Make sure "Direct Know Subclasses" omits type parameters
{BUG_ID + FS + "pkg" + FS + "Parent.html",
- "Direct Known Subclasses: - Child"
+ "Direct Known Subclasses:
- Child"
},
//Make sure "Specified By" has substituted type parameters.
{BUG_ID + FS + "pkg" + FS + "Child.html",
- "Specified by:
method
in interface Interface<T>
"
+ "Specified by:method
in interface Interface<T>
"
},
//Make sure "Overrides" has substituted type parameters.
{BUG_ID + FS + "pkg" + FS + "Child.html",
- "Overrides:method
in class Parent<T>
"
+ "Overrides:method
in class Parent<T>
"
},
};
private static final String[][] NEGATED_TEST = {
{BUG_ID + FS + "pkg" + FS + "Interface.html",
- "public int method()"},
+ "public int method()"},
{BUG_ID + FS + "pkg" + FS + "Interface.html",
- "public static final int field"},
+ "public static final int field"},
};
/**
diff -r 952b42dad1fc -r 28000d78abfa langtools/test/com/sun/javadoc/testJavascript/TestJavascript.java
--- a/langtools/test/com/sun/javadoc/testJavascript/TestJavascript.java Mon Jan 26 12:07:54 2009 -0800
+++ b/langtools/test/com/sun/javadoc/testJavascript/TestJavascript.java Mon Feb 09 13:47:26 2009 -0800
@@ -45,9 +45,9 @@
//Input for string search tests.
private static final String[][] TEST = {
{BUG_ID + FS + "pkg" + FS + "C.html",
- "FRAMES"},
+ "FRAMES"},
{BUG_ID + FS + "TestJavascript.html",
- "FRAMES"},
+ "FRAMES"},
{BUG_ID + FS + "index.html",
"