> Q: Is the order of ExecutionData blocks from the file deterministic in any > way? (name, id, encounter-order in the test session etc). I'm going to assume > not.
A: Not at all. The agent dumps the classes for data in an arbitrary sequence > Q: Within a Session, can the same Class appear more than once? A. No, the agent dumps each class once > I would posit that the principle-of-least-surprise is that ExecutionData is > equal based on its own assertCompatibility() method; Probe count is included > but not probe content. This _is_ a single usecase I agree but it's also the > de facto expectation - equal on the "key" not the "content" I agree. But ExecutionData is not intended to be used as a key. So to me applying the principle-of-least-surprise is no equals/hashcode methods ;) Regards, -marc > On 1. Apr 2020, at 11:03, drekb...@gmail.com wrote: > > Ok, this is what I'm planning but I have to repeat some stuff and check > certain understandings. A file has multiple Sessions, a Session has multiple > ExecutionData, an ExecutionData has probes for one Class. > > Q: Is the order of ExecutionData blocks from the file deterministic in any > way? (name, id, encounter-order in the test session etc). I'm going to assume > not. > Q: Within a Session, can the same Class appear more than once? > > I would posit that the principle-of-least-surprise is that ExecutionData is > equal based on its own assertCompatibility() method; Probe count is included > but not probe content. This _is_ a single usecase I agree but it's also the > de facto expectation - equal on the "key" not the "content" > > -- > 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 > <mailto:jacoco+unsubscr...@googlegroups.com>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jacoco/2ee2bd73-fa17-4f43-94d5-ef95ab40a0c9%40googlegroups.com > > <https://groups.google.com/d/msgid/jacoco/2ee2bd73-fa17-4f43-94d5-ef95ab40a0c9%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/099A31BC-AB1C-4DC6-9640-A082B1E7DD0C%40mountainminds.com.