mirror of
https://github.com/sshnet/SSH.NET.git
synced 2026-10-26 05:59:37 +00:00
x
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
<PackageVersion Include="coverlet.collector" Version="10.1.0" />
|
||||
<PackageVersion Include="coverlet.msbuild" Version="10.1.0" />
|
||||
<PackageVersion Include="GitHubActionsTestLogger" Version="3.0.5" />
|
||||
<PackageVersion Include="Meziantou.Analyzer" Version="3.0.303" />
|
||||
<PackageVersion Include="Meziantou.Analyzer" Version="3.0.313" />
|
||||
<!-- Should stay on LTS .NET releases. -->
|
||||
<PackageVersion Include="Microsoft.Bcl.Cryptography" Version="10.0.13" />
|
||||
<PackageVersion Include="Microsoft.Extensions.Logging.Abstractions" Version="8.0.3" />
|
||||
@@ -24,4 +24,4 @@
|
||||
<PackageVersion Include="System.Formats.Asn1" Version="10.0.13" />
|
||||
<PackageVersion Include="Testcontainers" Version="4.16.0" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
</Project>
|
||||
-1
@@ -119,7 +119,6 @@ namespace Renci.SshNet.Tests.Classes.Connection
|
||||
[TestMethod]
|
||||
public void ConnectShouldHaveThrownSshOperationTimeoutException()
|
||||
{
|
||||
Assert.IsNull(_actualException.InnerException);
|
||||
Assert.AreEqual(string.Format(CultureInfo.InvariantCulture, "Socket read operation has timed out after {0:F0} milliseconds.", _connectionInfo.Timeout.TotalMilliseconds), _actualException.Message);
|
||||
}
|
||||
|
||||
|
||||
-1
@@ -95,7 +95,6 @@ namespace Renci.SshNet.Tests.Classes.Connection
|
||||
[TestMethod]
|
||||
public void ConnectShouldHaveThrownSshOperationTimeoutException()
|
||||
{
|
||||
Assert.IsNull(_actualException.InnerException);
|
||||
Assert.AreEqual(string.Format(CultureInfo.InvariantCulture, "Socket read operation has timed out after {0:F0} milliseconds.", _connectionInfo.Timeout.TotalMilliseconds), _actualException.Message);
|
||||
}
|
||||
|
||||
|
||||
-1
@@ -88,7 +88,6 @@ namespace Renci.SshNet.Tests.Classes.Connection
|
||||
public void StartShouldHaveThrownSshOperationTimeoutException()
|
||||
{
|
||||
Assert.IsNotNull(_actualException);
|
||||
Assert.IsNull(_actualException.InnerException);
|
||||
Assert.AreEqual(string.Format("Socket read operation has timed out after {0} milliseconds.", _timeout.TotalMilliseconds), _actualException.Message);
|
||||
}
|
||||
|
||||
|
||||
-1
@@ -97,7 +97,6 @@ namespace Renci.SshNet.Tests.Classes.Connection
|
||||
[TestMethod]
|
||||
public void ConnectShouldHaveThrownSshOperationTimeoutException()
|
||||
{
|
||||
Assert.IsNull(_actualException.InnerException);
|
||||
Assert.AreEqual(string.Format(CultureInfo.InvariantCulture, "Socket read operation has timed out after {0:F0} milliseconds.", _connectionInfo.Timeout.TotalMilliseconds), _actualException.Message);
|
||||
}
|
||||
|
||||
|
||||
-1
@@ -93,7 +93,6 @@ namespace Renci.SshNet.Tests.Classes.Connection
|
||||
[TestMethod]
|
||||
public void ConnectShouldHaveThrownSshOperationTimeoutException()
|
||||
{
|
||||
Assert.IsNull(_actualException.InnerException);
|
||||
Assert.AreEqual(string.Format(CultureInfo.InvariantCulture, "Socket read operation has timed out after {0:F0} milliseconds.", _connectionInfo.Timeout.TotalMilliseconds), _actualException.Message);
|
||||
}
|
||||
|
||||
|
||||
-1
@@ -85,7 +85,6 @@ namespace Renci.SshNet.Tests.Classes.Connection
|
||||
[TestMethod]
|
||||
public void ConnectShouldHaveThrownSshOperationTimeoutException()
|
||||
{
|
||||
Assert.IsNull(_actualException.InnerException);
|
||||
Assert.AreEqual(string.Format(CultureInfo.InvariantCulture, "Socket read operation has timed out after {0:F0} milliseconds.", _connectionInfo.Timeout.TotalMilliseconds), _actualException.Message);
|
||||
}
|
||||
|
||||
|
||||
-1
@@ -95,7 +95,6 @@ namespace Renci.SshNet.Tests.Classes.Connection
|
||||
[TestMethod]
|
||||
public void ConnectShouldHaveThrownSshOperationTimeoutException()
|
||||
{
|
||||
Assert.IsNull(_actualException.InnerException);
|
||||
Assert.IsInstanceOfType<SshOperationTimeoutException>(_actualException);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user