Package org.jacoco.core.data

Examples of org.jacoco.core.data.ExecutionDataReader


      if (input instanceof CoverageSessionInput) {
        final CoverageSessionInput csi = (CoverageSessionInput) input;
        csi.getSession().accept(executionData, sessionData);
      } else {
        final InputStream stream = openStream(input);
        final ExecutionDataReader reader = new ExecutionDataReader(stream);
        reader.setExecutionDataVisitor(executionData);
        reader.setSessionInfoVisitor(sessionData);
        while (reader.read()) {
          // Do nothing
        }
      }
    } catch (CoreException e) {
      EclEmmaUIPlugin.log(e);
View Full Code Here


   }
  
   private void read(InputStream stream, IExecutionDataVisitor executionDataVisitor, ISessionInfoVisitor sessionVisitor)
      throws IOException
   {
      ExecutionDataReader reader = new ExecutionDataReader(stream);
     
      reader.setExecutionDataVisitor(executionDataVisitor);
      reader.setSessionInfoVisitor(sessionVisitor);
      try
      {
         reader.read();
      }
      catch (IOException e)
      {
         if(stream != null)
         {
View Full Code Here

TOP

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

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.