class StubAttachmentProvider

Defined at line 23 of file ../../src/developer/forensics/feedback_data/tests/stub_attachment_provider.h

Public Methods

void StubAttachmentProvider (std::string timeout_value)

Defined at line 13 of file ../../src/developer/forensics/feedback_data/tests/stub_attachment_provider.cc

fpromise::promise<feedback::AttachmentValue> Get (uint64_t ticket)

Returns a promise to the data and allows collection to be terminated early with |ticket|.

Defined at line 16 of file ../../src/developer/forensics/feedback_data/tests/stub_attachment_provider.cc

void CompleteSuccessfully (std::string success_value)

Completes *all* data collection promises successfully using a value of |success_value|, if it

hasn't already completed.

Defined at line 50 of file ../../src/developer/forensics/feedback_data/tests/stub_attachment_provider.cc

void ForceCompletion (uint64_t ticket, Error error)

Completes the data collection promise associated with |ticket| early, if it hasn't

already completed.

Defined at line 56 of file ../../src/developer/forensics/feedback_data/tests/stub_attachment_provider.cc