AppDependencyConfigurator class

Prepares app-owned dependencies and asset declarations for a test run.

This keeps pubspec parsing and rewriting out of TestAppPatcher, whose responsibility is to coordinate temporary file mutations and restoration.

Constructors

AppDependencyConfigurator({required String appDir, String? testsDirRelative})

Properties

appDir → String
final
hashCode → int
The hash code for this object.
no setterinherited
hasTestsOnDisk → bool
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
testsDirRelative → String?
no setter

Methods

activate(String content, {required ExecutionMode mode}) → String
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

assetLineFor(String testsDirRelative) → String