private void updateTop(MavenProject project, HtmlCanvas html, boolean last, boolean nextIsEmpty) throws IOException { if (project == null) return; SiteTop siteTop = new SiteTop(project); updateTop(project.getParent(), html, false, siteTop.caption.isEmpty()); html.render(siteTop); if (!last && !nextIsEmpty) { html .span(class_("brand") ) .write("/") ._span() ; } }
private static <T> void writeTestClassTable(Class<T> classType) throws IOException { html.span(class_("chartStart")); html.label(class_("label")).b().write("Test Case Status")._b()._label(); html.div(class_("smallBar").id(classType.getSimpleName() + "_statusbar"))._div(); writeStatusLegend(); html.span(class_("chartStart")); html.label(class_("label")).b().write("Test Case Implementation")._b()._label(); html.div(class_("smallBar").id(classType.getSimpleName() + "_implmtbar"))._div(); writeImplmntLegend(); acquireTestInfo(classType); }
labelName = shortClassName; html.span(id(normalizedName)).write(labelName)._span();
.h4(class_("panel-title")) .write("Modified files ") .span(class_("badge")).content(comparator.getModifiedFiles().size()) ._h4() ._div() .h4(class_("panel-title")) .write("Deleted files ") .span(class_("badge")).content(comparator.getDeletedFiles().size()) ._h4() ._div() .h4(class_("panel-title")) .write("Added files ") .span(class_("badge")).content(comparator.getAddedFiles().size()) ._h4() ._div()
.h4(class_("panel-title")) .write("Modified files ") .span(class_("badge")).content(comparator.getModifiedFiles().size()) ._h4() ._div() .h4(class_("panel-title")) .write("Deleted files ") .span(class_("badge")).content(comparator.getDeletedFiles().size()) ._h4() ._div() .h4(class_("panel-title")) .write("Added files ") .span(class_("badge")).content(comparator.getAddedFiles().size()) ._h4() ._div()
html.span(class_("chartStart")); html.label(class_("label")).b().write("Test Results by Specification Requirement")._b()._label(); html.div(class_("barChart").id("overallChart1"))._div(); // svg chart html.span(class_("chartStart")); html.label(class_("label")).b().write("Test Results by Test Class")._b()._label(); html.div(class_("barChart").id("resourcesChart"))._div();