// Path: src/main/com/olabini/jescov/console/Runner.java
// public class Runner {
//     private final Context ctx;
//     private final Scriptable scope;
//     private final Coverage coverage;
//     private final Configuration configuration;
// 
//     public Runner(Configuration configuration) {
//         ctx = Context.enter();
//         scope = ctx.initStandardObjects();
//         this.configuration = configuration;
//         coverage = on(ctx, scope, configuration);
//     }
// 
//     public CoverageData done() {
//         coverage.done();
//         Context.exit();
//         return coverage.getCoverageData();
//     }
// 
//     public void executeReader(String filename, Reader reader) throws IOException {
//         ctx.evaluateReader(scope, reader, filename, 0, null);
//     }
// 
//     public void executeSource(String filename, String sourceCode) {
//         ctx.evaluateString(scope, sourceCode, filename, 0, null);
//     }
// 
//     public static void main(final String[] args) throws Exception {
//         Configuration c = new Configuration();
//         String fileout = c.getJsonOutputFile();
//         FileWriter fw = new FileWriter(fileout);
//         c.setGenerator(new CombinedGenerator(new JsonGenerator(fw), new HtmlGenerator(c)));
//         Runner r = new Runner(c);
//         for(String file : args) {
//             r.executeReader(file, new FileReader(file));
//         }
//         CoverageData data = r.done();
// 
//         if(c.isJsonOutputMerge() && new File(fileout).exists()) {
//             FileReader fr = new FileReader(fileout);
//             CoverageData moreData = new JsonIngester().ingest(fr);
//             fr.close();
//             data = moreData.plus(data);
//         }
//         
//         c.getGenerator().generate(data);
//         fw.close();
//     }
// }// Runner


import com.olabini.jescov.console.Runner;
/*
 * See LICENSE file in distribution for copyright and licensing information.
 */
package com.olabini.jescov;


public class CucumberData {
    private CoverageData coverageData;
// Path: src/main/com/olabini/jescov/console/Runner.java
// public class Runner {
//     private final Context ctx;
//     private final Scriptable scope;
//     private final Coverage coverage;
//     private final Configuration configuration;
// 
//     public Runner(Configuration configuration) {
//         ctx = Context.enter();
//         scope = ctx.initStandardObjects();
//         this.configuration = configuration;
//         coverage = on(ctx, scope, configuration);
//     }
// 
//     public CoverageData done() {
//         coverage.done();
//         Context.exit();
//         return coverage.getCoverageData();
//     }
// 
//     public void executeReader(String filename, Reader reader) throws IOException {
//         ctx.evaluateReader(scope, reader, filename, 0, null);
//     }
// 
//     public void executeSource(String filename, String sourceCode) {
//         ctx.evaluateString(scope, sourceCode, filename, 0, null);
//     }
// 
//     public static void main(final String[] args) throws Exception {
//         Configuration c = new Configuration();
//         String fileout = c.getJsonOutputFile();
//         FileWriter fw = new FileWriter(fileout);
//         c.setGenerator(new CombinedGenerator(new JsonGenerator(fw), new HtmlGenerator(c)));
//         Runner r = new Runner(c);
//         for(String file : args) {
//             r.executeReader(file, new FileReader(file));
//         }
//         CoverageData data = r.done();
// 
//         if(c.isJsonOutputMerge() && new File(fileout).exists()) {
//             FileReader fr = new FileReader(fileout);
//             CoverageData moreData = new JsonIngester().ingest(fr);
//             fr.close();
//             data = moreData.plus(data);
//         }
//         
//         c.getGenerator().generate(data);
//         fw.close();
//     }
// }// Runner


// Path: src/test/com/olabini/jescov/CucumberData.java
import com.olabini.jescov.console.Runner;

/*
 * See LICENSE file in distribution for copyright and licensing information.
 */
package com.olabini.jescov;


public class CucumberData {
    private CoverageData coverageData;
    private Runner runner;