![]() |
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_function.h"
Include dependency graph for main.cpp:Go to the source code of this file.
Functions | |
| bool | checkEraseFirstChars (const std::string &testName, const std::string &strExpr, const std::string &strReference) |
| Check the erase first chars. More... | |
| bool | checkEraseFirstLastChars (const std::string &testName, const std::string &strExpr, const std::string &strReference) |
| Check the erase first last chars. More... | |
| bool | checkEraseFirstLastCharsVector (const std::string &testName, const std::string &strExpr, const std::string &strReference) |
| Check the erase first last chars. More... | |
| bool | checkEraseLastChars (const std::string &testName, const std::string &strExpr, const std::string &strReference) |
| Check the erase last chars. More... | |
| int | main (int argc, char **argv) |
| void | testBaseEraseFirstChars () |
| Test string erase first chars. More... | |
| void | testBaseEraseFirstLastChars () |
| Test string erase first last chars. More... | |
| void | testBaseEraseLastChars () |
| Test string erase last chars. More... | |
| bool checkEraseFirstChars | ( | const std::string & | testName, |
| const std::string & | strExpr, | ||
| const std::string & | strReference | ||
| ) |
Check the erase first chars.
| testName | : name of the test |
| strExpr | : string to be parsed to get a MathExpr |
| strReference | : reference string |
Definition at line 19 of file main.cpp.
References eraseFirstCharsInStr(), and phoenix_check().
Referenced by testBaseEraseFirstChars().
Here is the call graph for this function:
Here is the caller graph for this function:| bool checkEraseFirstLastChars | ( | const std::string & | testName, |
| const std::string & | strExpr, | ||
| const std::string & | strReference | ||
| ) |
Check the erase first last chars.
| testName | : name of the test |
| strExpr | : string to be parsed to get a MathExpr |
| strReference | : reference string |
Definition at line 41 of file main.cpp.
References eraseFirstLastChars(), and phoenix_check().
Referenced by testBaseEraseFirstLastChars().
Here is the call graph for this function:
Here is the caller graph for this function:| bool checkEraseFirstLastCharsVector | ( | const std::string & | testName, |
| const std::string & | strExpr, | ||
| const std::string & | strReference | ||
| ) |
Check the erase first last chars.
| testName | : name of the test |
| strExpr | : string to be parsed to get a MathExpr |
| strReference | : reference string |
Definition at line 52 of file main.cpp.
References eraseFirstLastChars(), and phoenix_check().
Referenced by testBaseEraseFirstLastChars().
Here is the call graph for this function:
Here is the caller graph for this function:| bool checkEraseLastChars | ( | const std::string & | testName, |
| const std::string & | strExpr, | ||
| const std::string & | strReference | ||
| ) |
Check the erase last chars.
| testName | : name of the test |
| strExpr | : string to be parsed to get a MathExpr |
| strReference | : reference string |
Definition at line 30 of file main.cpp.
References eraseLastCharsInStr(), and phoenix_check().
Referenced by testBaseEraseLastChars().
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 84 of file main.cpp.
References testBaseEraseFirstChars(), testBaseEraseFirstLastChars(), and testBaseEraseLastChars().
Here is the call graph for this function:| void testBaseEraseFirstChars | ( | ) |
Test string erase first chars.
Definition at line 60 of file main.cpp.
References checkEraseFirstChars(), and phoenix_assert.
Referenced by main().
Here is the call graph for this function:
Here is the caller graph for this function:| void testBaseEraseFirstLastChars | ( | ) |
Test string erase first last chars.
Definition at line 76 of file main.cpp.
References checkEraseFirstLastChars(), checkEraseFirstLastCharsVector(), and phoenix_assert.
Referenced by main().
Here is the call graph for this function:
Here is the caller graph for this function:| void testBaseEraseLastChars | ( | ) |
Test string erase last chars.
Definition at line 68 of file main.cpp.
References checkEraseLastChars(), and phoenix_assert.
Referenced by main().
Here is the call graph for this function:
Here is the caller graph for this function: