Re: [java code coverage] How to compare ExecutionDataStore

2020-04-01 Thread Marc Hoffmann
> 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

Re: [java code coverage] How to compare ExecutionDataStore

2020-04-01 Thread drekbour
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,

Re: [java code coverage] How to compare ExecutionDataStore

2020-04-01 Thread Marc Hoffmann
Hi, ExecutionData is plain data holder. Implementing equals/hashcode semantik is always specific to the use case (is it the id? is it more data?). Therefore it doesn’t make sense to hardcode a specific semantic into our API. I recommend using an external Comparator that implements your specific