AyCode.Core/AyCode.Services.Server.Tests
Loretta 19c470251d [LOADED_DOCS: .github\copilot-instructions.md]
Refactor SignalR protocol type resolution logic

Removed SignalParams.SignalDataType and migrated type resolution to protocol headers using new WriteHeader/ReadHeader extensibility hooks. AyCodeBinaryHubProtocol now writes and reads the concrete data argument type in the message header, enabling correct deserialization of object-typed arguments. Updated AcBinaryHubProtocol to support header context and made relevant helpers protected. Cleaned up legacy SignalDataType logic and improved documentation.
2026-04-19 12:58:31 +02:00
..
LoginServices Document AcBinary wire format, sync docs, update conventions 2026-03-29 09:11:57 +02:00
SignalRs [LOADED_DOCS: .github\copilot-instructions.md] 2026-04-19 12:58:31 +02:00
AyCode.Services.Server.Tests.csproj Update dependencies and expand README documentation 2026-03-20 16:42:51 +01:00
InvokeMethodExtensionTests.cs Refactor JSON/SignalR infra; add full test & benchmark suite 2025-12-11 21:25:50 +01:00
README.md Add structured metadata blocks to all project/repo docs 2026-03-30 08:53:56 +02:00
TestLogger.cs Refactor JSON/SignalR infra; add full test & benchmark suite 2025-12-11 21:25:50 +01:00

README.md

AyCode.Services.Server.Tests

@project { type = "test" }

Comprehensive server-side tests for SignalR communication, DataSource operations, login services, and reflection-based method invocation.

Folder Structure

Folder Purpose
SignalRs/ Full SignalR client→hub→service test infrastructure
LoginServices/ Login service test base classes

Key Files (Root)

  • TestLogger.cs — Re-exports TestLogger from AyCode.Core.Tests.
  • InvokeMethodExtensionTests.cs — Tests MethodInfo.InvokeMethod: sync, async Task unwrapping, Task.FromResult (production bug fix), non-generic Task, complex objects.