-
-
Notifications
You must be signed in to change notification settings - Fork 283
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#629 Visual Studio Coverage: Added support for partial line coverage
- Loading branch information
1 parent
0e10248
commit 8278973
Showing
2 changed files
with
55 additions
and
11 deletions.
There are no files selected for viewing
31 changes: 31 additions & 0 deletions
31
src/ReportGenerator.Core/Parser/Analysis/FlagsLineVisitStatus.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
using System; | ||
|
||
namespace Palmmedia.ReportGenerator.Core.Parser.Analysis | ||
{ | ||
/// <summary> | ||
/// Indicates the coverage status of a line in a source file. | ||
/// </summary> | ||
[Flags] | ||
internal enum FlagsLineVisitStatus | ||
{ | ||
/// <summary> | ||
/// Line can not be covered. | ||
/// </summary> | ||
NotCoverable = 0, | ||
|
||
/// <summary> | ||
/// Line was not covered. | ||
/// </summary> | ||
NotCovered = 1, | ||
|
||
/// <summary> | ||
/// Line was partially covered. | ||
/// </summary> | ||
PartiallyCovered = 2, | ||
|
||
/// <summary> | ||
/// Line was covered. | ||
/// </summary> | ||
Covered = 4 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters