Implementation of Category class for testing.
More...
#include <unity/scopes/testing/Category.h>
Implementation of Category class for testing.
This class inherits from the unity::scopes::Category and provides a public constructor that allows for creating categories with no need to register them via a real instance of unity::scopes::SearchReply.
unity::scopes::testing::Category::Category |
( |
std::string const & |
id, |
|
|
std::string const & |
title, |
|
|
std::string const & |
icon, |
|
|
CategoryRenderer const & |
renderer_template |
|
) |
| |
|
inline |
Creates category instance.
- Parameters
-
id | The identifier of this category |
title | The title of this category |
icon | The icon of this category |
renderer_template | The renderer template |
unity::scopes::testing::Category::Category |
( |
VariantMap const & |
variant_map | ) |
|
|
inline |
Deserializes category from a variant data.
- Parameters
-
variant_map | Serialized category |
The documentation for this class was generated from the following file: