Package org.gradle.reporting

Examples of org.gradle.reporting.HtmlReportRenderer


            }
        });
        this.reports.addAll(reports);
        this.outputFile = outputFile;

        HtmlReportRenderer renderer = new HtmlReportRenderer();
        renderer.renderRawSinglePage(reports, new ReportRenderer<Collection<Report>, HtmlPageBuilder<Writer>>() {
            @Override
            public void render(Collection<Report> model, HtmlPageBuilder<Writer> builder) throws IOException {
                generate(builder);
            }
        }, outputFile);
View Full Code Here


public class ProfileReportRenderer {
    private static final DurationFormatter DURATION_FORMAT = new DurationFormatter();

    public void writeTo(BuildProfile buildProfile, File file) {
        HtmlReportRenderer renderer = new HtmlReportRenderer();
        renderer.renderSinglePage(buildProfile, new ProfilePageRenderer(), file);
    }
View Full Code Here

        return model;
    }

    private void generateFiles(AllTestResults model, final TestResultsProvider resultsProvider, File reportDir) {
        try {
            HtmlReportRenderer htmlRenderer = new HtmlReportRenderer();
            htmlRenderer.render(model, new ReportRenderer<AllTestResults, HtmlReportBuilder>() {
                @Override
                public void render(AllTestResults model, HtmlReportBuilder output) throws IOException {
                    PackagePageRenderer packagePageRenderer = new PackagePageRenderer();
                    ClassPageRenderer classPageRenderer = new ClassPageRenderer(resultsProvider);
View Full Code Here

TOP

Related Classes of org.gradle.reporting.HtmlReportRenderer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.