diff --git a/.github/workflows/nuget-projector-link.yml b/.github/workflows/nuget-projector-link.yml index c42488a..a49906c 100644 --- a/.github/workflows/nuget-projector-link.yml +++ b/.github/workflows/nuget-projector-link.yml @@ -39,6 +39,11 @@ jobs: - name: Checkout uses: actions/checkout@v4 + - name: Test new code + run: | + cat ThreeByte.LinkLib/ThreeByte.LinkLib.ProjectorLink/Projector.cs | grep "string Test" + cat ThreeByte.LinkLib/ThreeByte.LinkLib.TcpLink/AsyncTcpLink.cs | grep "string Test" + - name: Setup .NET Core uses: actions/setup-dotnet@v4 with: diff --git a/ThreeByte.LinkLib/ThreeByte.LinkLib.ProjectorLink/Projector.cs b/ThreeByte.LinkLib/ThreeByte.LinkLib.ProjectorLink/Projector.cs index a15c368..54103c6 100644 --- a/ThreeByte.LinkLib/ThreeByte.LinkLib.ProjectorLink/Projector.cs +++ b/ThreeByte.LinkLib/ThreeByte.LinkLib.ProjectorLink/Projector.cs @@ -10,6 +10,8 @@ namespace ThreeByte.LinkLib.ProjectorLink { public class Projector : IDisposable { + public string Test => "Ukraine"; + public event EventHandler? ErrorOccurred; public string Address => $"{_hostName}/{_port}"; diff --git a/ThreeByte.LinkLib/ThreeByte.LinkLib.TcpLink/AsyncTcpLink.cs b/ThreeByte.LinkLib/ThreeByte.LinkLib.TcpLink/AsyncTcpLink.cs index ea30efc..32ade43 100644 --- a/ThreeByte.LinkLib/ThreeByte.LinkLib.TcpLink/AsyncTcpLink.cs +++ b/ThreeByte.LinkLib/ThreeByte.LinkLib.TcpLink/AsyncTcpLink.cs @@ -9,6 +9,8 @@ namespace ThreeByte.LinkLib.TcpLink { public class AsyncTcpLink : IDisposable { + public string Test => "Ukraine"; + private const int BufferSize = 8092; private const int MaxDataSize = 100; private readonly ILogger _logger;