C# Class Akka.Persistence.TestKit.Snapshot.SnapshotStoreSpec

This spec aims to verify custom SnapshotStore implementations. Every custom authors snapshot store spec should have it's spec suite included.
Inheritance: PluginSpec
Datei anzeigen Open project: rogeralsing/akka.net

Protected Properties

Property Type Description
Config Akka.Configuration.Config
Metadata List

Protected Methods

Method Description
Initialize ( ) : IEnumerable

Initializes a snapshot store with set of predefined snapshots.

SnapshotStoreSpec ( Config config = null, string actorSystemName = null, ITestOutputHelper output = null ) : System
SnapshotStoreSpec ( Type snapshotStoreType, string actorSystemName = null ) : System

Private Methods

Method Description
ConfigFromTemplate ( Type snapshotStoreType ) : Config
SnapshotStore_should_delete_a_single_snapshot_identified_by_SequenceNr_in_snapshot_metadata ( ) : void
SnapshotStore_should_delete_all_snapshots_matching_upper_sequence_number_and_timestamp_bounds ( ) : void
SnapshotStore_should_load_the_most_recent_snapshot ( ) : void
SnapshotStore_should_load_the_most_recent_snapshot_matching_an_upper_sequence_number_and_timestamp_bound ( ) : void
SnapshotStore_should_load_the_most_recent_snapshot_matching_an_upper_sequence_number_bound ( ) : void
SnapshotStore_should_not_delete_snapshots_with_non_matching_upper_timestamp_bounds ( ) : void
SnapshotStore_should_not_load_a_snapshot_given_an_invalid_persistence_id ( ) : void
SnapshotStore_should_not_load_a_snapshot_given_non_matching_sequence_number_criteria ( ) : void
SnapshotStore_should_not_load_a_snapshot_given_non_matching_timestamp_criteria ( ) : void
SnapshotStore_should_save_and_overwrite_snapshot_with_same_sequence_number ( ) : void
WriteSnapshots ( ) : IEnumerable

Method Details

Initialize() protected method

Initializes a snapshot store with set of predefined snapshots.
protected Initialize ( ) : IEnumerable
return IEnumerable

SnapshotStoreSpec() protected method

protected SnapshotStoreSpec ( Config config = null, string actorSystemName = null, ITestOutputHelper output = null ) : System
config Akka.Configuration.Config
actorSystemName string
output ITestOutputHelper
return System

SnapshotStoreSpec() protected method

protected SnapshotStoreSpec ( Type snapshotStoreType, string actorSystemName = null ) : System
snapshotStoreType System.Type
actorSystemName string
return System

Property Details

Config protected_oe static_oe property

protected static Config,Akka.Configuration Config
return Akka.Configuration.Config

Metadata protected_oe property

protected List Metadata
return List