AyCode.Core/AyCode.Core.Tests/TestModels
Loretta d4e4c4480a SGen null-handling parity, micro-opt CV, doc & bench fixes
- Fix SGen collection/dictionary null-handling: always emit PropertySkip for nulls, preventing NREs regardless of nullable annotation.
- Add micro-opt CV threshold (1.5%) to benchmark output for finer-grained result flagging; update reporting and context.
- Benchmark loop: add inter-sample settle delay, trimmed median, and branchless progress for more reliable measurements.
- Add regression tests for SGen null-handling (complex, collection, dictionary; null/non-null; SGen/reflection; FastMode/Default).
- Update docs: clarify SGen null-check contract, add AQN binder security plan, and cross-reference related issues.
- Misc: code cleanups, improved comments, and minor doc clarifications.
2026-05-24 07:39:21 +02:00
..
AcSerializerModels.cs Refactor SGen: property/object marker bridges, FixObj support 2026-03-10 17:32:00 +01:00
BenchmarkTestDataProvider.cs Refactor AcBinary string markers; charset/test renames 2026-05-22 20:04:11 +02:00
GeneratedSerializerTestModels.cs Add AcBinary Source Generator for fast serialization 2026-01-06 08:58:34 +01:00
README.md Document AcBinary wire format, sync docs, update conventions 2026-03-29 09:11:57 +02:00
SGenNullComplexPropertyModels.cs SGen null-handling parity, micro-opt CV, doc & bench fixes 2026-05-24 07:39:21 +02:00
SharedTestBaseModels.cs Refactor benchmark infra: generic, multi-variant test data 2026-05-13 13:54:53 +02:00
SharedTestModels.cs [LOADED_DOCS: 2 files, no new loads] 2026-05-13 08:40:42 +02:00
SharedTestOrderModels.cs Fix SGen ref-handling asymmetry; add regression tests 2026-05-19 08:32:39 +02:00
SignalRTestInfrastructure.cs [LOADED_DOCS: 2 files, no new loads] 2026-05-13 08:40:42 +02:00
StockTakingTestModels.cs Add expression serialization & chain API for JSON deserialization 2025-12-29 15:28:46 +01:00
TestDataFactory.cs Refactor string serialization, CLI args, and test data 2026-05-21 21:03:03 +02:00
TestLogger.cs Add expression serialization & chain API for JSON deserialization 2025-12-29 15:28:46 +01:00

README.md

TestModels

Shared test entities, enums, data factories, and SignalR test infrastructure. Used across test and benchmark projects.

Key Files

  • SharedTestModels.cs — Enums (TestStatus, TestPriority, TestUserRole) and shared IId types (SharedTag, SharedCategory, SharedUser, MetadataInfo). Multi-serializer: [AcBinarySerializable], [MessagePackObject], [MemoryPackable].
  • AcSerializerModels.cs — 30+ test models: simple, nested, collections, nullable, StockTaking hierarchy, circular references, generics, navigation properties, schema mismatch scenarios.
  • GeneratedSerializerTestModels.cs — [AcBinarySerializable] models for source generator testing.
  • StockTakingTestModels.cs — Production-like hierarchy: BaseEntity → MgEntityBase → MgStockTaking.
  • TestDataFactory.cs — Centralized factory with ID sequencing: CreateTag(), CreateCategory(), CreateUser(), CreateOrder(), CreateOrderItem().
  • SignalRTestInfrastructure.cs — SignalRMessageFactory, DTOs, CommonSignalRTags, SignalRBenchmarkData.
  • TestLogger.cs — Logger with capture for assertions: HasErrorLogs, HasWarningLogs, GetErrorMessages().