19 #ifndef UNITY_SCOPES_TESTING_CATEGORY_H
20 #define UNITY_SCOPES_TESTING_CATEGORY_H
22 #include <unity/scopes/Category.h>
29 class CategoryRenderer;
52 unity::scopes::
Category(id, title, icon, renderer_template)
std::string icon() const
Get icon of this Category.
A category renderer template in JSON format.
Definition: CategoryRenderer.h:84
Category(VariantMap const &variant_map)
Deserializes category from a variant data.
Definition: Category.h:61
std::string title() const
Get title of this Category.
A set of related results returned by a scope and displayed within a single pane in the Unity dash...
Definition: Category.h:48
CategoryRenderer const & renderer_template() const
Get renderer template of this Category.
Implementation of Category class for testing.
Definition: Category.h:40
std::map< std::string, Variant > VariantMap
A dictionary of (string, Variant) pairs.
Definition: Variant.h:39
Category(std::string const &id, std::string const &title, std::string const &icon, CategoryRenderer const &renderer_template)
Creates category instance.
Definition: Category.h:51