TestEntryGenerator class final
Produces the source for runner-owned entry files without touching disk.
TestAppPatcher remains responsible for deciding whether a file is owned, backing it up, writing it, and restoring it after the run.
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
-
adaptIntegrationEntry(
String source, String packageName) → String - Adapts an entry or returns the default integration entry when it has no supported test-runner entry point.
-
generate(
{required ExecutionMode mode, required String packageName, String? widgetEntrySource}) → String -
packageNameFromPubspec(
String content) → String - Reads a package name from the pubspec text already loaded by the patcher.