Package de.saumya.mojo.tests.JRubyRun

Examples of de.saumya.mojo.tests.JRubyRun.Result


        this.summaryReport = summaryReport;
    }
   
    public Result generateReports(Mode mode, JRubyVersion version,
            final File outputfile) throws IOException {
        Result result = new Result();
        String time = null;
        for (Object lineObj : FileUtils.loadFile(outputfile)) {
            String line = lineObj.toString();
            if (line.contains("Finished")) {
                time = line.replaceFirst(",.*$", "").replaceAll("[a-zA-Z]+", "").trim();
View Full Code Here


          reportFile = new File(reportPath.replace(".html", "-" + version
                  + ".html"));
      }
      new File(reportPath).renameTo(reportFile);

      Result result = new Result();
      BufferedReader reader = null;
      try {
          reader = new BufferedReader(new FileReader(reportFile));

          String line = null;
View Full Code Here

TOP

Related Classes of de.saumya.mojo.tests.JRubyRun.Result

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.