Examples of ReportGenerator


Examples of com.ebay.xcelite.utils.diff.report.ReportGenerator

    Collection<T> cb = b.read();
    Collection<T> disjunction = CollectionUtils.disjunction(ca, cb);
    Info<T> info = new ReportInfo<T>(new Files(a.getSheet().getFile().getAbsolutePath(), b.getSheet().getFile()
        .getAbsolutePath()), new Sheets(a.getSheet().getNativeSheet().getSheetName(), b.getSheet().getNativeSheet()
        .getSheetName()), new Collections<T>(ca, cb, disjunction));
    ReportGenerator reporter;
    if (reportGenerator != null) {
      reporter = reportGenerator;
    } else {
      reporter = new SimpleReportGenerator();
    }
    return new DiffResultImpl<T>(disjunction, reporter.generateReport(info));
  }
View Full Code Here

Examples of com.google.test.metric.report.ReportGenerator

          maxExcellentCost, maxAcceptableCost, maxClassesInReport, -1, -1, printDepth, -1, "", "");
      SourceLoader sourceLoader = new SourceLoader(classPath);

      AnalysisModel analysisModel = new AnalysisModel(issuesReporter);
      ReportModel reportModel = new HtmlReportModel(costModel, analysisModel, options);
      ReportGenerator report = new ReportGeneratorProvider(classPath, options,
          reportStream, hypotheticalCostModel, ReportFormat.html).build(costModel, reportModel, sourceLoader);

      new JavaTestabilityRunner(report, classPath, classRepository, computer, allJavaPackages, whitelist, errorStream).run();

      boolean runningInCompilationMode = configuration.getAttribute(
View Full Code Here

Examples of com.google.test.metric.report.ReportGenerator

    BeansWrapper objectWrapper = new DefaultObjectWrapper();
    cfg.setObjectWrapper(objectWrapper);
    ResourceBundleModel bundleModel = new ResourceBundleModel(getBundle("messages"),
        objectWrapper);

    ReportGenerator report;
    switch (reportFormat) {
      case summary:
        report = new TextReportGenerator(out, costModel, options);
        break;
      case html:
View Full Code Here

Examples of com.google.test.metric.report.ReportGenerator

      TestabilityExplorerMojo mojo,
      ReportFormat requestedFormat) {
    if (requestedFormat == ReportFormat.html) {
      return requestedReportProvider.get();
    }
    ReportGenerator htmlReportGenerator =
        new ReportGeneratorProvider(classPath, options, getOutput(mojo, ReportFormat.html),
            hypotheticalCostModel, ReportFormat.html).get();

    return new MultiReportGenerator(htmlReportGenerator, requestedReportProvider.get());
  }
View Full Code Here

Examples of org.cishell.testing.convertertester.core.tester2.reportgen.ReportGenerator

          faultHeuristic);
   
    //feed test results to the report generators
   
    for (int ii = 0; ii < reportGenerators.length; ii++) {
      ReportGenerator reportGenerator = reportGenerators[ii];
     
      reportGenerator.generateReport(allTestsResult,
          allConvertersResult, converterGraph.asNWB());
    }
  }
View Full Code Here

Examples of org.dspace.app.statistics.ReportGenerator

        refreshParams(context);

        List<Object> stat = new ArrayList<Object>();
        File reportDir = new File(ConfigurationManager.getProperty("log.dir"));

        ReportGenerator rg = new ReportGenerator();
        // iterate through files in report directory and load each
        File[] reports = reportDir.listFiles();
        try {
            for (File report : reports) {
                Matcher genMatcher = analysisGeneralPattern.matcher(report.getName());
                Matcher monMatcher = analysisMonthlyPattern.matcher(report.getName());
                StatReport statReport = new StatReport();
                if (genMatcher.matches()) {
                    statReport.setType("general");
                    rg.processReport(context, statReport, report.getAbsolutePath());
                    stat.add(statReport);
                } else if (monMatcher.matches()) {
                    statReport.setType("monthly");
                    rg.processReport(context, statReport, report.getAbsolutePath());
                    stat.add(statReport);
                }
            }

            removeConn(context);
View Full Code Here

Examples of org.jboss.varia.stats.report.ReportGenerator

      StringBuffer buf = new StringBuffer();

      buf.append("<table><tr><th>Report</th><th>Description</th></tr>");
      for(Iterator generators = reportGenerators.iterator(); generators.hasNext();)
      {
         ReportGenerator generator = (ReportGenerator)generators.next();
         buf.append("<tr><td>")
            .append("<a href='HtmlAdaptor?")
            .append("action=invokeOpByName&name=")
            .append(generator.getServiceName())
            .append("&methodName=generate&")
            .append("argType=java.lang.String&arg0=")
            .append("'>")
            .append(generator.getName())
            .append("</a></td><td>")
            .append(generator.getDescription())
            .append("</td></tr>");
      }
      buf.append("</table>");

      /*
 
View Full Code Here

Examples of org.jfree.report.modules.parser.base.ReportGenerator

     
      rs = pStmt.executeQuery();   
     
      model = ResultSetTableModelFactory.getInstance().createTableModel(rs);

      ReportGenerator generator = ReportGenerator.getInstance();
     
      JFreeReport jfreeReport = generator.parseReport(directoryProvider
          .getReportDirectory()
          + report.getFile());
      jfreeReport.setData(model);

      ReportEngineOutput output = new ReportEngineOutput();
View Full Code Here

Examples of org.jfree.report.modules.parser.base.ReportGenerator

    File file1 = getJFreeReportFile();
    if (file1 == null || !file1.isFile()) {
      JOptionPane.showMessageDialog(null, "ReportDefinition " + rapName + " not found on classpath");
      return;
    }
    ReportGenerator gen = ReportGenerator.getInstance();
    try {
      final JFreeReport report1 = gen.parseReport(file1);
      report1.setData(myData);
      setReportProperties(report1, rapName, imagePath, compName,compId);
      final PreviewFrame frame1 = new PreviewFrame(report1);
      frame1.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
      frame1.pack();
View Full Code Here

Examples of org.jfree.report.modules.parser.base.ReportGenerator

      }
      if (file1 == null || !file1.isFile()) {
        JOptionPane.showMessageDialog(null, "ReportDefinition DiagramSource4.xml not found on classpath");
        return;
      }
      ReportGenerator gen = ReportGenerator.getInstance();
      JFreeReport report1;

      try {
        report1 = gen.parseReport(file1);
      } catch (Exception ioe) {
        JOptionPane.showMessageDialog(null, ioe.getMessage(), "Error: " + ioe.getClass().getName(), JOptionPane.ERROR_MESSAGE);
        return;
      }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.