CultLib/tests/GameCult.Networking.Tests
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Libby 1a228349f1
Some checks failed
CultMesh QUIC native / Build win32-x64 (pull_request) Has been skipped
CultMesh QUIC native / Build linux-x64 (pull_request) Has been skipped
CultMesh QUIC native / Release native binaries (pull_request) Has been skipped
CultMesh portability and performance / ubuntu-latest reactive semantics and leases (pull_request) Failing after 5m35s
CultMesh QUIC native / Verify committed binaries match SHA256SUMS (pull_request) Successful in 31s
C#: a put or delete with an empty or blank schemaId or recordKey is refused message_invalid (as an unreadable frame, like the Rust server) and not applied
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 19:46:45 +00:00
..
CarrierVectorTests.cs Carrier vectors: drop the derived hasHop member from the reference's expected JSON 2026-11-07 01:39:57 +00:00
CultCachePublicationIsolationTests.cs Narrow the escaped-observer probe to what this base can show 2026-09-29 16:57:04 +02:00
CultNetCanonicalNumberTests.cs CultNet selection cut1 fix batch: R-I/K/D tests and R-A/R-M reflection fix 2026-09-22 09:39:36 +02:00
CultNetClientWriteCompletionTests.cs GameCult.Networking test: the RUDP schema client delivers a refused put's result frame whatever the order of the ack 2026-11-08 11:29:50 +00:00
CultNetDocumentBindingResolverTests.cs Make generated and reflective document members one rule 2026-09-13 22:00:16 +02:00
CultNetDocumentRegistryConflictTests.cs CultNet C#: a second type for one schema id is refused, typed 2026-09-30 19:49:58 +02:00
CultNetDocumentRegistryVariantTests.cs C#: v0 errors for snapshot, shard log and variant refusals carry fixed text, never an exception's message 2026-11-08 15:13:58 +00:00
CultNetFirstCallTests.cs docs(start): tested CultNet first-call snippets for C#, TypeScript, Rust, Python 2026-11-06 12:30:20 +00:00
CultNetJournalTests.cs CultNetDatabaseServer: a peer's put or delete commits only when its write authority grants it 2026-10-28 00:47:24 +01:00
CultNetOperationServerTests.cs Bind CultMesh authority identity to physical routes 2026-08-18 17:21:58 +02:00
CultNetPublicationOrderTests.cs Networking tests: order is data, so pin each change's own publication, not its delivery order 2026-09-29 23:52:14 +02:00
CultNetPublishesCommitsTests.cs Pin the single-owner publication cases Soul falsified 2026-09-29 13:21:39 +02:00
CultNetRudpConnectGenerationTests.cs Ack Cut 1d batch 2 (C#): an Ack does not retire a Connect awaiting its Accept; the fresh attempt jumps by the receive window less one 2026-09-30 09:53:06 +02:00
CultNetRudpMultiPeerVectorTests.cs cultnet-py: multi-peer RUDP socket server, with C#-captured transcript parity 2026-11-07 01:36:55 +00:00
CultNetRudpOrderedDeliveryTests.cs Ack Cut 1 tests: three held frames, the Rust byte bound, reset reseeds 2026-09-30 00:20:04 +02:00
CultNetRudpSchemaServerPeerInputTests.cs C#: receipt ids capped at 256 bytes and held as digests; limit refusals remembered, no slot freed; required fields refused with fixed text; RUDP server advertises no receipt frames 2026-11-08 15:07:23 +00:00
CultNetRudpSendFailureTests.cs C#: an unsendable goodbye names the failure by a fixed code 2026-09-30 23:04:40 +02:00
CultNetRudpSessionEndingTests.cs Ack Cut 1b tests: an ending does not forget what the peer sent 2026-09-30 00:24:19 +02:00
CultNetSchemaContractTests.cs cultnet error contract: one message_invalid code replaces malformed_document_put/delete 2026-11-08 09:14:12 +00:00
CultNetSchemaServerGroupTests.cs Share CultNet handlers across transports 2026-08-18 01:31:04 +02:00
CultNetSelectionEvaluatorTests.cs Land fix batch 3's R-O and R-Q: keyed length-prefixed cursors, replica-apply sequence gap 2026-09-22 20:04:22 +02:00
CultNetSelectionFixBatchTests.cs Merge origin/main into hands/variants-c2a-main (main-into-c2a) 2026-10-14 04:06:41 +02:00
CultNetSelectionPageTests.cs CultNet selection cut1 fix batch: R-I/K/D tests and R-A/R-M reflection fix 2026-09-22 09:39:36 +02:00
CultNetSelectionSurvivorTests.cs Correct one comment still naming the deleted To.SchemaId tiebreak 2026-09-23 09:21:52 +02:00
CultNetWriteReceiptLoopbackTests.cs C#: receipt writes need a reliable, non-sequenced channel; a refusal without a record key or schema id carries a null detail value 2026-11-08 17:01:59 +00:00
CultNetWriteReceiptServerTests.cs C#: a put or delete with an empty or blank schemaId or recordKey is refused message_invalid (as an unreadable frame, like the Rust server) and not applied 2026-11-08 19:46:45 +00:00
GameCult.Networking.Tests.csproj Add GameCult Mesh package home 2026-05-19 19:08:48 +01:00
MiniJsonSchemaValidator.cs Fix batch 4 (R-X, S-4/S-10): the error schema matches the wire, and the validator refuses a keyword it does not implement 2026-09-22 21:12:23 +02:00
NetworkingTests.cs C#: database server answers writes with write_admitted / error.v1 (write-receipt spec) 2026-11-08 14:04:37 +00:00
README.md JSON backing store, I/O fixes, Networking Security 2026-04-18 13:01:24 +01:00
RemoteWriteAuthorityTests.cs RemoteWriteAuthorityTests: pin the refusal on the wire, the aliased delete's canonical ask and the null decision 2026-10-28 01:43:18 +01:00
SelectionParityVectorTests.cs R-AO: shared vector for two-in-target shared-key resolution 2026-09-23 07:18:11 +02:00
SelectionWireParityTests.cs R-AZ: mirror the all-absent Edge vector into the C# parity test 2026-09-23 09:08:42 +02:00
SoulP4cProbeTests.cs CultNetDatabaseServer: a peer's put or delete commits only when its write authority grants it 2026-10-28 00:47:24 +01:00
SoulP4dProbeTests.cs Cut 4 Soul 4d: a skipped entry is relayed as the primary sent it; probes, wire cases and the closed-enum rule committed 2026-09-30 08:03:09 +02:00
SoulP4ProbeTests.cs Journal fixes: hole floor on restart, one log exception per call, no shape guard, no stray shard-0 logging 2026-09-30 02:48:49 +02:00
SoulPub3Tests.cs Soul probes: commit the pass-3 P-tests and the Cut 4 probes as recovered 2026-09-30 02:38:50 +02:00

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