Client class
Talks to the Tracera Autotest API.
Constructors
- Client(Config config)
-
Builds an API client for the resolved
config.
Properties
- config → Config
-
The resolved
TRACERA_*configuration.final - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
createRun(
) → Future< int> - Opens an adapter-owned test run and returns its id.
-
ensureCompatible(
AppConfig? app) → void -
Refuses servers below
minTraceraVersionor missing the Autotest capabilities the adapter depends on. -
finishRun(
int testRunId) → Future< void> - Closes an adapter-owned (or last-peer) test run.
-
getAppConfig(
) → Future< AppConfig> -
Fetches and caches
/app-config. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
postResultsBatch(
int testRunId, List< BatchItem> items) → Future<BatchResponse> -
Uploads a batch of
TestResultrows. -
runUrl(
int testRunId) → String - The customer-facing link to a test run.
-
toString(
) → String -
A string representation of this object.
inherited
-
uploadBlob(
BlobFile file) → Future< BlobUploadResult> - Uploads a single attachment with retries.
-
uploadBlobs(
List< BlobFile> files) → Future<List< BlobUploadResult?> > - Uploads attachments with bounded concurrency.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited