Namespace Serenity.FilePersistence.Tests.Infrastructure
Classes
FileBackedKeyValueStructuredStoreContractTests
Runs the full shared StructuredStoreContractTests suite against KeyValueStructuredStore backed by FileKeyValueStore over an in-memory blob fake — proves ordering, filtering, pagination, and upsert-if-better all work correctly over a file-shaped backend, not just over the plain in-memory key-value fake.
FileKeyValueStoreTests
Behavioral tests for FileKeyValueStore: round-trip get/set, missing-key semantics, key sanitization (deterministic, injective, root-escape-proof), and the never-throw health check contract.
FileStoreBehaviorTests
Additional behavioral tests for FileStore focused on observable side effects: data routed to the file-system stream / writer, namespace normalization, and read paths.
FileStoreFactoryTests
Behavioral tests for FileStoreFactory.
IOFilePersistenceDriversFactoryTests
Tests that IOFilePersistenceDriversFactory produces the concrete IO drivers.
IOFileSystemServiceTests
Real-filesystem tests for IOFileSystemService using a temp directory.
IOPathServiceTests
Tests for IOPathService path composition.
KeyValueStructuredStoreOverFilesTests
Proves the full stack works end to end: KeyValueStructuredStore over FileKeyValueStore over an in-memory blob fake — the same shape a real file-backed leaderboard would use, minus real disk I/O.
SafeAtomicFileWriterTests
Real-filesystem tests for SafeAtomicFileWriter.