![]() |
PhoenixMock
1.8.7
Tools to split/merge/print mock used in Phoenix
|
Go to the source code of this file.
Functions | |
bool | phoenix_check (const std::string &testName, const std::list< std::string > &listVal, const std::list< std::string > &listRef) |
Check two list of string. More... | |
bool | phoenix_check (const std::string &testName, const std::string &val, const std::string &reference) |
Check two string. More... | |
bool | phoenix_check (const std::string &testName, const std::vector< std::string > &listVal, const std::vector< std::string > &listRef) |
Check two vector of string. More... | |
template<typename T > | |
bool | phoenix_check (const std::string &testName, const T &val, const T &reference) |
Check two value. More... | |
bool | phoenix_check_fileContent (const std::string &testName, const std::string &fileName, const std::string &expectedContent) |
Check the content of a file. More... | |
bool phoenix_check | ( | const std::string & | testName, |
const std::list< std::string > & | listVal, | ||
const std::list< std::string > & | listRef | ||
) |
Check two list of string.
testName | : name of the current test |
listVal | : list of std::string to be checked |
listRef | : list of reference std::string |
Definition at line 49 of file phoenix_check.cpp.
References convertToString(), and phoenix_check().
bool phoenix_check | ( | const std::string & | testName, |
const std::string & | val, | ||
const std::string & | reference | ||
) |
Check two string.
testName | : name of the current test |
val | : std::string to be checked |
reference | : reference std::string |
Definition at line 17 of file phoenix_check.cpp.
References phoenix_isOk().
Referenced by checkEraseFirstChars(), checkEraseFirstLastChars(), checkEraseFirstLastCharsVector(), checkEraseLastChars(), checkOptionCompletion(), checkPhoenixCheck(), checkReplaceListStrInStr(), checkReplaceVectorStrInStr(), checkResultConvertToString(), checkResultFirstLower(), checkResultFirstUpper(), checkResultLower(), checkResultLowerUnderscore(), checkResultUpper(), checkString(), main(), phoenix_check(), phoenix_check_fileContent(), testCheckList(), testCheckVector(), testEscapeString(), testIsOk(), and testStringFilename().
bool phoenix_check | ( | const std::string & | testName, |
const std::vector< std::string > & | listVal, | ||
const std::vector< std::string > & | listRef | ||
) |
Check two vector of string.
testName | : name of the current test |
listVal | : list of std::string to be checked |
listRef | : list of reference std::string |
Definition at line 33 of file phoenix_check.cpp.
References convertToString(), and phoenix_check().
bool phoenix_check | ( | const std::string & | testName, |
const T & | val, | ||
const T & | reference | ||
) |
Check two value.
testName | : name of the current test |
val | : value to be checked |
reference | : reference value |
Definition at line 20 of file phoenix_check_impl.h.
References phoenix_isOk().
bool phoenix_check_fileContent | ( | const std::string & | testName, |
const std::string & | fileName, | ||
const std::string & | expectedContent | ||
) |
Check the content of a file.
testName | : name of the current test |
fileName | : name of the file to be checked |
expectedContent | : expected content of the file |
Definition at line 71 of file phoenix_check.cpp.
References getFileContent(), and phoenix_check().
Referenced by testCheckFileContent().