Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency testableio.system.io.abstractions.wrappers to 21.1.3 #3100

Merged
2 changes: 1 addition & 1 deletion src/Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<PackageVersion Include="Microsoft.TestPlatform.ObjectModel" Version="17.11.1" />
<PackageVersion Include="Microsoft.TestPlatform.Portable" Version="17.11.1" />
<PackageVersion Include="Microsoft.TestPlatform.TranslationLayer" Version="17.11.1" />
<PackageVersion Include="TestableIO.System.IO.Abstractions.Wrappers" Version="21.1.1" />
<PackageVersion Include="TestableIO.System.IO.Abstractions.Wrappers" Version="21.1.3" />
<PackageVersion Include="Microsoft.Extensions.Logging" Version="8.0.1" />
<PackageVersion Include="Microsoft.Extensions.Logging.Abstractions" Version="8.0.2" />
</ItemGroup>
Expand Down
12 changes: 6 additions & 6 deletions src/Stryker.Abstractions/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,11 @@
},
"TestableIO.System.IO.Abstractions.Wrappers": {
"type": "Direct",
"requested": "[21.1.1, )",
"resolved": "21.1.1",
"contentHash": "BVymeYb9xqUdffJq9zqVyGglyQDi8QXv+VYUM0Z9Mrfau+rFFGk6GmFhEiCC3TIGOfDSIFWFUPWzxXHXjWmXIQ==",
"requested": "[21.1.3, )",
"resolved": "21.1.3",
"contentHash": "5LEVwt5+K5TnL1ekfCbQszlgRnO77plpgQAgkXL7wXKGd0PQWE01eSss0+L7E8GGLGbtD7mzYJVq/bd79ZDBlQ==",
"dependencies": {
"TestableIO.System.IO.Abstractions": "21.1.1"
"TestableIO.System.IO.Abstractions": "21.1.3"
}
},
"Buildalyzer.Logger": {
Expand Down Expand Up @@ -1210,8 +1210,8 @@
},
"TestableIO.System.IO.Abstractions": {
"type": "Transitive",
"resolved": "21.1.1",
"contentHash": "rOpwfPzkMnXEm1tXzCuFAIcB5vEy2WQJ4vZ4ixAHv6UE95ddYeJ6JJh4rg/3fmf+5ewit9Oful6POUjnbOkang=="
"resolved": "21.1.3",
"contentHash": "qe/gIjOPCoyiSCToouJx/vCvcTQXVGj/eJVRK/7s2F8yIv0zvEpjByfXZvS3yqmcpg0/S6x6w7DvNyPrLe/RRw=="
},
"stryker.utilities": {
"type": "Project",
Expand Down
6 changes: 3 additions & 3 deletions src/Stryker.CLI/Stryker.CLI.UnitTest/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -1596,7 +1596,7 @@
"Stryker.DataCollector": "[4.4.0, )",
"Stryker.Regex.Parser": "[1.0.0, )",
"Stryker.RegexMutators": "[4.4.0, )",
"TestableIO.System.IO.Abstractions.Wrappers": "[21.1.1, )"
"TestableIO.System.IO.Abstractions.Wrappers": "[21.1.3, )"
}
},
"stryker.abstractions": {
Expand All @@ -1609,7 +1609,7 @@
"Microsoft.TestPlatform.ObjectModel": "[17.11.1, )",
"Serilog": "[4.1.0, )",
"Stryker.Utilities": "[4.4.0, )",
"TestableIO.System.IO.Abstractions.Wrappers": "[21.1.1, )"
"TestableIO.System.IO.Abstractions.Wrappers": "[21.1.3, )"
}
},
"stryker.configuration": {
Expand Down Expand Up @@ -1923,7 +1923,7 @@
},
"TestableIO.System.IO.Abstractions.Wrappers": {
"type": "CentralTransitive",
"requested": "[21.1.1, )",
"requested": "[21.1.3, )",
"resolved": "21.1.3",
"contentHash": "5LEVwt5+K5TnL1ekfCbQszlgRnO77plpgQAgkXL7wXKGd0PQWE01eSss0+L7E8GGLGbtD7mzYJVq/bd79ZDBlQ==",
"dependencies": {
Expand Down
16 changes: 8 additions & 8 deletions src/Stryker.CLI/Stryker.CLI/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -1383,8 +1383,8 @@
},
"TestableIO.System.IO.Abstractions": {
"type": "Transitive",
"resolved": "21.1.1",
"contentHash": "rOpwfPzkMnXEm1tXzCuFAIcB5vEy2WQJ4vZ4ixAHv6UE95ddYeJ6JJh4rg/3fmf+5ewit9Oful6POUjnbOkang=="
"resolved": "21.1.3",
"contentHash": "qe/gIjOPCoyiSCToouJx/vCvcTQXVGj/eJVRK/7s2F8yIv0zvEpjByfXZvS3yqmcpg0/S6x6w7DvNyPrLe/RRw=="
},
"stryker": {
"type": "Project",
Expand Down Expand Up @@ -1417,7 +1417,7 @@
"Stryker.DataCollector": "[4.4.0, )",
"Stryker.Regex.Parser": "[1.0.0, )",
"Stryker.RegexMutators": "[4.4.0, )",
"TestableIO.System.IO.Abstractions.Wrappers": "[21.1.1, )"
"TestableIO.System.IO.Abstractions.Wrappers": "[21.1.3, )"
}
},
"stryker.abstractions": {
Expand All @@ -1430,7 +1430,7 @@
"Microsoft.TestPlatform.ObjectModel": "[17.11.1, )",
"Serilog": "[4.1.0, )",
"Stryker.Utilities": "[4.4.0, )",
"TestableIO.System.IO.Abstractions.Wrappers": "[21.1.1, )"
"TestableIO.System.IO.Abstractions.Wrappers": "[21.1.3, )"
}
},
"stryker.configuration": {
Expand Down Expand Up @@ -1720,11 +1720,11 @@
},
"TestableIO.System.IO.Abstractions.Wrappers": {
"type": "CentralTransitive",
"requested": "[21.1.1, )",
"resolved": "21.1.1",
"contentHash": "BVymeYb9xqUdffJq9zqVyGglyQDi8QXv+VYUM0Z9Mrfau+rFFGk6GmFhEiCC3TIGOfDSIFWFUPWzxXHXjWmXIQ==",
"requested": "[21.1.3, )",
"resolved": "21.1.3",
"contentHash": "5LEVwt5+K5TnL1ekfCbQszlgRnO77plpgQAgkXL7wXKGd0PQWE01eSss0+L7E8GGLGbtD7mzYJVq/bd79ZDBlQ==",
"dependencies": {
"TestableIO.System.IO.Abstractions": "21.1.1"
"TestableIO.System.IO.Abstractions": "21.1.3"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public class VsTestRunnerPoolTests : VsTestMockingHelper
[TestMethod]
public void InitializeProperly()
{
BuildVsTestRunnerPool(new StrykerOptions(), out var runner);
_ = BuildVsTestRunnerPool(new StrykerOptions(), out var runner);
runner.GetTests(SourceProjectInfo).Count.ShouldBe(2);
}

Expand Down Expand Up @@ -71,7 +71,7 @@ public void ShouldComputeTimeoutProperly()
Duration = duration
};
SetupMockTestRun(mockVsTest, new[] { testResult });
runner.InitialTest(SourceProjectInfo);
_ = runner.InitialTest(SourceProjectInfo);
runner.Context.VsTests[TestCases[0].Id].InitialRunTime.ShouldBe(duration);
}

