Package org.jacoco.core.data

Examples of org.jacoco.core.data.ExecutionData


  private IExecutionDataSource createValidSource() throws IOException {
    File execfile = new File(folder.getRoot(), "test.exec");
    OutputStream out = new FileOutputStream(execfile);
    ExecutionDataWriter writer = new ExecutionDataWriter(out);
    writer.visitSessionInfo(new SessionInfo("id", 1, 2));
    writer.visitClassExecution(new ExecutionData(123, "MyClass", 15));
    out.close();
    return new URLExecutionDataSource(execfile.toURL());
  }
View Full Code Here

TOP

Related Classes of org.jacoco.core.data.ExecutionData

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.