![]() |
PhoenixMock
1.8.7
Tools to split/merge/print mock used in Phoenix
|
#include <iostream>#include "phoenix_assert.h"#include "phoenix_check.h"#include "string_lower_upper.h"
Include dependency graph for main.cpp:Go to the source code of this file.
Functions | |
| bool | checkResultFirstLower (const std::string &testName, const std::string &strValue, const std::string &strReference) |
| Check string lower expression. More... | |
| bool | checkResultFirstUpper (const std::string &testName, const std::string &strValue, const std::string &strReference) |
| Check string upper expression. More... | |
| bool | checkResultLower (const std::string &testName, const std::string &strValue, const std::string &strReference) |
| Check string lower expression. More... | |
| bool | checkResultLowerUnderscore (const std::string &testName, const std::string &strValue, const std::string &strReference) |
| Check string lower expression. More... | |
| bool | checkResultUpper (const std::string &testName, const std::string &strValue, const std::string &strReference) |
| Check string upper expression. More... | |
| int | main (int argc, char **argv) |
| bool | testCharsType (const std::string &tabChar, bool isNumber, bool isLetter, bool isLowerCase, bool isUpperCase, bool isDot, bool isStar) |
| Check char type. More... | |
| void | testIsListStrNumber () |
| Test the is lower/upper case. More... | |
| void | testIsLowerUpper () |
| Test the is lower/upper case. More... | |
| void | testIsType () |
| Test the is lower/upper case. More... | |
| void | testStringLowerUpper () |
| Test lower/upper to string. More... | |
| bool checkResultFirstLower | ( | const std::string & | testName, |
| const std::string & | strValue, | ||
| const std::string & | strReference | ||
| ) |
Check string lower expression.
| testName | : name of the test |
| strValue | : string to be tested |
| strReference | : reference string |
Definition at line 42 of file main.cpp.
References firstToLower(), and phoenix_check().
Referenced by testStringLowerUpper().
Here is the call graph for this function:
Here is the caller graph for this function:| bool checkResultFirstUpper | ( | const std::string & | testName, |
| const std::string & | strValue, | ||
| const std::string & | strReference | ||
| ) |
Check string upper expression.
| testName | : name of the test |
| strValue | : string to be tested |
| strReference | : reference string |
Definition at line 53 of file main.cpp.
References firstToUpper(), and phoenix_check().
Referenced by testStringLowerUpper().
Here is the call graph for this function:
Here is the caller graph for this function:| bool checkResultLower | ( | const std::string & | testName, |
| const std::string & | strValue, | ||
| const std::string & | strReference | ||
| ) |
Check string lower expression.
| testName | : name of the test |
| strValue | : string to be tested |
| strReference | : reference string |
Definition at line 20 of file main.cpp.
References phoenix_check(), and strToLower().
Referenced by testStringLowerUpper().
Here is the call graph for this function:
Here is the caller graph for this function:| bool checkResultLowerUnderscore | ( | const std::string & | testName, |
| const std::string & | strValue, | ||
| const std::string & | strReference | ||
| ) |
Check string lower expression.
| testName | : name of the test |
| strValue | : string to be tested |
| strReference | : reference string |
Definition at line 64 of file main.cpp.
References phoenix_check(), and strToLowerUnderscore().
Referenced by testStringLowerUpper().
Here is the call graph for this function:
Here is the caller graph for this function:| bool checkResultUpper | ( | const std::string & | testName, |
| const std::string & | strValue, | ||
| const std::string & | strReference | ||
| ) |
Check string upper expression.
| testName | : name of the test |
| strValue | : string to be tested |
| strReference | : reference string |
Definition at line 31 of file main.cpp.
References phoenix_check(), and strToUpper().
Referenced by testStringLowerUpper().
Here is the call graph for this function:
Here is the caller graph for this function:| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 162 of file main.cpp.
References testIsListStrNumber(), testIsLowerUpper(), testIsType(), and testStringLowerUpper().
Here is the call graph for this function:| bool testCharsType | ( | const std::string & | tabChar, |
| bool | isNumber, | ||
| bool | isLetter, | ||
| bool | isLowerCase, | ||
| bool | isUpperCase, | ||
| bool | isDot, | ||
| bool | isStar | ||
| ) |
Check char type.
| tabChar | : table of characters with the same results |
| isNumber | : true if the tabChar is composed of numbers |
| isLetter | : true if the tabChar is composed of letters |
| isLowerCase | : true if the tabChar is composed of lower cases |
| isUpperCase | : true if the tabChar is composed of upper cases |
| isDot | : true if the tabChar is composed of dot |
| isStar | : true if the tabChar is composed of star |
Definition at line 104 of file main.cpp.
References isCharLetter(), isCharLetterOrStar(), isCharLowerCase(), isCharNumber(), isCharNumberOrLetter(), isCharNumberOrLetterOrDot(), isCharNumberOrLetterOrStar(), isCharNumberOrStar(), isCharUpperCase(), and phoenix_functionOk().
Referenced by testIsType().
Here is the call graph for this function:
Here is the caller graph for this function:| void testIsListStrNumber | ( | ) |
Test the is lower/upper case.
Definition at line 151 of file main.cpp.
References isListStrNumber(), and phoenix_assert.
Referenced by main().
Here is the call graph for this function:
Here is the caller graph for this function:| void testIsLowerUpper | ( | ) |
Test the is lower/upper case.
Definition at line 89 of file main.cpp.
References isStrLowerCase(), isStrUpperCase(), and phoenix_assert.
Referenced by main().
Here is the call graph for this function:
Here is the caller graph for this function:| void testIsType | ( | ) |
Test the is lower/upper case.
Definition at line 127 of file main.cpp.
References isCharNumberOrDot(), isStrNumber(), isStrNumberDotMinusPlusE(), isStrNumberOrDot(), phoenix_assert, and testCharsType().
Referenced by main().
Here is the call graph for this function:
Here is the caller graph for this function:| void testStringLowerUpper | ( | ) |
Test lower/upper to string.
Definition at line 70 of file main.cpp.
References checkResultFirstLower(), checkResultFirstUpper(), checkResultLower(), checkResultLowerUnderscore(), checkResultUpper(), and phoenix_assert.
Referenced by main().
Here is the call graph for this function:
Here is the caller graph for this function: