Correct! > On 6. Oct 2020, at 19:13, Mark Palmer <[email protected]> wrote: > > I'm sorry - I think I misread this the first time, and misunderstood what the > "CoverageShouldNotBeGenerated" hack was all about. > > I think you are saying that we can define our own annotation and as long as > it has the word "Generated" in it, JaCoCo will suppress coverage for the > class/method that has the annotation. > > Is that the case? > > -Mark > > On Wednesday, September 23, 2020 at 3:01:59 AM UTC-4 Marc R. Hoffmann wrote: > Hi Mark, > > any annotation that contains “Generated” in its name will cause filtering of > the respective method or class. > > There is no specific annotation for manual tagging. > > As Evgeny once proposed a possible hack is to define a annotation called > “CoverageShouldNotBeGenerated” ;) > > Cheers, > -marc > > > > >> On 23. Sep 2020, at 00:10, Mark Palmer <[email protected] >> <applewebdata://A0AB8B39-E2DA-4CC9-B46D-F25F27A1BD51>> wrote: >> > >> >> I saw some notes about the Generated annotation being used to suppress >> coverage for generated code. >> >> Are there annotations for suppressing non-generated code? Or is the only >> option exclude classes/methods from the report? >> >> Thanks. >> >> -Mark >> >> > >> -- >> 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] >> <applewebdata://A0AB8B39-E2DA-4CC9-B46D-F25F27A1BD51>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/jacoco/527559e2-2d87-4603-95f7-0901889ac621n%40googlegroups.com >> >> <https://groups.google.com/d/msgid/jacoco/527559e2-2d87-4603-95f7-0901889ac621n%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] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jacoco/960605e6-30ac-4b69-a9fe-63472077ed9dn%40googlegroups.com > > <https://groups.google.com/d/msgid/jacoco/960605e6-30ac-4b69-a9fe-63472077ed9dn%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/4A0F0941-2EA2-44BC-84E9-16810F2D1EA9%40mountainminds.com.
