Skip to content

Commit 631e540

Browse files
committed
Add unit tests for SSL/TLS
- Add tests to connect to HTTPS hosts. - Update companion app to allow testing secure server and certs.
1 parent eb73a21 commit 631e540

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎.gitignore‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,4 +256,4 @@ paket-files/
256256
.sonarlint
257257

258258
# Auto-generated test configuration (produced from .runsettings at build time)
259-
Tests/SocketTests/TestConfiguration.cs
259+
Tests/**/TestConfiguration.cs

‎Tests/SslStreamTests_WiFi/SslClientTests.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public class SslClientTests
3535
public void Setup()
3636
{
3737
// Comment the next line to run these tests on real hardware with network connectivity
38-
//Assert.SkipTest("Skipping SSL tests: requires real hardware with network connectivity");
38+
Assert.SkipTest("Skipping SSL tests: requires real hardware with network connectivity");
3939

4040
CancellationTokenSource cs = new(60000);
4141

‎Tests/SslStreamTests_WiFi/SslServerTests.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public class SslServerTests
4444
public void Setup()
4545
{
4646
// Comment the next line to run these tests on real hardware with network connectivity
47-
//Assert.SkipTest("Skipping SSL server tests: requires real hardware with companion running");
47+
Assert.SkipTest("Skipping SSL server tests: requires real hardware with companion running");
4848

4949
CancellationTokenSource cs = new(60000);
5050

0 commit comments

Comments
 (0)