Forgot to mention, that I work with two Eclipse Instances. A host Eclipse 
controlling Eclemma and a Target Eclipse, where Jacoco is instrumented 
through the host eclipse. ( Jacoco rt not available on target Eclipse). 

On the host side I call requestDump, whenever I got the information that a 
test is started or finished. I've got a socket connection between the two 
eclipse instances, but I do not know when requestDump is finished on the 
host side ... so I can only wait a little time after requestDump before 
sending back, that the target eclipse can continue.

Am Donnerstag, 23. April 2015 16:05:07 UTC+2 schrieb Mario Ackerl:
>
> Hello together,
>
> I want to record each junit testcase in a seperate session. Additionally I 
> record one session for code outside of any test (between finish of one test 
> case and beginning of the next one).
>
> I call ICoverageLaunch.requestDump(true) at the beginning and at the end 
> of every junit test. Unfortunately for very fast tests the sessions are 
> wrong. Code of one test, is found in the session of the next one and so on.
>
> The reason seems to be, that requestDump is a pure asynchronous call. How 
> can I find out, if the dump is fully send, so that I can wait for that, 
> before going on with the next test?
>
> greetings
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jacoco/0989796f-af47-4709-bc50-c3a0b9f1c1e6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to