EditSubject
A ReplayContract.Subject over a file backend: slot n is the file /replay-<n>.txt, seeded x, and the effect is edit("x", "xy"), which shows a second application (xyy). seed writes a slot's file straight to the target, as setup and as another writer; observe reads it from the target; applied counts a transactional target's applied keys.
Attributes
- Source
- FileBackendContract.scala
- Graph
-
- Supertypes
Members list
Value members
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
- Definition Classes
- Source
- FileBackendContract.scala
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
- FileBackendContract.scala
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
- FileBackendContract.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
- FileBackendContract.scala
Inherited methods
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
- Inherited from:
- Subject
- Source
- ReplayContract.scala
Concrete fields
Names the target in the suite's output.
The support class this subject exercises.
