Package net.sourceforge.cobertura.ant

Examples of net.sourceforge.cobertura.ant.InstrumentTask


    FileSet fileSet = new FileSet();
    fileSet.setProject(mxtest.getProject());
    fileSet.setDir(mxtest.getClassesDir());
    fileSet.createInclude().setName("**/*.class");
   
    InstrumentTask task = new InstrumentTask();
    task.setTaskName("instr");
    task.setProject(mxtest.getProject());
    task.init();
   
    task.addFileset(fileSet);
    task.setDataFile(mxtest.getCoberturaData().getAbsolutePath());
    task.setToDir(mxtest.getInstrumentedBuild());
    task.execute();
  }
View Full Code Here

TOP

Related Classes of net.sourceforge.cobertura.ant.InstrumentTask

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.