Expand All @@ -97,7 +97,7 @@ public void ShouldComputeTimeoutProperlyForMultipleResults()
Duration = duration
};
SetupMockTestRun(mockVsTest, new[] { testResult, otherTestResult });
runner.InitialTest(SourceProjectInfo);
_ = runner.InitialTest(SourceProjectInfo);
runner.Context.VsTests[TestCases[0].Id].InitialRunTime.ShouldBe(duration);
}

Expand Down Expand Up @@ -127,8 +127,8 @@ public void RunTests()
[TestMethod]
public void DoNotTestWhenNoTestPresent()
{
var mockVsTest = BuildVsTestRunnerPool(new StrykerOptions(), out var runner, testCases: new List<VsTest.TestCase>());
SetupMockTestRun(mockVsTest, true, new List<VsTest.TestCase>());
var mockVsTest = BuildVsTestRunnerPool(new StrykerOptions(), out var runner, testCases: []);
SetupMockTestRun(mockVsTest, true, []);
var result = runner.TestMultipleMutants(SourceProjectInfo, null, new[] { Mutant }, null);
// tests are successful => run should be successful
result.ExecutedTests.IsEmpty.ShouldBeTrue();
Expand All @@ -140,8 +140,8 @@ public void DoNotTestWhenNoTestPresent()
public void HandleWhenNoTestAreFound()
{
var mockVsTest = BuildVsTestRunnerPool(new StrykerOptions(), out var runner, TestCases);
SetupMockTestRun(mockVsTest, true, new List<VsTest.TestCase>());
var result = runner.TestMultipleMutants(SourceProjectInfo, null, new[] { Mutant }, null);
SetupMockTestRun(mockVsTest, true, []);
var result = runner.TestMultipleMutants(SourceProjectInfo, Mock.Of<ITimeoutValueCalculator>(c => c.DefaultTimeout == -10000), new[] { Mutant }, null);
// tests are successful => run should be successful
result.ExecutedTests.IsEmpty.ShouldBeTrue();
}
Expand All @@ -151,7 +151,7 @@ public void RecycleRunnerOnError()
{
var mockVsTest = BuildVsTestRunnerPool(new StrykerOptions(), out var runner);
SetupFailingTestRun(mockVsTest);
runner.TestMultipleMutants(SourceProjectInfo, null, new[] { Mutant }, null);
_ = runner.TestMultipleMutants(SourceProjectInfo, null, new[] { Mutant }, null);
// the test will always end in a crash, VsTestRunner should retry at least a few times
mockVsTest.Verify(m => m.RunTestsWithCustomTestHost(It.IsAny<IEnumerable<string>>(),
It.IsAny<string>(), It.IsAny<TestPlatformOptions>(),
Expand Down Expand Up @@ -197,7 +197,7 @@ public void ShouldRetryFrozenSession()
VsTestRunner.VsTestExtraTimeOutInMs = 100;
// the test session will freeze twice
SetupFrozenTestRun(mockVsTest, 2);
runner.TestMultipleMutants(SourceProjectInfo, new TimeoutValueCalculator(0, 10, 9), new[] { Mutant }, null);
_ = runner.TestMultipleMutants(SourceProjectInfo, new TimeoutValueCalculator(0, 10, 9), new[] { Mutant }, null);
VsTestRunner.VsTestExtraTimeOutInMs = defaultTimeOut;
mockVsTest.Verify(m => m.RunTestsWithCustomTestHost(It.IsAny<IEnumerable<string>>(),
It.IsAny<string>(), It.IsAny<TestPlatformOptions>(),
Expand All @@ -214,7 +214,7 @@ public void ShouldNotRetryFrozenVsTest()
// it will be recycled
SetupFrozenVsTest(mockVsTest, 3);
VsTestRunner.VsTestExtraTimeOutInMs = 100;
runner.TestMultipleMutants(SourceProjectInfo, new TimeoutValueCalculator(0, 10, 9), new[] { Mutant }, null);
_ = runner.TestMultipleMutants(SourceProjectInfo, new TimeoutValueCalculator(0, 10, 9), new[] { Mutant }, null);
VsTestRunner.VsTestExtraTimeOutInMs = defaultTimeOut;
mockVsTest.Verify(m => m.EndSession(), Times.Exactly(2));
}
Expand Down Expand Up @@ -345,7 +345,7 @@ public void RunTestsSimultaneouslyWhenPossible()
SetupMockCoverageRun(mockVsTest, new Dictionary<string, string> { ["T0"] = "0;", ["T1"] = "1;" });
tester.GetCoverage();
SetupMockPartialTestRun(mockVsTest, new Dictionary<string, string> { ["0,1"] = "T0=S,T1=F" });
tester.Test(project.ProjectContents.Mutants.Where(x => !x.CoveringTests.IsEmpty));
_ = tester.Test(project.ProjectContents.Mutants.Where(x => !x.CoveringTests.IsEmpty));

Mutant.ResultStatus.ShouldBe(MutantStatus.Survived);
OtherMutant.ResultStatus.ShouldBe(MutantStatus.Killed);
Expand All @@ -365,11 +365,11 @@ public void ShouldThrowWhenTestingMultipleMutantsWithoutCoverageAnalysis()
var myTestCases = TestCases.ToList();
myTestCases.Add(BuildCase("T2"));
myTestCases.Add(BuildCase("T3"));
BuildVsTestRunnerPool(options, out var runner, myTestCases);
_ = BuildVsTestRunnerPool(options, out var runner, myTestCases);

var testFunc = () => runner.TestMultipleMutants(SourceProjectInfo, new TimeoutValueCalculator(0), mutants, null);

testFunc.ShouldThrow(typeof(GeneralStrykerException));
_ = testFunc.ShouldThrow(typeof(GeneralStrykerException));
}

[TestMethod]
Expand Down Expand Up @@ -515,7 +515,7 @@ public void HandleUnexpectedTestCase()
var mockVsTest = BuildVsTestRunnerPool(options, out var runner);
// assume 2 results for T0
SetupMockTestRun(mockVsTest, new[] { ("T0", true), ("T1", true), ("T2", true) });
runner.InitialTest(SourceProjectInfo);
_ = runner.InitialTest(SourceProjectInfo);
runner.Context.Tests.Count.ShouldBe(3);
}

Expand Down Expand Up @@ -570,7 +570,7 @@ public void MarkSuspiciousCoverageInPresenceOfFailedTests()

var mockVsTest = BuildVsTestRunnerPool(options, out var runner);
SetupMockTestRun(mockVsTest, new[] { ("T0", true), ("T1", false), ("T2", true) });
runner.InitialTest(SourceProjectInfo);
_ = runner.InitialTest(SourceProjectInfo);

SetupMockCoverageRun(mockVsTest, new Dictionary<string, string> { ["T0"] = "0;|1", ["T1"] = ";" });

Expand Down
6 changes: 3 additions & 3 deletions src/Stryker.Core/Stryker.Core.UnitTest/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -1566,7 +1566,7 @@
"Stryker.DataCollector": "[4.4.0, )",
"Stryker.Regex.Parser": "[1.0.0, )",
"Stryker.RegexMutators": "[4.4.0, )",
"TestableIO.System.IO.Abstractions.Wrappers": "[21.1.1, )"
"TestableIO.System.IO.Abstractions.Wrappers": "[21.1.3, )"
}
},
"stryker.abstractions": {
Expand All @@ -1579,7 +1579,7 @@
"Microsoft.TestPlatform.ObjectModel": "[17.11.1, )",
"Serilog": "[4.1.0, )",
"Stryker.Utilities": "[4.4.0, )",
"TestableIO.System.IO.Abstractions.Wrappers": "[21.1.1, )"
"TestableIO.System.IO.Abstractions.Wrappers": "[21.1.3, )"
}
},
"stryker.configuration": {
Expand Down Expand Up @@ -1866,7 +1866,7 @@
},
"TestableIO.System.IO.Abstractions.Wrappers": {
"type": "CentralTransitive",
"requested": "[21.1.1, )",
"requested": "[21.1.3, )",
"resolved": "21.1.3",
"contentHash": "5LEVwt5+K5TnL1ekfCbQszlgRnO77plpgQAgkXL7wXKGd0PQWE01eSss0+L7E8GGLGbtD7mzYJVq/bd79ZDBlQ==",
"dependencies": {
Expand Down
14 changes: 7 additions & 7 deletions src/Stryker.Core/Stryker.Core/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -257,11 +257,11 @@
},
"TestableIO.System.IO.Abstractions.Wrappers": {
"type": "Direct",
"requested": "[21.1.1, )",
"resolved": "21.1.1",
"contentHash": "BVymeYb9xqUdffJq9zqVyGglyQDi8QXv+VYUM0Z9Mrfau+rFFGk6GmFhEiCC3TIGOfDSIFWFUPWzxXHXjWmXIQ==",
"requested": "[21.1.3, )",
"resolved": "21.1.3",
"contentHash": "5LEVwt5+K5TnL1ekfCbQszlgRnO77plpgQAgkXL7wXKGd0PQWE01eSss0+L7E8GGLGbtD7mzYJVq/bd79ZDBlQ==",
"dependencies": {
"TestableIO.System.IO.Abstractions": "21.1.1"
"TestableIO.System.IO.Abstractions": "21.1.3"
}
},
"Azure.Core": {
Expand Down Expand Up @@ -1554,8 +1554,8 @@
},
"TestableIO.System.IO.Abstractions": {
"type": "Transitive",
"resolved": "21.1.1",
"contentHash": "rOpwfPzkMnXEm1tXzCuFAIcB5vEy2WQJ4vZ4ixAHv6UE95ddYeJ6JJh4rg/3fmf+5ewit9Oful6POUjnbOkang=="
"resolved": "21.1.3",
"contentHash": "qe/gIjOPCoyiSCToouJx/vCvcTQXVGj/eJVRK/7s2F8yIv0zvEpjByfXZvS3yqmcpg0/S6x6w7DvNyPrLe/RRw=="
},
"stryker.abstractions": {
"type": "Project",
Expand All @@ -1567,7 +1567,7 @@
"Microsoft.TestPlatform.ObjectModel": "[17.11.1, )",
"Serilog": "[4.1.0, )",
"Stryker.Utilities": "[4.4.0, )",
"TestableIO.System.IO.Abstractions.Wrappers": "[21.1.1, )"
"TestableIO.System.IO.Abstractions.Wrappers": "[21.1.3, )"
}
},
"stryker.configuration": {
Expand Down
14 changes: 7 additions & 7 deletions src/Stryker.Options/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -1175,8 +1175,8 @@
},
"TestableIO.System.IO.Abstractions": {
"type": "Transitive",
"resolved": "21.1.1",
"contentHash": "rOpwfPzkMnXEm1tXzCuFAIcB5vEy2WQJ4vZ4ixAHv6UE95ddYeJ6JJh4rg/3fmf+5ewit9Oful6POUjnbOkang=="
"resolved": "21.1.3",
"contentHash": "qe/gIjOPCoyiSCToouJx/vCvcTQXVGj/eJVRK/7s2F8yIv0zvEpjByfXZvS3yqmcpg0/S6x6w7DvNyPrLe/RRw=="
},
"stryker.abstractions": {
"type": "Project",
Expand All @@ -1188,7 +1188,7 @@
"Microsoft.TestPlatform.ObjectModel": "[17.11.1, )",
"Serilog": "[4.1.0, )",
"Stryker.Utilities": "[4.4.0, )",
"TestableIO.System.IO.Abstractions.Wrappers": "[21.1.1, )"
"TestableIO.System.IO.Abstractions.Wrappers": "[21.1.3, )"
}
},
"stryker.utilities": {
Expand Down Expand Up @@ -1304,11 +1304,11 @@
},
"TestableIO.System.IO.Abstractions.Wrappers": {
"type": "CentralTransitive",
"requested": "[21.1.1, )",
"resolved": "21.1.1",
"contentHash": "BVymeYb9xqUdffJq9zqVyGglyQDi8QXv+VYUM0Z9Mrfau+rFFGk6GmFhEiCC3TIGOfDSIFWFUPWzxXHXjWmXIQ==",
"requested": "[21.1.3, )",
"resolved": "21.1.3",
"contentHash": "5LEVwt5+K5TnL1ekfCbQszlgRnO77plpgQAgkXL7wXKGd0PQWE01eSss0+L7E8GGLGbtD7mzYJVq/bd79ZDBlQ==",
"dependencies": {
"TestableIO.System.IO.Abstractions": "21.1.1"
"TestableIO.System.IO.Abstractions": "21.1.3"
}
}
}
Expand Down
Loading