Subject
An external target under test, in a state of its own: a fresh one per case. It performs effect slot (0 or 1) on a part of the target of its own - a file each, a store key each - through the target's own guarded code path, as a tool or hook of the harness would.
Attributes
- Source
- ReplayContract.scala
- Graph
-
- Supertypes
- Known subtypes
-
class EditSubject
Members list
Value members
Abstract methods
What observe shows before the effect.
Changes slot slot's part of the target as another thread would.
Changes slot slot's part of the target as another thread would.
Attributes
- Source
- ReplayContract.scala
Names the target in the suite's output.
The observable state of slot slot's part of the target.
What observe shows once the effect has been applied exactly once.
What observe shows once the effect has been applied exactly once.
Attributes
- Source
- ReplayContract.scala
Performs effect slot under context through the target's guarded code path - building its key with context.effectKey - and returns its outcome as JSON, or the guard's Left.
Performs effect slot under context through the target's guarded code path - building its key with context.effectKey - and returns its outcome as JSON, or the guard's Left.
Attributes
- Source
- ReplayContract.scala
The support class this subject exercises.
Concrete methods
How many applied keys a Transactional target still holds; 0 for other targets.
How many applied keys a Transactional target still holds; 0 for other targets.
Attributes
- Source
- ReplayContract.scala
Whether the effect may run again (the tool's ToolHints.idempotent); only Unverifiable reads it.
Whether the effect may run again (the tool's ToolHints.idempotent); only Unverifiable reads it.
Attributes
- Source
- ReplayContract.scala
