Skip to content

Commit

Permalink
merge
Browse files Browse the repository at this point in the history
  • Loading branch information
GoEddie committed Feb 24, 2017
1 parent 2c28263 commit 0427e23
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/SQLCover/SQLCover/CodeCoverage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ private void RunProcess(string exe, string args, string workingDir)
private void GenerateResults(List<string> filter, List<string> xml)
{
var batches = _source.GetBatches(filter);
_result = new CoverageResult(batches, xml, _databaseName, _source.GetWarnings());
_result = new CoverageResult(batches, xml, _databaseName);
}

public CoverageResult Results()
Expand Down
4 changes: 1 addition & 3 deletions src/SQLCover/SQLCover/CoverageResult.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,7 @@ public CoverageResult(IEnumerable<Batch> batches, List<string> xml, string datab
CoveredStatementCount = _batches.Sum(p => p.CoveredStatementCount);
StatementCount = _batches.Sum(p => p.StatementCount);
HitCount = _batches.Sum(p => p.HitCount);

Warnings = warnings;



}

Expand Down
2 changes: 1 addition & 1 deletion src/SQLCover/SQLCover/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
111using System.Reflection;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public void Doesnt_Die_When_Finding_Encrypted_Stored_Procedures()
exec sp_executesql N'create procedure enc with encryption
as
select 100;'
end");
end", 15);
var source = new DatabaseSourceGateway(databaseGateway);
var batches = source.GetBatches(null);

Expand All @@ -95,7 +95,7 @@ public void Shows_Warnings_When_Definition_Not_Available()
exec sp_executesql N'create procedure enc with encryption
as
select 100;'
end");
end", 15);
var source = new DatabaseSourceGateway(databaseGateway);
var warnings = source.GetWarnings();
Assert.IsTrue(
Expand Down

0 comments on commit 0427e23

Please sign in to comment.