BifrostTestRuntime class final

Installs and resets only Bifrost's process-wide runtime test seams.

This is deliberately not a service container. It owns no storage, connectivity, notifier, analytics, entitlement, paywall, or attribution implementations, and it never changes bifrostServiceLocator. The app's production composition root remains the one path that registers services.

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

install({Object? responseFactory(Request request)?, MockResponder? responder, Map<String, Object> storageValues = const <String, Object>{}, DateTime clock()?, BifrostNotificationRecorder? notifications, BifrostInternalDiagnosticRecorder? diagnostics, bool dispatchNotifications = false, FutureOr<void> initializeApplication()?}) → void
Declares the per-test lifecycle once in flutter_test_config.dart.
reset({Object? responseFactory(Request request)?, MockResponder? responder, Map<String, Object> storageValues = const <String, Object>{}, DateTime clock()?, BifrostNotificationRecorder? notifications, BifrostInternalDiagnosticRecorder? diagnostics, bool dispatchNotifications = false}) → void
Restores Bifrost's runtime seams atomically for one test.