3738394041424344454647
bkr.setContext(ctx); MockJavadocModifierListener mbl = new MockJavadocModifierListener(); mbl.setContext(ctx); mbl.setDocRoot(TARGET_DOCS); bkr.setListeners(createList((BuildListener) mbl)); bkr.process(); String htmlFile = this.getClass().getName().replace(".", "/")+".html"; String className = this.getClass().getCanonicalName();
5657585960616263646566
Kite9DiagramJavadocListener mbl = new Kite9DiagramJavadocListener(); mbl.setContext(ctx); mbl.setDocRoot(TARGET_DOCS); ServerCallingBuildListener scbl = createServerCallingListener(); bkr.setListeners(createList((BuildListener) mbl, scbl)); bkr.process(); String htmlFile = this.getClass().getName().replace(".", "/") + ".html"; try { FileDiff
157158159160161162163164165166167
toInclude.put(prepareCaption(designItem), designItem); } }); runner.process(); try { createReport(getSink(), toInclude, kite9Context, addMap); } catch (IOException e) { throw new MavenReportException("Could not generate maven kite9 report: ", e);
1718192021222324
"<glyph id=\"project:org.kite9.diagram.builders.Test1Class\">", "<stereotype>class</stereotype>", "<label>Test1Class</label>" }); bkr.setListeners(createList((mbl))); bkr.process(); } }
18192021222324252627
scanner.setBasePackage(this.getClass().getName()); bkr.setScanners(createList((Scanner)scanner)); bkr.setContext(ctx); MockBuildListener mbl = new MockBuildListener(new String[] {} ); bkr.setListeners(createList((BuildListener) mbl)); bkr.process(); Assert.assertTrue("Should be something in the listener: ",mbl.getOut().toString().length() > 0); } }
343536373839404142
BasicKite9Runner bkr = new BasicKite9Runner(); bkr.setScanners(createList((Scanner) createLocalClassScanner(createModel()))); bkr.setContext(ctx); BuildListener mbl = new MockBuildListener(new String[] {LINE1, LINE2, LINE3} ); bkr.setListeners(createList((mbl))); bkr.process(); } }