Hi Marc, I try to explain it with a pic: https://postimg.org/image/fbn7lr3mr/ ( result at the end of a test run -> no coverage session selected - coverage results from a deleted session are shown) We have a coverage session for every test method. At the end of a suite I want to do some magic (add some summarized sessions for example). I also delete a few sessions. Unfortunately sometimes no session is selected as shown in the screenshot (active session deleted). I therefore want to select the active session for the user (developer), so that the active session at the end of a testsuite is the summarized session. Is there a way to do that with the API?
Regards, Mario Am Mittwoch, 5. Oktober 2016 13:19:10 UTC+2 schrieb Marc R. Hoffmann: > > Hi Mario, > > this is the API to activate a new Session. Note however that coverage > for the Java elements in scope is calculated as a background job. So > results are not available when this method returns. > > Maybe cou can get a bit more specific about "this does not work as I > expected". > > Regards, > -marc > > On 2016-10-05 12:52, Mario Ackerl wrote: > > Hi, > > > > is there a way/API to programmatically switch the selected session in > > eclemma? I supposed that activateSession (from ISessionManager) should > > do that, but this does not work as I expected. > > > > Thanks in advance > > > > Mario > > > > -- > > 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] <javascript:>. > > To view this discussion on the web visit > > > https://groups.google.com/d/msgid/jacoco/ddb0b399-705b-4251-a1ef-a0b786761765%40googlegroups.com > > > [1]. > > For more options, visit https://groups.google.com/d/optout. > > > > > > Links: > > ------ > > [1] > > > https://groups.google.com/d/msgid/jacoco/ddb0b399-705b-4251-a1ef-a0b786761765%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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/61566e26-0f05-4078-bcad-36c8131a9c9a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
