C# Class Akka.Persistence.TestKit.Journal.JournalSpec

Inheritance: PluginSpec
Afficher le fichier Open project: rogeralsing/akka.net

Protected Properties

Свойство Type Description
Config Akka.Configuration.Config

Méthodes protégées

Méthode Description
Initialize ( ) : IEnumerable

Initializes a journal with set o predefined messages.

IsReplayedMessage ( ReplayedMessage message, long seqNr, bool isDeleted = false ) : bool
JournalSpec ( Config config = null, string actorSystemName = null, ITestOutputHelper output = null ) : System
JournalSpec ( Type journalType, string actorSystemName = null, ITestOutputHelper output = null ) : System
PreparePersistenceId ( string pid ) : void

Overridable hook that is called before populating the journal for the next test case. pid is the persistenceId that will be used in the test. This method may be needed to clean pre-existing events from the log.

Private Methods

Méthode Description
ConfigFromTemplate ( Type journalType ) : Config
Journal_optionally_may_reject_non_serializable_events ( ) : void
Journal_should_not_replay_messages_if_count_limit_equals_zero ( ) : void
Journal_should_not_replay_messages_if_lower_sequence_number_bound_is_greater_than_upper_sequence_number_bound ( ) : void
Journal_should_not_replay_messages_if_the_persistent_actor_has_not_yet_written_messages ( ) : void
Journal_should_not_replay_permanently_deleted_messages_on_range_deletion ( ) : void
Journal_should_not_reset_HighestSequenceNr_after_journal_cleanup ( ) : void
Journal_should_not_reset_HighestSequenceNr_after_message_deletion ( ) : void
Journal_should_replay_a_single_if_lower_sequence_number_bound_equals_upper_sequence_number_bound ( ) : void
Journal_should_replay_a_single_message_if_count_limit_is_equal_one ( ) : void
Journal_should_replay_all_messages ( ) : void
Journal_should_replay_messages_using_a_count_limit ( ) : void
Journal_should_replay_messages_using_a_lower_sequence_number_bound ( ) : void
Journal_should_replay_messages_using_an_upper_sequence_number_bound ( ) : void
Journal_should_replay_messages_using_lower_and_upper_sequence_number_bound ( ) : void
Journal_should_replay_messages_using_lower_and_upper_sequence_number_bound_and_count_limit ( ) : void
WriteMessages ( int from, int to, string pid, IActorRef sender, string writerGuid ) : AtomicWrite[]

Method Details

Initialize() protected méthode

Initializes a journal with set o predefined messages.
protected Initialize ( ) : IEnumerable
Résultat IEnumerable

IsReplayedMessage() protected méthode

protected IsReplayedMessage ( ReplayedMessage message, long seqNr, bool isDeleted = false ) : bool
message ReplayedMessage
seqNr long
isDeleted bool
Résultat bool

JournalSpec() protected méthode

protected JournalSpec ( Config config = null, string actorSystemName = null, ITestOutputHelper output = null ) : System
config Akka.Configuration.Config
actorSystemName string
output ITestOutputHelper
Résultat System

JournalSpec() protected méthode

protected JournalSpec ( Type journalType, string actorSystemName = null, ITestOutputHelper output = null ) : System
journalType System.Type
actorSystemName string
output ITestOutputHelper
Résultat System

PreparePersistenceId() protected méthode

Overridable hook that is called before populating the journal for the next test case. pid is the persistenceId that will be used in the test. This method may be needed to clean pre-existing events from the log.
protected PreparePersistenceId ( string pid ) : void
pid string
Résultat void

Property Details

Config protected_oe static_oe property

protected static Config,Akka.Configuration Config
Résultat Akka.Configuration.Config