diff -r 3fd30668e9b5 -r cfadc977ca75 langtools/test/com/sun/javadoc/testOverridenMethods/TestOverridenPrivateMethodsWithPackageFlag.java --- a/langtools/test/com/sun/javadoc/testOverridenMethods/TestOverridenPrivateMethodsWithPackageFlag.java Tue Nov 30 09:38:48 2010 -0800 +++ b/langtools/test/com/sun/javadoc/testOverridenMethods/TestOverridenPrivateMethodsWithPackageFlag.java Wed Dec 01 11:02:38 2010 -0800 @@ -40,32 +40,44 @@ private static final String[][] TEST = { //The public method should be overriden {BUG_ID + FS + "pkg1" + FS + "SubClass.html", - "Overrides:
Overrides:" + NL +
+ "" +
+ "publicMethod
in class " +
+ "BaseClass
"},
//The public method in different package should be overriden
{BUG_ID + FS + "pkg2" + FS + "SubClass.html",
- "Overrides:Overrides:" + NL +
+ "" +
+ "publicMethod
in class " +
+ "BaseClass
"},
//The package private method should be overriden since the base and sub class are in the same
//package.
{BUG_ID + FS + "pkg1" + FS + "SubClass.html",
- "Overrides:Overrides:" + NL +
+ "" +
+ "packagePrivateMethod
in class " +
+ "BaseClass
"}
};
private static final String[][] NEGATED_TEST = {
//The private method in should not be overriden
{BUG_ID + FS + "pkg1" + FS + "SubClass.html",
- "Overrides:Overrides:" + NL +
+ ""},
//The private method in different package should not be overriden
{BUG_ID + FS + "pkg2" + FS + "SubClass.html",
- "Overrides:Overrides:" + NL +
+ ""},
//The package private method should not be overriden since the base and sub class are in
//different packages.
{BUG_ID + FS + "pkg2" + FS + "SubClass.html",
- "Overrides:Overrides:" + NL +
+ ""},
};
private static final String[] ARGS =