Asterisk - The Open Source Telephony Project GIT-master-7e7a603
Data Fields
ast_test_info Struct Reference

Contains all the initialization information required to store a new test definition. More...

#include <test.h>

Data Fields

const char * category
 test category More...
 
const char * description
 More detailed description of test. More...
 
unsigned int explicit_only
 Only run if explicitly named. More...
 
const char * name
 name of test, unique to category More...
 
const char * summary
 Short summary of test. More...
 

Detailed Description

Contains all the initialization information required to store a new test definition.

Definition at line 235 of file test.h.

Field Documentation

◆ category

const char* category

test category

Tests are categorized in a directory tree style hierarchy. It is expected that this string have both a leading and trailing forward slash ('/').

Definition at line 245 of file test.h.

◆ description

const char* description

More detailed description of test.

Note
The description must not end with a newline.

Definition at line 257 of file test.h.

Referenced by Api::load(), ResourceApi::load(), Model::load(), Parameter::load(), and Property::load().

◆ explicit_only

unsigned int explicit_only

Only run if explicitly named.

Run this test only if it's explicitly named on the command line. Do NOT run it as part of an execute category or execute all command.

Definition at line 265 of file test.h.

◆ name

const char* name

name of test, unique to category

Definition at line 237 of file test.h.

Referenced by PathSegment::get_child(), Parameter::load(), Property::load(), and SwaggerType::load().

◆ summary

const char* summary

Short summary of test.

Note
The summary must not end with a newline.

Definition at line 251 of file test.h.


The documentation for this struct was generated from the following file: