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:</STRONG><DD><CODE><A HREF=\"../pkg1/BaseClass.html#publicMethod"}, |
43 "Overrides:</STRONG></DT><DD><CODE><A HREF=\"../pkg1/BaseClass.html#publicMethod"}, |
44 |
44 |
45 //The package private method should be overriden since the base and sub class are in the same |
45 //The package private method should be overriden since the base and sub class are in the same |
46 //package. |
46 //package. |
47 {BUG_ID + FS + "pkg1" + FS + "SubClass.html", |
47 {BUG_ID + FS + "pkg1" + FS + "SubClass.html", |
48 "Overrides:</STRONG><DD><CODE><A HREF=\"../pkg1/BaseClass.html#packagePrivateMethod"}, |
48 "Overrides:</STRONG></DT><DD><CODE><A HREF=\"../pkg1/BaseClass.html#packagePrivateMethod"}, |
49 |
49 |
50 //The public method in different package should be overriden |
50 //The public method in different package should be overriden |
51 {BUG_ID + FS + "pkg2" + FS + "SubClass.html", |
51 {BUG_ID + FS + "pkg2" + FS + "SubClass.html", |
52 "Overrides:</STRONG><DD><CODE><A HREF=\"../pkg1/BaseClass.html#publicMethod"}, |
52 "Overrides:</STRONG></DT><DD><CODE><A HREF=\"../pkg1/BaseClass.html#publicMethod"}, |
53 }; |
53 }; |
54 |
54 |
55 private static final String[][] NEGATED_TEST = { |
55 private static final String[][] NEGATED_TEST = { |
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:</STRONG><DD><CODE><A HREF=\"../pkg1/BaseClass.html#privateMethod"}, |
59 "Overrides:</STRONG></DT><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:</STRONG><DD><CODE><A HREF=\"../pkg1/BaseClass.html#privateMethod"}, |
63 "Overrides:</STRONG></DT><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:</STRONG><DD><CODE><A HREF=\"../pkg1/BaseClass.html#packagePrivateMethod"} |
68 "Overrides:</STRONG></DT><DD><CODE><A HREF=\"../pkg1/BaseClass.html#packagePrivateMethod"} |
69 |
69 |
70 |
70 |
71 }; |
71 }; |
72 |
72 |
73 private static final String[] ARGS = |
73 private static final String[] ARGS = |