TranscriptCase class final
A whole game, played move by move through the local kernel.
The one case kind that exercises the pieces together: the hooks, the guards,
the seeded streams, and the version chain. The TypeScript runner drives the
real commit() over the same file, so a transcript that ends somewhere else
here is exactly the divergence an imported game would hit on the server.
- Inheritance
-
- Object
- TwinFixtureCase
- TranscriptCase
Constructors
-
TranscriptCase({required String name, required Map<
String, dynamic> config, required int playerCount, required String seed, required List<TranscriptTransition> transitions, required int expectedVersion, required String expectedStatus, required ExpectedEnvelope expected}) -
const
Properties
-
config
→ Map<
String, dynamic> -
final
- expected → ExpectedEnvelope
-
final
- expectedStatus → String
-
activeorfinished, as the fixture recorded it.final - expectedVersion → int
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
The case's
name, used as the test name.finalinherited - playerCount → int
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- seed → String
-
final
-
transitions
→ List<
TranscriptTransition> -
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited