Test parameters descriptor. More...
#include <hayai_test_descriptor.hpp>
Public Member Functions | |
const std::vector < TestParameterDescriptor > & | Parameters () const |
TestParametersDescriptor () | |
TestParametersDescriptor (const char *rawDeclarations, const char *rawValues) | |
Private Types | |
enum | QuotingState { Unquoted, SingleQuoted, DoubleQuoted } |
Quoting state. More... | |
Private Member Functions | |
TestParameterDescriptor | ParseDescriptor (const std::string &raw) |
Parse parameter declaration. | |
Static Private Member Functions | |
static std::vector< std::string > | ParseCommaSeparated (const char *separated) |
Parse comma separated parentherized value. | |
static std::string | TrimmedString (const char *start, const char *end) |
Trimmed string. | |
Private Attributes | |
std::vector < TestParameterDescriptor > | _parameters |
Test parameters descriptor.
Definition at line 39 of file hayai_test_descriptor.hpp.
enum hayai::TestParametersDescriptor::QuotingState [private] |
Quoting state.
Definition at line 43 of file hayai_test_descriptor.hpp.
Definition at line 259 of file hayai_test_descriptor.hpp.
hayai::TestParametersDescriptor::TestParametersDescriptor | ( | const char * | rawDeclarations, |
const char * | rawValues | ||
) | [inline] |
Definition at line 265 of file hayai_test_descriptor.hpp.
const std::vector<TestParameterDescriptor>& hayai::TestParametersDescriptor::Parameters | ( | ) | const [inline] |
Definition at line 323 of file hayai_test_descriptor.hpp.
static std::vector<std::string> hayai::TestParametersDescriptor::ParseCommaSeparated | ( | const char * | separated | ) | [inline, static, private] |
Parse comma separated parentherized value.
separated | Separated values as "(..[, ..])". |
Definition at line 104 of file hayai_test_descriptor.hpp.
TestParameterDescriptor hayai::TestParametersDescriptor::ParseDescriptor | ( | const std::string & | raw | ) | [inline, private] |
Parse parameter declaration.
raw | Raw declaration. |
Definition at line 179 of file hayai_test_descriptor.hpp.
static std::string hayai::TestParametersDescriptor::TrimmedString | ( | const char * | start, |
const char * | end | ||
) | [inline, static, private] |
Trimmed string.
start | Start character. |
end | Character one position beyond end. |
Definition at line 62 of file hayai_test_descriptor.hpp.
std::vector<TestParameterDescriptor> hayai::TestParametersDescriptor::_parameters [private] |
Definition at line 328 of file hayai_test_descriptor.hpp.