Unity Scopes API
|
Mock for unity::scopes::SearchReply class. More...
#include <unity/scopes/testing/MockSearchReply.h>
Additional Inherited Members | |
![]() | |
virtual void | register_departments (Department::SCPtr const &parent)=0 |
Register departments for the current search reply and provide the current department. More... | |
virtual Category::SCPtr | register_category (std::string const &id, std::string const &title, std::string const &icon, CategoryRenderer const &renderer_template=CategoryRenderer())=0 |
Register new category and send it to the source of the query. More... | |
virtual void | register_category (Category::SCPtr category)=0 |
Register an existing category instance and send it to the source of the query. More... | |
virtual Category::SCPtr | lookup_category (std::string const &id)=0 |
Returns a previously registered category. More... | |
virtual bool | push (CategorisedResult const &result)=0 |
Sends a single result to the source of a query. More... | |
virtual bool | push (experimental::Annotation const &annotation)=0 |
Push an annotation. More... | |
virtual bool | push (Filters const &filters, FilterState const &filter_state)=0 |
Sends all filters and their state to the source of a query. More... | |
virtual | ~SearchReply () |
Destroys a Reply. More... | |
virtual Category::SCPtr | register_category (std::string const &id, std::string const &title, std::string const &icon, CannedQuery const &query, CategoryRenderer const &renderer_template=CategoryRenderer())=0 |
Register new category and send it to the source of the query. More... | |
virtual void | push_surfacing_results_from_cache ()=0 |
Push the results that were produced by the most recent surfacing query. More... | |
![]() | |
virtual void | finished ()=0 |
Informs the source of a query that the query results are complete. More... | |
virtual void | error (std::exception_ptr ex)=0 |
Informs the source of a query that the query was terminated due to an error. More... | |
virtual void | info (OperationInfo const &op_info)=0 |
Informs the source of a query that additional information regarding the reply is available. More... | |
virtual | ~Reply () |
Destroys a Reply. More... | |
![]() | |
virtual std::string | endpoint ()=0 |
Returns the endpoint this proxy connects to. More... | |
virtual std::string | identity ()=0 |
Returns the identity of the target object of this proxy. More... | |
virtual std::string | target_category ()=0 |
Returns the category of the target object of this proxy. More... | |
virtual int64_t | timeout ()=0 |
Returns the timeout in milliseconds if this proxy is a twoway proxy. More... | |
virtual std::string | to_string ()=0 |
Converts a proxy into its string representation. More... | |
Mock for unity::scopes::SearchReply class.