AyCode.Core/AyCode.Services.Server.Tests
Loretta 5e06f3e122 Add logger support to grids, data sources, and helpers
- Added optional logger to TaskHelper.Forget for fire-and-forget error logging
- Updated MgGridBase and data sources to accept and use logger instances
- Refactored AcSignalRDataSource to log deserialization faults
- Modified constructors and usages of SignalRDataSourceList/Observable for logger injection
- Added CountryCode to CargoTruck and displayed in new GridCargoTruck
- Introduced GridCargoTruck.razor and base class with logger integration
- Updated GridCargoPartner to use new cargo truck grid as detail row
- Improved code style and ensured consistent error handling throughout
2026-05-30 06:47:06 +02:00
..
LoginServices Document AcBinary wire format, sync docs, update conventions 2026-03-29 09:11:57 +02:00
SignalRs Add logger support to grids, data sources, and helpers 2026-05-30 06:47:06 +02:00
AyCode.Services.Server.Tests.csproj Update dependencies and expand README documentation 2026-03-20 16:42:51 +01:00
InvokeMethodExtensionTests.cs [LOADED_DOCS: 2 files, no new loads] 2026-05-13 08:40:42 +02: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.