Class UnityCheckpointStoreTests
PlayMode tests for Serenity.Checkpoint.Infrastructure.Stores.UnityCheckpointStore. Uses an in-memory Serenity.Persistence.Domain.Interfaces.IKeyValueStore fake to verify the JSON serialization round-trip and key-value delegation.
Inherited Members
Namespace: Serenity.UnityCheckpoint.Tests.Infrastructure
Assembly: Tests.dll
Syntax
public class UnityCheckpointStoreTests
Constructors
UnityCheckpointStoreTests()
Declaration
public UnityCheckpointStoreTests()
Methods
Ctor_NullStore_Throws()
Declaration
public void Ctor_NullStore_Throws()
Delete_RemovesSavedSlot()
Declaration
public void Delete_RemovesSavedSlot()
Exists_AfterSave_ReturnsTrue()
Declaration
public void Exists_AfterSave_ReturnsTrue()
Exists_WithoutSave_ReturnsFalse()
Declaration
public void Exists_WithoutSave_ReturnsFalse()
Implements_ICheckpointStore()
Declaration
public void Implements_ICheckpointStore()
QueryAll_Empty_ReturnsEmptyArray()
Declaration
public void QueryAll_Empty_ReturnsEmptyArray()
QueryAll_ReturnsMetadataForEachSavedSlot()
Declaration
public void QueryAll_ReturnsMetadataForEachSavedSlot()
SaveThenTryLoad_RoundTripsData()
Declaration
public void SaveThenTryLoad_RoundTripsData()
SaveThenTryLoad_RoundTripsMetadata()
Declaration
public void SaveThenTryLoad_RoundTripsMetadata()
Save_DifferentSlots_DoNotCollide()
Declaration
public void Save_DifferentSlots_DoNotCollide()
Save_NullData_LoadsEmptyByteArray()
Declaration
public void Save_NullData_LoadsEmptyByteArray()
Save_NullLabelAndStage_LoadsEmptyStrings()
Declaration
public void Save_NullLabelAndStage_LoadsEmptyStrings()
TryLoad_MissingSlot_ReturnsFalse()
Declaration
public void TryLoad_MissingSlot_ReturnsFalse()