Class JournalSpec
Assembly: Akka.Persistence.TCK.dll
Syntax
public abstract class JournalSpec : PluginSpec, IActorRefFactory, IDisposable
Constructors
|
Improve this Doc
View Source
JournalSpec(ActorSystem, ITestOutputHelper)
Declaration
protected JournalSpec(ActorSystem system = null, ITestOutputHelper output = null)
Parameters
Type |
Name |
Description |
ActorSystem |
system |
|
Xunit.Abstractions.ITestOutputHelper |
output |
|
|
Improve this Doc
View Source
JournalSpec(ActorSystemSetup, String, ITestOutputHelper)
Declaration
protected JournalSpec(ActorSystemSetup setup, string actorSystemName = null, ITestOutputHelper output = null)
Parameters
Type |
Name |
Description |
ActorSystemSetup |
setup |
|
String |
actorSystemName |
|
Xunit.Abstractions.ITestOutputHelper |
output |
|
|
Improve this Doc
View Source
JournalSpec(Config, String, ITestOutputHelper)
Declaration
protected JournalSpec(Config config = null, string actorSystemName = null, ITestOutputHelper output = null)
Parameters
Type |
Name |
Description |
Config |
config |
|
String |
actorSystemName |
|
Xunit.Abstractions.ITestOutputHelper |
output |
|
|
Improve this Doc
View Source
JournalSpec(Type, String, ITestOutputHelper)
Declaration
protected JournalSpec(Type journalType, string actorSystemName = null, ITestOutputHelper output = null)
Parameters
Type |
Name |
Description |
Type |
journalType |
|
String |
actorSystemName |
|
Xunit.Abstractions.ITestOutputHelper |
output |
|
Fields
|
Improve this Doc
View Source
Config
Declaration
protected static readonly Config Config
Field Value
Properties
|
Improve this Doc
View Source
Journal
Declaration
protected IActorRef Journal { get; }
Property Value
|
Improve this Doc
View Source
SupportsAtomicPersistAllOfSeveralEvents
Declaration
protected virtual bool SupportsAtomicPersistAllOfSeveralEvents { get; }
Property Value
|
Improve this Doc
View Source
SupportsRejectingNonSerializableObjects
When true enables tests which check if the Journal properly rejects
writes of objects which are not serializable.
Declaration
protected virtual bool SupportsRejectingNonSerializableObjects { get; }
Property Value
|
Improve this Doc
View Source
SupportsSerialization
Declaration
protected override bool SupportsSerialization { get; }
Property Value
Overrides
Methods
|
Improve this Doc
View Source
Initialize()
Initializes a journal with set o predefined messages.
Declaration
protected IEnumerable<AtomicWrite> Initialize()
Returns
|
Improve this Doc
View Source
IsReplayedMessage(ReplayedMessage, Int64, Boolean)
Declaration
protected bool IsReplayedMessage(ReplayedMessage message, long seqNr, bool isDeleted = false)
Parameters
Returns
|
Improve this Doc
View Source
Journal_optionally_may_reject_non_serializable_events()
Declaration
[Fact]
public virtual void Journal_optionally_may_reject_non_serializable_events()
|
Improve this Doc
View Source
Journal_should_not_replay_messages_if_count_limit_equals_zero()
Declaration
[Fact]
public virtual void Journal_should_not_replay_messages_if_count_limit_equals_zero()
|
Improve this Doc
View Source
Journal_should_not_replay_messages_if_lower_sequence_number_bound_is_greater_than_upper_sequence_number_bound()
Declaration
[Fact]
public virtual void Journal_should_not_replay_messages_if_lower_sequence_number_bound_is_greater_than_upper_sequence_number_bound()
|
Improve this Doc
View Source
Journal_should_not_replay_messages_if_the_persistent_actor_has_not_yet_written_messages()
Declaration
[Fact]
public virtual void Journal_should_not_replay_messages_if_the_persistent_actor_has_not_yet_written_messages()
|
Improve this Doc
View Source
Journal_should_not_replay_permanently_deleted_messages_on_range_deletion()
Declaration
[Fact]
public virtual void Journal_should_not_replay_permanently_deleted_messages_on_range_deletion()
|
Improve this Doc
View Source
Journal_should_not_reset_HighestSequenceNr_after_journal_cleanup()
Declaration
[Fact]
public virtual void Journal_should_not_reset_HighestSequenceNr_after_journal_cleanup()
|
Improve this Doc
View Source
Journal_should_not_reset_HighestSequenceNr_after_message_deletion()
Declaration
[Fact]
public virtual void Journal_should_not_reset_HighestSequenceNr_after_message_deletion()
|
Improve this Doc
View Source
Journal_should_replay_a_single_if_lower_sequence_number_bound_equals_upper_sequence_number_bound()
Declaration
[Fact]
public virtual void Journal_should_replay_a_single_if_lower_sequence_number_bound_equals_upper_sequence_number_bound()
|
Improve this Doc
View Source
Journal_should_replay_a_single_message_if_count_limit_is_equal_one()
Declaration
[Fact]
public virtual void Journal_should_replay_a_single_message_if_count_limit_is_equal_one()
|
Improve this Doc
View Source
Journal_should_replay_all_messages()
Declaration
[Fact]
public virtual void Journal_should_replay_all_messages()
|
Improve this Doc
View Source
Journal_should_replay_messages_using_a_count_limit()
Declaration
[Fact]
public virtual void Journal_should_replay_messages_using_a_count_limit()
|
Improve this Doc
View Source
Journal_should_replay_messages_using_a_lower_sequence_number_bound()
Declaration
[Fact]
public virtual void Journal_should_replay_messages_using_a_lower_sequence_number_bound()
|
Improve this Doc
View Source
Journal_should_replay_messages_using_an_upper_sequence_number_bound()
Declaration
[Fact]
public virtual void Journal_should_replay_messages_using_an_upper_sequence_number_bound()
|
Improve this Doc
View Source
Journal_should_replay_messages_using_lower_and_upper_sequence_number_bound()
Declaration
[Fact]
public virtual void Journal_should_replay_messages_using_lower_and_upper_sequence_number_bound()
|
Improve this Doc
View Source
Journal_should_replay_messages_using_lower_and_upper_sequence_number_bound_and_count_limit()
Declaration
[Fact]
public virtual void Journal_should_replay_messages_using_lower_and_upper_sequence_number_bound_and_count_limit()
|
Improve this Doc
View Source
Journal_should_serialize_events()
Declaration
[Fact]
public virtual void Journal_should_serialize_events()
|
Improve this Doc
View Source
PreparePersistenceId(String)
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.
Declaration
protected virtual void PreparePersistenceId(string pid)
Parameters
Type |
Name |
Description |
String |
pid |
|
Implements
Extension Methods