Found a solution using
CtlProcessor ctl=CtlProcessor.create();
ControlRequest[] cr=new ControlRequest[2];
cr[0]=ControlRequest.create(ControlRequest.COMMAND_DUMP_COVERAGE, null);
cr[1]=ControlRequest.create(ControlRequest.COMMAND_RESET_COVERAGE, null);
ctl.setCommandSequence(cr);
ctl.run();
but i'm not sure of these commands usage and no docs found about them.
Any ideas?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Found a solution using
CtlProcessor ctl=CtlProcessor.create();
ControlRequest[] cr=new ControlRequest[2];
cr[0]=ControlRequest.create(ControlRequest.COMMAND_DUMP_COVERAGE, null);
cr[1]=ControlRequest.create(ControlRequest.COMMAND_RESET_COVERAGE, null);
ctl.setCommandSequence(cr);
ctl.run();
but i'm not sure of these commands usage and no docs found about them.
Any ideas?