TestAppMetadata class final

Reads the app metadata required by the test host.

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

packageInfo(String appDir) → Map<String, String>
setVersionOverrideForTest(String? version) → void
Overrides only the reported application version for host-driven tests. This lets an application test its YAML's version-gated behavior even when the test host wrapper has an unrelated package version.