equal
deleted
inserted
replaced
62 void testNohelpOption() { |
62 void testNohelpOption() { |
63 javadoc("-d", "out3", |
63 javadoc("-d", "out3", |
64 "-sourcepath", testSrc, |
64 "-sourcepath", testSrc, |
65 "-nohelp", |
65 "-nohelp", |
66 testSrc("Sample.java")); |
66 testSrc("Sample.java")); |
|
67 checkOutput("Sample.html", false, "<li><a href=\"../help-doc.html\">Help</a></li>"); |
67 checkExit(Exit.OK); |
68 checkExit(Exit.OK); |
68 } |
69 } |
69 |
70 |
70 @Test |
71 @Test |
71 void testHelpfileOption() { |
72 void testHelpfileOption() { |
74 "-helpfile", testSrc("test-help.html"), |
75 "-helpfile", testSrc("test-help.html"), |
75 testSrc("Sample.java")); |
76 testSrc("Sample.java")); |
76 checkExit(Exit.OK); |
77 checkExit(Exit.OK); |
77 checkOutput("Sample.html", true, |
78 checkOutput("Sample.html", true, |
78 "<li><a href=\"test-help.html\">Help</a></li>"); |
79 "<li><a href=\"test-help.html\">Help</a></li>"); |
|
80 checkOutput("test-help.html", true, |
|
81 "Help, help."); |
79 } |
82 } |
80 |
83 |
81 @Test |
84 @Test |
82 void testHelpfileReuseOption() { |
85 void testHelpfileReuseOption() { |
83 javadoc("-d", "out5", |
86 javadoc("-d", "out5", |
133 "-helpfile ", |
136 "-helpfile ", |
134 "-linksource ", |
137 "-linksource ", |
135 "-sourcetab ", |
138 "-sourcetab ", |
136 "-keywords ", |
139 "-keywords ", |
137 "-stylesheetfile ", |
140 "-stylesheetfile ", |
138 "-docencoding "); |
141 "-docencoding ", |
|
142 "-html4 ", |
|
143 "-html5 ", |
|
144 "-top ", |
|
145 "-author ", |
|
146 "-noqualifier ", |
|
147 "-nosince ", |
|
148 "-notimestamp ", |
|
149 "-sourcetab "); |
139 |
150 |
140 checkOutput("Sample.html", !withOption, |
151 checkOutput("Sample.html", !withOption, |
141 "<li><a href=\"help-doc.html\">Help</a></li>"); |
152 "<li><a href=\"help-doc.html\">Help</a></li>"); |
142 } |
153 } |
143 } |
154 } |