CultLib/tests/GameCult.Networking.Tests
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Meta Vens 3b83cb6c08 Merge origin/main into hands/variants-c2a-main (main-into-c2a)
Sixteen conflicted files resolved by the spec's rule: main owns payload
ownership, bounds and the Clock seam; C2a owns persistence semantics and exact
binding. MintStoredAt is internal static (previous, now); the cache and the
store pass their cache's Clock. Package versions are main's. The cultmesh-ts
payload-parse acceptance and its test are deleted under retire-schema-alias;
peer snapshot reads take the schema's own id, else an id the definition lists
as compatible. The held firstRecordAtKey fallback is removed: main's handles
take definitions only, so nothing could reach it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 04:06:41 +02:00
..
CultCachePublicationIsolationTests.cs
CultNetCanonicalNumberTests.cs
CultNetDocumentBindingResolverTests.cs
CultNetDocumentRegistryConflictTests.cs
CultNetDocumentRegistryVariantTests.cs
CultNetJournalTests.cs
CultNetOperationServerTests.cs
CultNetPublicationOrderTests.cs
CultNetPublishesCommitsTests.cs
CultNetRudpConnectGenerationTests.cs
CultNetRudpOrderedDeliveryTests.cs
CultNetRudpSchemaServerPeerInputTests.cs
CultNetRudpSendFailureTests.cs C#: an unsendable goodbye names the failure by a fixed code 2026-09-30 23:04:40 +02:00
CultNetRudpSessionEndingTests.cs
CultNetSchemaContractTests.cs
CultNetSchemaServerGroupTests.cs
CultNetSelectionEvaluatorTests.cs
CultNetSelectionFixBatchTests.cs Merge origin/main into hands/variants-c2a-main (main-into-c2a) 2026-10-14 04:06:41 +02:00
CultNetSelectionPageTests.cs
CultNetSelectionSurvivorTests.cs
GameCult.Networking.Tests.csproj
MiniJsonSchemaValidator.cs
NetworkingTests.cs
README.md JSON backing store, I/O fixes, Networking Security 2026-04-18 13:01:24 +01:00
SelectionParityVectorTests.cs
SelectionWireParityTests.cs
SoulP4cProbeTests.cs
SoulP4dProbeTests.cs
SoulP4ProbeTests.cs
SoulPub3Tests.cs

GameCult.Networking.Tests

GameCult.Networking.Tests contains NUnit tests for the networking library.

Scope

The tests currently cover:

  • AES-GCM encrypt/decrypt round-trips in Secret
  • signed session-token validation
  • signed session-token tamper detection
  • signed session-token expiry handling

Run

dotnet test tests\GameCult.Networking.Tests\GameCult.Networking.Tests.csproj

Adding New Tests

Typical future areas to expand include:

  • client reconnect and verify flows
  • login and registration integration tests
  • malformed message handling
  • rate-limiting behavior under concurrency