equal
deleted
inserted
replaced
171 "--module-source-path", base.toString(), |
171 "--module-source-path", base.toString(), |
172 "--module", "m"); |
172 "--module", "m"); |
173 checkExit(Exit.OK); |
173 checkExit(Exit.OK); |
174 |
174 |
175 checkOutput("m/module-summary.html", false, |
175 checkOutput("m/module-summary.html", false, |
176 "<h3>Services</h3>"); |
176 "<h2>Services</h2>"); |
177 } |
177 } |
178 |
178 |
179 @Test |
179 @Test |
180 public void checkUsesNoApiTagModuleModeAll(Path base) throws Exception { |
180 public void checkUsesNoApiTagModuleModeAll(Path base) throws Exception { |
181 ModuleBuilder mb = new ModuleBuilder(tb, "m") |
181 ModuleBuilder mb = new ModuleBuilder(tb, "m") |
192 "--module-source-path", base.toString(), |
192 "--module-source-path", base.toString(), |
193 "--module", "m"); |
193 "--module", "m"); |
194 checkExit(Exit.OK); |
194 checkExit(Exit.OK); |
195 |
195 |
196 checkOutput("m/module-summary.html", true, |
196 checkOutput("m/module-summary.html", true, |
197 "<h3>Services</h3>"); |
197 "<h2>Services</h2>"); |
198 |
198 |
199 checkOutput("m/module-summary.html", true, |
199 checkOutput("m/module-summary.html", true, |
200 "<div class=\"usesSummary\">\n<table>\n" + |
200 "<div class=\"usesSummary\">\n<table>\n" + |
201 "<caption><span>Uses</span><span class=\"tabEnd\"> </span></caption>\n" + |
201 "<caption><span>Uses</span><span class=\"tabEnd\"> </span></caption>\n" + |
202 "<tr>\n" + |
202 "<tr>\n" + |
233 "--module-source-path", base.toString(), |
233 "--module-source-path", base.toString(), |
234 "--module", "m"); |
234 "--module", "m"); |
235 checkExit(Exit.OK); |
235 checkExit(Exit.OK); |
236 |
236 |
237 checkOutput("m/module-summary.html", true, |
237 checkOutput("m/module-summary.html", true, |
238 "<h3>Services</h3>"); |
238 "<h2>Services</h2>"); |
239 |
239 |
240 checkOutput("m/module-summary.html", true, |
240 checkOutput("m/module-summary.html", true, |
241 "<div class=\"usesSummary\">\n<table>\n" + |
241 "<div class=\"usesSummary\">\n<table>\n" + |
242 "<caption><span>Uses</span><span class=\"tabEnd\"> </span></caption>\n" + |
242 "<caption><span>Uses</span><span class=\"tabEnd\"> </span></caption>\n" + |
243 "<tr>\n" + |
243 "<tr>\n" + |
274 "--module", "m"); |
274 "--module", "m"); |
275 |
275 |
276 checkExit(Exit.OK); |
276 checkExit(Exit.OK); |
277 |
277 |
278 checkOutput("m/module-summary.html", false, |
278 checkOutput("m/module-summary.html", false, |
279 "<h3>Services</h3>"); |
279 "<h2>Services</h2>"); |
280 } |
280 } |
281 |
281 |
282 @Test |
282 @Test |
283 public void checkProvidesNoApiTagModuleModeAll(Path base) throws Exception { |
283 public void checkProvidesNoApiTagModuleModeAll(Path base) throws Exception { |
284 ModuleBuilder mb = new ModuleBuilder(tb, "m") |
284 ModuleBuilder mb = new ModuleBuilder(tb, "m") |
300 "--module", "m"); |
300 "--module", "m"); |
301 |
301 |
302 checkExit(Exit.OK); |
302 checkExit(Exit.OK); |
303 |
303 |
304 checkOutput("m/module-summary.html", true, |
304 checkOutput("m/module-summary.html", true, |
305 "<h3>Services</h3>"); |
305 "<h2>Services</h2>"); |
306 |
306 |
307 checkOutput("m/module-summary.html", true, |
307 checkOutput("m/module-summary.html", true, |
308 "<div class=\"providesSummary\">\n<table>\n" + |
308 "<div class=\"providesSummary\">\n<table>\n" + |
309 "<caption><span>Provides</span><span class=\"tabEnd\"> </span></caption>\n" + |
309 "<caption><span>Provides</span><span class=\"tabEnd\"> </span></caption>\n" + |
310 "<tr>\n" + |
310 "<tr>\n" + |
344 "--module", "m"); |
344 "--module", "m"); |
345 |
345 |
346 checkExit(Exit.OK); |
346 checkExit(Exit.OK); |
347 |
347 |
348 checkOutput("m/module-summary.html", true, |
348 checkOutput("m/module-summary.html", true, |
349 "<h3>Services</h3>"); |
349 "<h2>Services</h2>"); |
350 |
350 |
351 checkOutput("m/module-summary.html", true, |
351 checkOutput("m/module-summary.html", true, |
352 "<div class=\"providesSummary\">\n<table>\n" + |
352 "<div class=\"providesSummary\">\n<table>\n" + |
353 "<caption><span>Provides</span><span class=\"tabEnd\"> </span></caption>\n" + |
353 "<caption><span>Provides</span><span class=\"tabEnd\"> </span></caption>\n" + |
354 "<tr>\n" + |
354 "<tr>\n" + |
387 "--module", "m"); |
387 "--module", "m"); |
388 |
388 |
389 checkExit(Exit.OK); |
389 checkExit(Exit.OK); |
390 |
390 |
391 checkOutput("m/module-summary.html", true, |
391 checkOutput("m/module-summary.html", true, |
392 "<h3>Services</h3>"); |
392 "<h2>Services</h2>"); |
393 |
393 |
394 checkOutput("m/module-summary.html", true, |
394 checkOutput("m/module-summary.html", true, |
395 "<div class=\"providesSummary\">\n<table>\n" + |
395 "<div class=\"providesSummary\">\n<table>\n" + |
396 "<caption><span>Provides</span><span class=\"tabEnd\"> </span></caption>\n" + |
396 "<caption><span>Provides</span><span class=\"tabEnd\"> </span></caption>\n" + |
397 "<tr>\n" + |
397 "<tr>\n" + |