-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Description
Something was changed in .map file format since Delphi 2010 and CodeCoverage32 threat abstract methods as executed non-covered code.
Project settings
Linking / Map file: Detailed
Command Line (32-bit)
CodeCoverage32 -e Project.exe -m Project.map -u SampleUnit -od Coverage -html
Command Line (64-bit)
CodeCoverage64 -e Project.exe -m Project.map -u SampleUnit -od Coverage -html
Minimal code to reproduce
Project.dpr
program Project;
{$APPTYPE CONSOLE}
uses
SampleUnit in 'SampleUnit.pas';
begin
with TClassB.Create do
try
Method;
finally
Free;
end;
end.SampleUnit.pas
unit SampleUnit;
interface
type
TClassA = class
public
procedure Method; virtual; abstract;
end;
TClassB = class(TClassA)
public
procedure Method; override;
end;
implementation
procedure TClassB.Method;
begin
end;
end.Coverage Report
Metadata
Metadata
Assignees
Labels
No labels




