diff -r 43528da4c974 -r 9437acfa99e9 langtools/test/com/sun/javadoc/testConstructors/TestConstructors.java --- a/langtools/test/com/sun/javadoc/testConstructors/TestConstructors.java Tue Mar 25 14:50:31 2014 -0700 +++ b/langtools/test/com/sun/javadoc/testConstructors/TestConstructors.java Tue Mar 25 22:07:55 2014 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2014, Oracle and/or its affiliates. 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 @@ -23,7 +23,7 @@ /* * @test - * @bug 8025524 + * @bug 8025524 8031625 * @summary Test for constructor name which should be a non-qualified name. * @author Bhavesh Patel * @library ../lib/ @@ -38,6 +38,21 @@ //Input for string search tests. private static final String[][] TEST = { {BUG_ID + FS + "pkg1" + FS + "Outer.html", + "
See Also:
" + NL + + "
Inner(), " + NL + + "Inner(int), " + NL + + "NestedInner(), " + NL + + "NestedInner(int), " + NL + + "Outer(), " + NL + + "Outer(int)" + }, + {BUG_ID + FS + "pkg1" + FS + "Outer.html", + "Link: Inner(), " + + "Outer(int), " + + "" + + "NestedInner(int)" + }, + {BUG_ID + FS + "pkg1" + FS + "Outer.html", "Outer()" }, {BUG_ID + FS + "pkg1" + FS + "Outer.html", @@ -87,6 +102,18 @@ }, {BUG_ID + FS + "pkg1" + FS + "Outer.Inner.NestedInner.html", "Outer.Inner.NestedInner-int-" + }, + {BUG_ID + FS + "pkg1" + FS + "Outer.html", + "Outer.Inner()" + }, + {BUG_ID + FS + "pkg1" + FS + "Outer.html", + "Outer.Inner(int)" + }, + {BUG_ID + FS + "pkg1" + FS + "Outer.html", + "Outer.Inner.NestedInner()" + }, + {BUG_ID + FS + "pkg1" + FS + "Outer.html", + "Outer.Inner.NestedInner(int)" } };