Package org.jacoco.core.internal.analysis

Examples of org.jacoco.core.internal.analysis.BundleCoverageImpl


    sourceFileCoverage = sourceFileCoverageImpl;

    packageCoverage = new PackageCoverageImpl("org/jacoco/example",
        Collections.singleton(classCoverage),
        Collections.singleton(sourceFileCoverage));
    bundleCoverage = new BundleCoverageImpl("bundle",
        Collections.singleton(packageCoverage));
  }
View Full Code Here


      PackageFragementRootAnalyzer analyzer, IProgressMonitor monitor)
      throws CoreException {
    final TypeVisitor visitor = new TypeVisitor(analyzer.analyze(root));
    new TypeTraverser(root).process(visitor, monitor);

    final IBundleCoverage bundle = new BundleCoverageImpl(getName(root),
        visitor.getClasses(), visitor.getSources());
    modelcoverage.putFragmentRoot(root, bundle);
    putPackages(bundle.getPackages(), root);
  }
View Full Code Here

TOP

Related Classes of org.jacoco.core.internal.analysis.BundleCoverageImpl

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.