Examples of EclipseNodeFirstCFG


Examples of edu.cmu.cs.crystal.cfg.eclipse.EclipseNodeFirstCFG

    this.monitor = monitor;
  }
 
  @Override
  protected IControlFlowGraph<ASTNode> getControlFlowGraph() {
    return new EclipseNodeFirstCFG(method);
  }
View Full Code Here

Examples of edu.cmu.cs.crystal.cfg.eclipse.EclipseNodeFirstCFG

@Deprecated
public class EclipseNodeFirstCFGTestAnalysis extends EclipseCFGTestAnalysis {
  @Override
  public IControlFlowGraph getCFG(MethodDeclaration method) {
    return new EclipseNodeFirstCFG(method);
  }
View Full Code Here

Examples of edu.cmu.cs.crystal.cfg.eclipse.EclipseNodeFirstCFG

    Assert.assertEquals(0, node.getProblems().length);
    List<MethodDeclaration> methods = WorkspaceUtilities
        .scanForMethodDeclarationsFromAST(node);
    Assert.assertEquals(1, methods.size());
    IControlFlowGraph cfg = new EclipseNodeFirstCFG(methods.get(0));

    testGraph = cfg.getDotGraph();
    if (store) {
      out = new FileOutputStream("test/" + subFolder + "_" + file);
    } else {
      out = new FileOutputStream("test/lastrun/" + subFolder + "_" + file);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.