Class StructuredStoreGameSaveAdapterTests
StructuredStoreGameSaveAdapter-specific tests: load/save round-trip per slot
over the shared InMemoryStructuredStore fake, the "no row yet" default, the
cross-slot summary query, delete/exists, the upsert-if-newer save semantics, malformed-payload
handling, and exception re-wrapping/propagation.
Inheritance
StructuredStoreGameSaveAdapterTests
Assembly: Tests.dll
Syntax
public class StructuredStoreGameSaveAdapterTests
Constructors
StructuredStoreGameSaveAdapterTests()
Declaration
public StructuredStoreGameSaveAdapterTests()
Methods
DeleteAsync_RemovesOnlyTheTargetedSlot()
Declaration
public Task DeleteAsync_RemovesOnlyTheTargetedSlot()
Returns
ExistsAsync_EmptySlot_ReturnsFalse()
Declaration
public Task ExistsAsync_EmptySlot_ReturnsFalse()
Returns
ExistsAsync_OccupiedSlot_ReturnsTrue()
Declaration
public Task ExistsAsync_OccupiedSlot_ReturnsTrue()
Returns
GetSlotSummaryAsync_EmptySlot_ReturnsNull()
Declaration
public Task GetSlotSummaryAsync_EmptySlot_ReturnsNull()
Returns
Declaration
public Task GetSlotSummaryAsync_OccupiedSlot_ReturnsMetadataOnlySummary()
Returns
HealthCheckAsync_PassesThroughToUnderlyingStore()
Declaration
public Task HealthCheckAsync_PassesThroughToUnderlyingStore()
Returns
Declaration
public Task LoadAsync_MalformedPayloadJson_ThrowsGameSaveStoreExceptionNotJsonParseException()
Returns
LoadAsync_NothingSavedYet_ReturnsNull()
Declaration
public Task LoadAsync_NothingSavedYet_ReturnsNull()
Returns
LoadAsync_UnderlyingCancellation_PropagatesUnwrapped()
Declaration
public Task LoadAsync_UnderlyingCancellation_PropagatesUnwrapped()
Returns
QuerySummariesAsync_ReturnsOnlyOccupiedSlots()
Declaration
public Task QuerySummariesAsync_ReturnsOnlyOccupiedSlots()
Returns
SaveAsync_CalledTwiceForTheSameSlot_ReplacesTheRowRatherThanAppending()
Declaration
public Task SaveAsync_CalledTwiceForTheSameSlot_ReplacesTheRowRatherThanAppending()
Returns
SaveAsync_DifferentSlots_AreIndependentRows()
Declaration
public Task SaveAsync_DifferentSlots_AreIndependentRows()
Returns
SaveAsync_ThenLoadAsync_RoundTrips()
Declaration
public Task SaveAsync_ThenLoadAsync_RoundTrips()
Returns
SaveAsync_UnderlyingStoreFailure_RewrapsAsGameSaveStoreExceptionOnce()
Declaration
public Task SaveAsync_UnderlyingStoreFailure_RewrapsAsGameSaveStoreExceptionOnce()
Returns
SaveAsync_WithTicksNotNewerThanStored_KeepsExistingRowUnchanged()
Declaration
public Task SaveAsync_WithTicksNotNewerThanStored_KeepsExistingRowUnchanged()
Returns