Comprehensive hermetic testing suite and mock isolation registry for Graft.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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
Static Methods
-
flushPersistence(
) → Future< void> -
- Frame-0 Dry Persistence Testing Synchronously flushes all pending debounced disk writes for immediate verification.
-
override<
T extends Object> (T mockInstance) → void -
- Dependency & Controller Overrides Overrides an ambient dependency
Tforuse<T>(). - Dependency & Controller Overrides Overrides an ambient dependency
-
overrideController<
G extends Graft< (GraftState> >G mockController) → void -
Overrides a controller
Gforcontext.use<G>()andcontext.create<G>(). -
recordChanges(
Graft< GraftState> graft, void action()) → List<GraftChange> -
- Telemetry & Change Spy Records and returns all GraftChange events triggered by
action. - Telemetry & Change Spy Records and returns all GraftChange events triggered by
-
resetAll(
) → void -
- Hermetic Resets Wipes all DI scopes, root bindings, route ambient pools, persistence caches, and observers.
-
resetDI(
) → void - Resets all DI scopes and root singletons.
-
resetPersistence(
) → void - Resets ambient persistence coordinator and L1 RAM caches.
-
resetRoutes(
) → void - Resets the ambient route registry and ownership pool.
-
runWithOverrides<
R> (Map< Type, Object?> overrides, R body()) → R -
Executes
bodyinside a scoped Zone whereoverridesare active.