Skip to content

Commit

Permalink
Improved branch coverage handling
Browse files Browse the repository at this point in the history
  • Loading branch information
danielpalme committed Jun 4, 2019
1 parent 2861428 commit 4fb90e6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ import { CodeElementViewModel } from "./viewmodels/codelement-viewmodel.class";
[ngClass]="{'icon-up-dir_active': settings.sortBy === 'total' && settings.sortOrder === 'desc',
'icon-down-dir_active': settings.sortBy === 'total' && settings.sortOrder === 'asc',
'icon-down-dir': settings.sortBy !== 'total'}"></i>{{translations.total}}</a></th>
<th class="center" colspan="2" *ngIf="branchCoverageAvailable">
<th class="center" colspan="2">
<a href="#" (click)="updateSorting('coverage', $event)"><i class="icon-down-dir"
[ngClass]="{'icon-up-dir_active': settings.sortBy === 'coverage' && settings.sortOrder === 'desc',
'icon-down-dir_active': settings.sortBy === 'coverage' && settings.sortOrder === 'asc',
Expand Down
2 changes: 1 addition & 1 deletion src/ReportGenerator.Core/Parser/ParserResult.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public class ParserResult
public ParserResult()
{
this.assemblies = new List<Assembly>();
this.SupportsBranchCoverage = true;
this.SupportsBranchCoverage = false;
this.parserNames = new List<string>();
}

Expand Down

Large diffs are not rendered by default.

0 comments on commit 4fb90e6

Please sign in to comment.