appreciate it!

在2023年9月6日星期三 UTC+8 09:00:40<Marc Hoffmann> 写道:

> Hi,
>
> please see API of class RuntimeData. You can either ask to reset probes 
> during collecting data:
>
>
> https://www.jacoco.org/jacoco/trunk/doc/api/org/jacoco/core/runtime/RuntimeData.html#collect(org.jacoco.core.data.IExecutionDataVisitor,%20org.jacoco.core.data.ISessionInfoVisitor,%20boolean)
>
> or you can reset probes at any point in time:
>
>
> https://www.jacoco.org/jacoco/trunk/doc/api/org/jacoco/core/runtime/RuntimeData.html#reset()
>
> Regards,
> -marc
>
>
> On 5. Sep 2023, at 12:27, 赵无敌 <z5151...@gmail.com> wrote:
>
> Good day!
>     From this doc, I've realized  how to  Instrument and collect coverage 
> data.
> https:www.jacoco.org/jacoco/trunk/doc/examples/java/CoreTutorial.java
>       And I can get the coverage data by my code (I integrate jacoco's  
> Instrumenter 
>   in my java-agent), but is there a way to clear /  reset the data 
> to  initialization state at a  custom point in time ?   and after then, the 
> data continue to be collected as usual
>     Thx!
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "JaCoCo and EclEmma Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to jacoco+un...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jacoco/db353071-2339-435a-a038-04c9ab5329aen%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/jacoco/db353071-2339-435a-a038-04c9ab5329aen%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"JaCoCo and EclEmma Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jacoco+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jacoco/d7370fb8-feac-4803-b2fa-7b85c5767ce7n%40googlegroups.com.

Reply via email to