Skip to content

Commit

Permalink
test quic support
Browse files Browse the repository at this point in the history
  • Loading branch information
kerryjiang committed May 25, 2024
1 parent e810a2a commit bc4be8a
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@ jobs:
if: runner.os != 'Linux'
run: |
cd test/SuperSocket.Tests
dotnet test --filter FullyQualifiedName\!~QuicHostConfigurator
dotnet test --filter FullyQualifiedName\!~TestQuicSupport
17 changes: 17 additions & 0 deletions test/SuperSocket.Tests/QuicTest.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
using System;
using System.Net.Quic;
using Xunit;

namespace SuperSocket.Tests
{
public class QuicTest
{
[Fact]
public void TestQuicSupport()
{
#pragma warning disable CA2252,CA1416
Assert.True(QuicListener.IsSupported, "QUIC is not supported.");
#pragma warning restore CA2252,CA1416
}
}
}

0 comments on commit bc4be8a

Please sign in to comment.