Package org.jacoco.core.analysis.ICoverageNode

Examples of org.jacoco.core.analysis.ICoverageNode.ElementType


    this.settings = settings;
    this.view = view;
  }

  public Object execute(ExecutionEvent event) throws ExecutionException {
    final ElementType type = getType(event.getParameters());
    settings.setRootType(type);
    view.refreshViewer();
    return null;
  }
View Full Code Here


    return null;
  }

  public void updateElement(UIElement element,
      @SuppressWarnings("rawtypes") Map parameters) {
    final ElementType type = getType(parameters);
    element.setChecked(settings.getRootType().equals(type));
  }
View Full Code Here

    this.groupName = groupName;
  }

  public IReportVisitor visitChild(final ICoverageNode node)
      throws IOException {
    final ElementType type = node.getElementType();
    switch (type) {
    case PACKAGE:
      return new CSVPackageHandler(writer, groupName, node.getName());
    case GROUP:
    case BUNDLE:
View Full Code Here

    this.packageName = packageName;
  }

  public IReportVisitor visitChild(final ICoverageNode node)
      throws IOException {
    final ElementType type = node.getElementType();
    switch (type) {
    case CLASS:
      final ClassCoverage classNode = (ClassCoverage) node;
      writer.writeRow(groupName, packageName, classNode);
      return IReportVisitor.NOP;
View Full Code Here

    element.attr("name", node.getName());
  }

  public IReportVisitor visitChild(final ICoverageNode node)
      throws IOException {
    final ElementType type = node.getElementType();
    switch (type) {
    case GROUP:
    case BUNDLE:
      return new XMLReportNodeHandler(element.element("group"), node);
    case PACKAGE:
View Full Code Here

    this.groupName = groupName;
  }

  public IReportVisitor visitChild(final ICoverageNode node)
      throws IOException {
    final ElementType type = node.getElementType();
    switch (type) {
    case PACKAGE:
      return new CSVPackageHandler(writer, groupName, node.getName());
    case GROUP:
    case BUNDLE:
View Full Code Here

    this.packageName = packageName;
  }

  public IReportVisitor visitChild(final ICoverageNode node)
      throws IOException {
    final ElementType type = node.getElementType();
    switch (type) {
    case CLASS:
      final IClassCoverage classNode = (IClassCoverage) node;
      writer.writeRow(groupName, packageName, classNode);
      return IReportVisitor.NOP;
View Full Code Here

    this.groupName = groupName;
  }

  public IReportVisitor visitChild(final ICoverageNode node)
      throws IOException {
    final ElementType type = node.getElementType();
    switch (type) {
    case PACKAGE:
      return new CsvPackageHandler(writer, groupName, node.getName());
    case GROUP:
    case BUNDLE:
View Full Code Here

    this.packageName = packageName;
  }

  public IReportVisitor visitChild(final ICoverageNode node)
      throws IOException {
    final ElementType type = node.getElementType();
    switch (type) {
    case CLASS:
      final ClassCoverage classNode = (ClassCoverage) node;
      writer.writeRow(groupName, packageName, classNode);
      return IReportVisitor.NOP;
View Full Code Here

      final IHTMLReportContext context) {
    super(node, parent, outputFolder, context);
  }

  public IReportVisitor visitChild(final ICoverageNode node) {
    final ElementType type = node.getElementType();
    switch (type) {
    case SOURCEFILE:
      final SourceFilePage sourcePage = new SourceFilePage(
          (SourceFileCoverage) node, this, outputFolder, context);
      sourceFiles.put(node.getName(), sourcePage);
View Full Code Here

TOP

Related Classes of org.jacoco.core.analysis.ICoverageNode.ElementType

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.