Package org.jacoco.core.analysis.ICoverageNode

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


    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.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

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.