![]() |
PhoenixMock
1.8.7
Tools to split/merge/print mock used in Phoenix
|
#include "phoenix_assert.h"
#include "phoenix_check.h"
#include "print_string.h"
#include "Option.h"
Go to the source code of this file.
Functions | |
int | main (int argc, char **argv) |
void | printValueOfOpt (Option &opt) |
Print value of Option. More... | |
void | printValueOfOptConst (const Option &opt) |
Print value of Option. More... | |
void | testOption () |
Test the option type. More... | |
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 58 of file main.cpp.
References testOption().
void printValueOfOpt | ( | Option & | opt | ) |
Print value of Option.
opt | : Option to be printed |
Definition at line 29 of file main.cpp.
References Option::getDocString(), Option::getLongName(), Option::getShortName(), OptionValue::getValue(), Option::getValue(), Option::isAllowEmpty(), Option::isRequired(), and phoenix_print().
Referenced by testOption(), and testOptionValue().
void printValueOfOptConst | ( | const Option & | opt | ) |
Print value of Option.
opt | : Option to be printed |
Definition at line 17 of file main.cpp.
References Option::getDocString(), Option::getLongName(), Option::getShortName(), OptionValue::getValue(), Option::getValue(), Option::isAllowEmpty(), Option::isRequired(), and phoenix_print().
Referenced by testOption().
void testOption | ( | ) |
Test the option type.
Definition at line 39 of file main.cpp.
References printValueOfOpt(), printValueOfOptConst(), Option::setDocString(), Option::setIsAllowEmpty(), Option::setIsParsed(), Option::setIsRequired(), Option::setLongName(), Option::setShortName(), Option::setValue(), and OptionType::STRING.
Referenced by main().