Common functions to be used by testing translation.
More...
#include <test_tools_ext.h>
|
static bool | IsTest (const char *name_space, const char *class_name, const char *method_name) |
| Checks if test method exists. More...
|
|
static bool | IsTest (const char *class_name, const char *method_name) |
| Checks if test method exists. More...
|
|
static bool | GetNamespace (const char *class_name, const char *method_name, std::string &name_space) |
| Retrieves namespace of specified test. More...
|
|
static void | RegisterTest (const char *name_space, const char *class_name, const char *method_name) |
| Adds test information to registry. More...
|
|
Common functions to be used by testing translation.
◆ GetNamespace()
static bool System::TestToolsExt::GetNamespace |
( |
const char * |
class_name, |
|
|
const char * |
method_name, |
|
|
std::string & |
name_space |
|
) |
| |
|
inlinestatic |
Retrieves namespace of specified test.
- Parameters
-
class_name | Class to look for. |
method_name | Method to look for. |
name_space | Variable to put namespace name into, if found. |
- Returns
- True if test method is found, false otherwise.
◆ IsTest() [1/2]
static bool System::TestToolsExt::IsTest |
( |
const char * |
class_name, |
|
|
const char * |
method_name |
|
) |
| |
|
inlinestatic |
Checks if test method exists.
- Parameters
-
class_name | Class to look for. |
method_name | Method to look for. |
- Returns
- True if test method is registered, false otherwise.
◆ IsTest() [2/2]
static bool System::TestToolsExt::IsTest |
( |
const char * |
name_space, |
|
|
const char * |
class_name, |
|
|
const char * |
method_name |
|
) |
| |
|
inlinestatic |
Checks if test method exists.
- Parameters
-
name_space | Namespace to look for. |
class_name | Class to look for. |
method_name | Method to look for. |
- Returns
- True if test method is registered, false otherwise.
◆ RegisterTest()
static void System::TestToolsExt::RegisterTest |
( |
const char * |
name_space, |
|
|
const char * |
class_name, |
|
|
const char * |
method_name |
|
) |
| |
|
inlinestatic |
Adds test information to registry.
- Parameters
-
name_space | Namespace name. |
class_name | Class name. |
method_name | Method name. |