Menu

#65 Code coverage for unit with generic class gets split over several reports

New
nobody
None
Medium
Defect
2020-06-16
2015-02-11
Anonymous
No

Originally created by: marjanve...@gmail.com

What steps will reproduce the problem?
1. Create unit AAA with a "normal" and a generic class, for example TSomeClass<T> = class(TObject)
2. Use the normal class in one unit.
3. Use the generic class in another unit.

What is the expected output? What do you see instead?
I expect to see the code coverage for the AAA unit in one place: the AAA unit. Instead the coverage for this unit is split over several places: at the very least the unit AAA itself as well as every unit using the generic class.

What version of the product are you using? On what operating system?
RC10 64 bit
Win7 64 bit

Please provide any additional information below.

2 Attachments

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.