We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c7d245 commit 028145bCopy full SHA for 028145b
FineCodeCoverageTests/FCCEngine_Tests.cs
@@ -12,6 +12,7 @@
12
using FineCodeCoverage.Engine.MsTestPlatform;
13
using FineCodeCoverage.Engine.ReportGenerator;
14
using FineCodeCoverage.Impl;
15
+using FineCodeCoverage.Options;
16
using Moq;
17
using NUnit.Framework;
18
@@ -109,6 +110,11 @@ public void SetUp()
109
110
updateMarginTagsEvents.Add(e);
111
updateMarginTagsCoverageLines.Add(fccEngine.CoverageLines);
112
};
113
+
114
+ var mockedAppOptions = mocker.GetMock<IAppOptions>();
115
+ mockedAppOptions.Setup(x => x.MsCodeCoverage).Returns(false);
116
+ var mockAppOptionsProvider = mocker.GetMock<IAppOptionsProvider>();
117
+ mockAppOptionsProvider.Setup(x => x.Get()).Returns(mockedAppOptions.Object);
118
}
119
120
[Test]
0 commit comments