Class for testing snapshots of persistent actors.
NOTE! ActorSystem must be configured with PersistenceTestKitSnapshotPlugin. The configuration can be retrieved with PersistenceTestKitSnapshotPlugin.config.
Attributes
- Companion
- object
- Source
- PersistenceTestKit.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
Value members
Concrete methods
Check that next persisted in storage for particular persistence id event/snapshot was event.
Check that next persisted in storage for particular persistence id event/snapshot was event.
Attributes
- Definition Classes
-
ExpectOps -> CommonTestKitOps
- Source
- PersistenceTestKit.scala
Fail next n delete from storage attempts with cause exception for any persistence id.
Fail next n delete from storage attempts with cause exception for any persistence id.
Attributes
- Definition Classes
-
CommonTestKitOps
- Source
- PersistenceTestKit.scala
Fail next n delete from storage attempts with cause exception for particular persistence id.
Fail next n delete from storage attempts with cause exception for particular persistence id.
Attributes
- Definition Classes
-
CommonTestKitOps
- Source
- PersistenceTestKit.scala
Fail next n write operations with the cause exception for particular persistence id.
Fail next n write operations with the cause exception for particular persistence id.
Attributes
- Definition Classes
-
CommonTestKitOps
- Source
- PersistenceTestKit.scala
Fail next n write operations with the cause exception for any persistence id.
Fail next n write operations with the cause exception for any persistence id.
Attributes
- Definition Classes
-
CommonTestKitOps
- Source
- PersistenceTestKit.scala
Fail next n read from storage (recovery) attempts with cause exception for any persistence id.
Fail next n read from storage (recovery) attempts with cause exception for any persistence id.
Attributes
- Definition Classes
-
CommonTestKitOps
- Source
- PersistenceTestKit.scala
Fail next n read from storage (recovery) attempts with cause exception for particular persistence id.
Fail next n read from storage (recovery) attempts with cause exception for particular persistence id.
Attributes
- Definition Classes
-
CommonTestKitOps
- Source
- PersistenceTestKit.scala
Attributes
- Definition Classes
-
ExpectOps
- Source
- PersistenceTestKit.scala
Persist elems pairs of (snapshot metadata, snapshot payload) into storage.
Persist elems pairs of (snapshot metadata, snapshot payload) into storage.
Attributes
- Source
- PersistenceTestKit.scala
Persist a pair of (snapshot metadata, snapshot payload) into storage.
Persist a pair of (snapshot metadata, snapshot payload) into storage.
Attributes
- Source
- PersistenceTestKit.scala
Retrieve snapshots and their metadata from storage by persistence id.
Retrieve snapshots and their metadata from storage by persistence id.
Attributes
- Source
- PersistenceTestKit.scala
Inherited methods
Clear all data from the storage.
Clear all data from the storage.
NOTE! Also clears sequence numbers in storage!
Attributes
- See also
-
ClearPreservingSeqNums.clearAllPreservingSeqNumbers
- Inherited from:
- ClearOps (hidden)
- Source
- TestOps.scala
Clear all data from the storage for particular persistence id.
Clear all data from the storage for particular persistence id.
NOTE! Also clears sequence number in the storage!
Attributes
- See also
-
ClearPreservingSeqNums.clearByIdPreservingSeqNumbers
- Inherited from:
- ClearOps (hidden)
- Source
- TestOps.scala
Check for max time that next persisted in storage for particular persistence id event/snapshot was event.
Check for max time that next persisted in storage for particular persistence id event/snapshot was event.
Attributes
- Inherited from:
- ExpectOps (hidden)
- Source
- TestOps.scala
Check for max time that next persisted in storage for particular persistence id event/snapshot has expected type.
Check for max time that next persisted in storage for particular persistence id event/snapshot has expected type.
Attributes
- Inherited from:
- ExpectOps (hidden)
- Source
- TestOps.scala
Check that next persisted in storage for particular persistence id event/snapshot has expected type.
Check that next persisted in storage for particular persistence id event/snapshot has expected type.
Attributes
- Inherited from:
- ExpectOps (hidden)
- Source
- TestOps.scala
Check for max time that next persisted in storage for particular persistence id event/snapshot has expected type.
Check for max time that next persisted in storage for particular persistence id event/snapshot has expected type.
Attributes
- Inherited from:
- ExpectOps (hidden)
- Source
- TestOps.scala
Check that next persisted in storage for particular persistence id event/snapshot has expected type.
Check that next persisted in storage for particular persistence id event/snapshot has expected type.
Attributes
- Inherited from:
- ExpectOps (hidden)
- Source
- TestOps.scala
Check for max time that nothing was persisted in storage for particular persistence id.
Check for max time that nothing was persisted in storage for particular persistence id.
Attributes
- Inherited from:
- ExpectOps (hidden)
- Source
- TestOps.scala
Check that nothing was persisted in storage for particular persistence id.
Check that nothing was persisted in storage for particular persistence id.
Attributes
- Inherited from:
- ExpectOps (hidden)
- Source
- TestOps.scala
Fail next delete from storage attempt with default exception for particular persistence id.
Fail next delete from storage attempt with default exception for particular persistence id.
Attributes
- Inherited from:
- CommonTestKitOps (hidden)
- Source
- PersistenceTestKit.scala
Fail next delete from storage attempt with cause exception for particular persistence id.
Fail next delete from storage attempt with cause exception for particular persistence id.
Attributes
- Inherited from:
- CommonTestKitOps (hidden)
- Source
- PersistenceTestKit.scala
Fail next delete from storage attempt with default exception for any persistence id.
Fail next delete from storage attempt with default exception for any persistence id.
Attributes
- Inherited from:
- CommonTestKitOps (hidden)
- Source
- PersistenceTestKit.scala
Fail next delete from storage attempt with cause exception for any persistence id.
Fail next delete from storage attempt with cause exception for any persistence id.
Attributes
- Inherited from:
- CommonTestKitOps (hidden)
- Source
- PersistenceTestKit.scala
Fail next n delete from storage attempts with default exception for particular persistence id.
Fail next n delete from storage attempts with default exception for particular persistence id.
Attributes
- Inherited from:
- CommonTestKitOps (hidden)
- Source
- PersistenceTestKit.scala
Fail next n delete from storage attempts with default exception for any persistence id.
Fail next n delete from storage attempts with default exception for any persistence id.
Attributes
- Inherited from:
- CommonTestKitOps (hidden)
- Source
- PersistenceTestKit.scala
Fail n following journal operations regardless of their type. Fails operations with the cause exception.
Fail n following journal operations regardless of their type. Fails operations with the cause exception.
Attributes
- Inherited from:
- PolicyOpsTestKit (hidden)
- Source
- TestOps.scala
Fail n following journal operations regardless of their type. Fails operations with default ExpectedFailure exception.
Fail n following journal operations regardless of their type. Fails operations with default ExpectedFailure exception.
Attributes
- Inherited from:
- PolicyOpsTestKit (hidden)
- Source
- TestOps.scala
Fail n following journal operations depending on the condition cond. Failure triggers, when cond returns true. Fails operations with the cause exception.
Fail n following journal operations depending on the condition cond. Failure triggers, when cond returns true. Fails operations with the cause exception.
Attributes
- Inherited from:
- PolicyOpsTestKit (hidden)
- Source
- TestOps.scala
Fail n following journal operations depending on the condition cond. Failure triggers, when cond returns true. Fails operations with default ExpectedFailure exception.
Fail n following journal operations depending on the condition cond. Failure triggers, when cond returns true. Fails operations with default ExpectedFailure exception.
Attributes
- Inherited from:
- PolicyOpsTestKit (hidden)
- Source
- TestOps.scala
Fail next n write operations with default exception for any persistence id.
Fail next n write operations with default exception for any persistence id.
Attributes
- Inherited from:
- CommonTestKitOps (hidden)
- Source
- PersistenceTestKit.scala
Fail next n write operations for particular persistence id.
Fail next n write operations for particular persistence id.
Attributes
- Inherited from:
- CommonTestKitOps (hidden)
- Source
- PersistenceTestKit.scala
Fail next n read from storage (recovery) attempts with default exception for particular persistence id.
Fail next n read from storage (recovery) attempts with default exception for particular persistence id.
Attributes
- Inherited from:
- CommonTestKitOps (hidden)
- Source
- PersistenceTestKit.scala
Fail next n read from storage (recovery) attempts with default exception for any persistence id.
Fail next n read from storage (recovery) attempts with default exception for any persistence id.
Attributes
- Inherited from:
- CommonTestKitOps (hidden)
- Source
- PersistenceTestKit.scala
Fail next write operation with default exception for any persistence id.
Fail next write operation with default exception for any persistence id.
Attributes
- Inherited from:
- CommonTestKitOps (hidden)
- Source
- PersistenceTestKit.scala
Fail next write operation with cause exception for any persistence id.
Fail next write operation with cause exception for any persistence id.
Attributes
- Inherited from:
- CommonTestKitOps (hidden)
- Source
- PersistenceTestKit.scala
Fail next write operation with default exception for particular persistence id.
Fail next write operation with default exception for particular persistence id.
Attributes
- Inherited from:
- CommonTestKitOps (hidden)
- Source
- PersistenceTestKit.scala
Fail next write operation with cause exception for particular persistence id.
Fail next write operation with cause exception for particular persistence id.
Attributes
- Inherited from:
- CommonTestKitOps (hidden)
- Source
- PersistenceTestKit.scala
Fail next read from storage (recovery) attempt with default exception for any persistence id.
Fail next read from storage (recovery) attempt with default exception for any persistence id.
Attributes
- Inherited from:
- CommonTestKitOps (hidden)
- Source
- PersistenceTestKit.scala
Fail next read from storage (recovery) attempt with cause exception for particular persistence id.
Fail next read from storage (recovery) attempt with cause exception for particular persistence id.
Attributes
- Inherited from:
- CommonTestKitOps (hidden)
- Source
- PersistenceTestKit.scala
Fail next read from storage (recovery) attempt with default exception for any persistence id.
Fail next read from storage (recovery) attempt with default exception for any persistence id.
Attributes
- Inherited from:
- CommonTestKitOps (hidden)
- Source
- PersistenceTestKit.scala
Fail next read from storage (recovery) attempt with cause exception for any persistence id.
Fail next read from storage (recovery) attempt with cause exception for any persistence id.
Attributes
- Inherited from:
- CommonTestKitOps (hidden)
- Source
- PersistenceTestKit.scala
Receive for max time next n events/snapshots that have been persisted in the storage.
Receive for max time next n events/snapshots that have been persisted in the storage.
Attributes
- Inherited from:
- ExpectOps (hidden)
- Source
- TestOps.scala
Receive next n events/snapshots that have been persisted in the storage.
Receive next n events/snapshots that have been persisted in the storage.
Attributes
- Inherited from:
- ExpectOps (hidden)
- Source
- TestOps.scala
Receive next n events/snapshots that have been persisted in the storage.
Receive next n events/snapshots that have been persisted in the storage.
Attributes
- Inherited from:
- ExpectOps (hidden)
- Source
- TestOps.scala
Receive for max time next n events/snapshots that have been persisted in the storage.
Receive for max time next n events/snapshots that have been persisted in the storage.
Attributes
- Inherited from:
- ExpectOps (hidden)
- Source
- TestOps.scala
Returns default policy if it was changed by PolicyOpsTestKit.this.withPolicy().
Returns default policy if it was changed by PolicyOpsTestKit.this.withPolicy().
Attributes
- Inherited from:
- PolicyOpsTestKit (hidden)
- Source
- TestOps.scala
Set new processing policy for journal operations. NOTE! Overrides previously invoked failNext... or rejectNext...
Set new processing policy for journal operations. NOTE! Overrides previously invoked failNext... or rejectNext...
Attributes
- Inherited from:
- PolicyOpsTestKit (hidden)
- Source
- TestOps.scala