FakeFileSettings class final

The settings of the file handlers of the fake (brief M4-22 Scope): the part plan, the mode, the scan, the transcription and the faults "abort after part n", "being checked" and "blocked".

Constructors

FakeFileSettings()

Properties

abortAfterParts ↔ int?
The fault "abort after part n": once abortAfterParts parts are stored, the next part answers 503 unavailable and nothing is stored; then the fault is used up.
getter/setter pair
audioDurationMs ↔ int
duration_ms the fake reports for an audio/mp4 voice file (the server reads mvhd).
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
holdScan ↔ bool
Whether a completed upload stays "being checked" (pending) until FilesWorld.finishScan (file_not_ready, 12 2); otherwise the scan ends at the completion with scanResult.
getter/setter pair
mode ↔ String
The mode of new sessions, direct or presigned (12 3.2, 3.3).
getter/setter pair
partBytes ↔ int
file.upload_part_bytes (12 3.1); tests lower it so a small file has several parts.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scanResult ↔ String
The scan_status a scan ends with: clean, skipped, infected (blocked) or error.
getter/setter pair
transcriptionMode ↔ String
voice.transcription_mode (12 8.2): service accepts requestTranscription, agent and off answer 409 conflict with reason transcription_unavailable.
getter/setter pair
wrongDigest → Set<String>
The files whose downloads carry a wrong Repr-Digest (a damaged transfer).
final

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