Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add logging code to test project #16

Merged
merged 2 commits into from
Jun 15, 2024

test: Add logging and remove unnecessary codes.

fa221bf
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

Add logging code to test project #16

test: Add logging and remove unnecessary codes.
fa221bf
Select commit
Loading
Failed to load commit list.
GitHub Actions / XUnit Tests succeeded Jun 15, 2024 in 0s

94 passed, 0 failed and 0 skipped

Tests passed successfully

✅ /home/runner/work/communication/communication/logs/test-results.trx

94 tests were completed in 5s with 94 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
JSSoft.Communication.Tests.CallbackTest 3✅ 34ms
JSSoft.Communication.Tests.ClientContextTest 16✅ 2s
JSSoft.Communication.Tests.DispatcherTest 11✅ 1s
JSSoft.Communication.Tests.Exceptions.ArgumentExceptionTest 5✅ 58ms
JSSoft.Communication.Tests.Exceptions.ArgumentNullExceptionTest 5✅ 51ms
JSSoft.Communication.Tests.Exceptions.ArgumentOutOfRangeExceptionTest 5✅ 50ms
JSSoft.Communication.Tests.Exceptions.IndexOutOfRangeExceptionTest 5✅ 94ms
JSSoft.Communication.Tests.Exceptions.InvalidOperationExceptionTest 5✅ 1s
JSSoft.Communication.Tests.Exceptions.NotSupportedExceptionTest 5✅ 106ms
JSSoft.Communication.Tests.Exceptions.NullReferenceExceptionTest 5✅ 93ms
JSSoft.Communication.Tests.Exceptions.ObjectDisposedExceptionTest 5✅ 55ms
JSSoft.Communication.Tests.InvokeTest 5✅ 1s
JSSoft.Communication.Tests.ServerContextTest 15✅ 1s
JSSoft.Communication.Tests.UnitTest1 4✅ 1s

✅ JSSoft.Communication.Tests.CallbackTest

✅ Callback1_Test
✅ Callback2_Test
✅ Callback3_Test

✅ JSSoft.Communication.Tests.ClientContextTest

✅ Closed_TestAsync
✅ Constructor_Test
✅ Constructor_WithSameTypeServices_FailTest
✅ Disconnected_TestAsync
✅ EndPoint_Test
✅ Faulted_TestAsync
✅ Id_Test
✅ Open_Cancel_Abort_TestAsync
✅ Open_Close_Cancel_Abort_TestAsync
✅ Open_Close_Close_FailTestAsync
✅ Open_Close_TestAsync
✅ Open_CloseWithInvalidToken_FailTestAsync
✅ Open_Open_FailTestAsync
✅ Open_SetEndPoint_FailTestAsynx
✅ Opened_TestAsync
✅ ServiceStateChanged_TestAsync

✅ JSSoft.Communication.Tests.DispatcherTest

✅ Invoke_FailTest
✅ Invoke_Test
✅ InvokeAsync_FailTest
✅ InvokeAsync_Test
✅ InvokeGeneric_FailTest
✅ InvokeGeneric_Test
✅ InvokeGenericAsync_FailTest
✅ InvokeGenericAsync_Test
✅ InvokeGenericAsync_WaitTest
✅ Post_FailTest
✅ Post_Test

✅ JSSoft.Communication.Tests.Exceptions.ArgumentExceptionTest

✅ Invoke_Test
✅ InvokeAndReturnAsync_Test
✅ InvokeAndReturnAsyncWithCancellation_Test
✅ InvokeAsync_Test
✅ InvokeAsyncWithCancellation_Test

✅ JSSoft.Communication.Tests.Exceptions.ArgumentNullExceptionTest

✅ Invoke_Test
✅ InvokeAndReturnAsync_Test
✅ InvokeAndReturnAsyncWithCancellation_Test
✅ InvokeAsync_Test
✅ InvokeAsyncWithCancellation_Test

✅ JSSoft.Communication.Tests.Exceptions.ArgumentOutOfRangeExceptionTest

✅ Invoke_Test
✅ InvokeAndReturnAsync_Test
✅ InvokeAndReturnAsyncWithCancellation_Test
✅ InvokeAsync_Test
✅ InvokeAsyncWithCancellation_Test

✅ JSSoft.Communication.Tests.Exceptions.IndexOutOfRangeExceptionTest

✅ Invoke_Test
✅ InvokeAndReturnAsync_Test
✅ InvokeAndReturnAsyncWithCancellation_Test
✅ InvokeAsync_Test
✅ InvokeAsyncWithCancellation_Test

✅ JSSoft.Communication.Tests.Exceptions.InvalidOperationExceptionTest

✅ Invoke_Test
✅ InvokeAndReturnAsync_Test
✅ InvokeAndReturnAsyncWithCancellation_Test
✅ InvokeAsync_Test
✅ InvokeAsyncWithCancellation_Test

✅ JSSoft.Communication.Tests.Exceptions.NotSupportedExceptionTest

✅ Invoke_Test
✅ InvokeAndReturnAsync_Test
✅ InvokeAndReturnAsyncWithCancellation_Test
✅ InvokeAsync_Test
✅ InvokeAsyncWithCancellation_Test

✅ JSSoft.Communication.Tests.Exceptions.NullReferenceExceptionTest

✅ Invoke_Test
✅ InvokeAndReturnAsync_Test
✅ InvokeAndReturnAsyncWithCancellation_Test
✅ InvokeAsync_Test
✅ InvokeAsyncWithCancellation_Test

✅ JSSoft.Communication.Tests.Exceptions.ObjectDisposedExceptionTest

✅ Invoke_Test
✅ InvokeAndReturnAsync_Test
✅ InvokeAndReturnAsyncWithCancellation_Test
✅ InvokeAsync_Test
✅ InvokeAsyncWithCancellation_Test

✅ JSSoft.Communication.Tests.InvokeTest

✅ Invoke_Test
✅ InvokeAndReturnAsync_Test
✅ InvokeAndReturnAsyncWithCancellation_Test
✅ InvokeAsync_Test
✅ InvokeAsyncWithCancellation_Test

✅ JSSoft.Communication.Tests.ServerContextTest

✅ Closed_TestAsync
✅ Constructor_Test
✅ Constructor_WithSameTypeServices_FailTest
✅ EndPoint_Test
✅ Faulted_TestAsync
✅ Id_Test
✅ Open_Cancel_Abort_TestAsync
✅ Open_Close_Cancel_Abort_TestAsync
✅ Open_Close_Close_FailTestAsync
✅ Open_Close_TestAsync
✅ Open_CloseWithInvalidToken_FailTestAsync
✅ Open_Open_FailTestAsync
✅ Open_SetEndPoint_FailTestAsynx
✅ Opened_TestAsync
✅ ServiceStateChanged_TestAsync

✅ JSSoft.Communication.Tests.UnitTest1

✅ MultipleOpenAndClientCloseAsync
✅ OpenAndClientCloseAsync
✅ OpenAndInvokeAndClientCloseAsync
✅ OpenAndServerCloseAsync