- Introduced ICompanyInfoBase for standardized company/partner data; refactored PartnerBase and interfaces to implement it - Replaced EkaerMappingOptions with EkaerCompanyInfo; updated all usages, constructors, and tests - Refactored EKÁER mapping logic to use ICompanyInfoBase; improved normalization and address handling - Added regex/validation for plate numbers and country codes; new error codes - Added Currency to PartnerBase; updated grids to display it - Updated ProductDto doc for GTIN/VTSZ data model issue - Enabled validation in CargoTruck grid - Added DMODEL topic docs: TOPIC_CODES.md, DATAMODEL_ISSUES.md, README.md - Removed obsolete files and updated settings.local.json - General code and doc improvements for maintainability |
||
|---|---|---|
| .. | ||
| Compression | ||
| GeneratedWriters | ||
| Serialization | ||
| TestModels | ||
| AyCode.Core.Tests.csproj | ||
| GlobalUsings.cs | ||
| JsonExtensionTests.cs | ||
| README.md | ||
| TestModelBase.cs | ||
README.md
AyCode.Core.Tests
MSTest unit tests for AyCode.Core serialization, compression, and utilities. Covers binary/JSON round-trips, reference handling, nullable types, source generator integration, and performance benchmarks.
Folder Structure
| Folder | Purpose |
|---|---|
Serialization/ |
Binary and JSON serialization tests (20+ test classes) |
Compression/ |
GZip compression tests |
TestModels/ |
Shared test entities, enums, data factories, SignalR infrastructure |
GeneratedWriters/ |
Hand-written source generator output examples |
Key Files (Root)
GlobalUsings.cs— Global MSTest using.TestModelBase.cs— Abstract base for test models with configuration support.JsonExtensionTests.cs— JSON extension method tests.
Dependencies
| Dependency | Purpose |
|---|---|
MSTest |
Test framework |
MessagePack |
Serialization comparison |
MemoryPack |
Serialization comparison |
MongoDB.Bson |
BSON comparison |