Skip to content

Commit bc4be8a

Browse files
committed
test quic support
1 parent e810a2a commit bc4be8a

2 files changed

Lines changed: 18 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,4 @@ jobs:
5151
if: runner.os != 'Linux'
5252
run: |
5353
cd test/SuperSocket.Tests
54-
dotnet test --filter FullyQualifiedName\!~QuicHostConfigurator
54+
dotnet test --filter FullyQualifiedName\!~TestQuicSupport

test/SuperSocket.Tests/QuicTest.cs

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
using System;
2+
using System.Net.Quic;
3+
using Xunit;
4+
5+
namespace SuperSocket.Tests
6+
{
7+
public class QuicTest
8+
{
9+
[Fact]
10+
public void TestQuicSupport()
11+
{
12+
#pragma warning disable CA2252,CA1416
13+
Assert.True(QuicListener.IsSupported, "QUIC is not supported.");
14+
#pragma warning restore CA2252,CA1416
15+
}
16+
}
17+
}

0 commit comments

Comments
 (0)