38 private static final String BUG_ID = "4634891"; |
38 private static final String BUG_ID = "4634891"; |
39 |
39 |
40 private static final String[][] TEST = { |
40 private static final String[][] TEST = { |
41 //The public method should be overriden |
41 //The public method should be overriden |
42 {BUG_ID + FS + "pkg1" + FS + "SubClass.html", |
42 {BUG_ID + FS + "pkg1" + FS + "SubClass.html", |
43 "Overrides:</B><DD><CODE><A HREF=\"../pkg1/BaseClass.html#publicMethod"}, |
43 "Overrides:</STRONG><DD><CODE><A HREF=\"../pkg1/BaseClass.html#publicMethod"}, |
44 |
44 |
45 //The public method in different package should be overriden |
45 //The public method in different package should be overriden |
46 {BUG_ID + FS + "pkg2" + FS + "SubClass.html", |
46 {BUG_ID + FS + "pkg2" + FS + "SubClass.html", |
47 "Overrides:</B><DD><CODE><A HREF=\"../pkg1/BaseClass.html#publicMethod"} |
47 "Overrides:</STRONG><DD><CODE><A HREF=\"../pkg1/BaseClass.html#publicMethod"} |
48 }; |
48 }; |
49 |
49 |
50 private static final String[][] NEGATED_TEST = { |
50 private static final String[][] NEGATED_TEST = { |
51 |
51 |
52 //The package private method should be overriden since the base and sub class are in the same |
52 //The package private method should be overriden since the base and sub class are in the same |
53 //package. However, the link should not show up because the package private methods are not documented. |
53 //package. However, the link should not show up because the package private methods are not documented. |
54 {BUG_ID + FS + "pkg1" + FS + "SubClass.html", |
54 {BUG_ID + FS + "pkg1" + FS + "SubClass.html", |
55 "Overrides:</B><DD><CODE><A HREF=\"../pkg1/BaseClass.html#packagePrivateMethod"}, |
55 "Overrides:</STRONG><DD><CODE><A HREF=\"../pkg1/BaseClass.html#packagePrivateMethod"}, |
56 |
56 |
57 //The private method in should not be overriden |
57 //The private method in should not be overriden |
58 {BUG_ID + FS + "pkg1" + FS + "SubClass.html", |
58 {BUG_ID + FS + "pkg1" + FS + "SubClass.html", |
59 "Overrides:</B><DD><CODE><A HREF=\"../pkg1/BaseClass.html#privateMethod"}, |
59 "Overrides:</STRONG><DD><CODE><A HREF=\"../pkg1/BaseClass.html#privateMethod"}, |
60 |
60 |
61 //The private method in different package should not be overriden |
61 //The private method in different package should not be overriden |
62 {BUG_ID + FS + "pkg2" + FS + "SubClass.html", |
62 {BUG_ID + FS + "pkg2" + FS + "SubClass.html", |
63 "Overrides:</B><DD><CODE><A HREF=\"../pkg1/BaseClass.html#privateMethod"}, |
63 "Overrides:</STRONG><DD><CODE><A HREF=\"../pkg1/BaseClass.html#privateMethod"}, |
64 |
64 |
65 //The package private method should not be overriden since the base and sub class are in |
65 //The package private method should not be overriden since the base and sub class are in |
66 //different packages. |
66 //different packages. |
67 {BUG_ID + FS + "pkg2" + FS + "SubClass.html", |
67 {BUG_ID + FS + "pkg2" + FS + "SubClass.html", |
68 "Overrides:</B><DD><CODE><A HREF=\"../pkg1/BaseClass.html#packagePrivateMethod"} |
68 "Overrides:</STRONG><DD><CODE><A HREF=\"../pkg1/BaseClass.html#packagePrivateMethod"} |
69 }; |
69 }; |
70 |
70 |
71 private static final String[] ARGS = |
71 private static final String[] ARGS = |
72 new String[] { |
72 new String[] { |
73 "-d", BUG_ID, "-sourcepath", SRC_DIR, "pkg1", "pkg2"}; |
73 "-d", BUG_ID, "-sourcepath", SRC_DIR, "pkg1", "pkg2"}; |