![]() |
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"
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().
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().
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().
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().
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 84 of file main.cpp.
References testBaseEraseFirstChars(), testBaseEraseFirstLastChars(), and testBaseEraseLastChars().
void testBaseEraseFirstChars | ( | ) |
Test string erase first chars.
Definition at line 60 of file main.cpp.
References checkEraseFirstChars(), and phoenix_assert.
Referenced by main().
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().
void testBaseEraseLastChars | ( | ) |
Test string erase last chars.
Definition at line 68 of file main.cpp.
References checkEraseLastChars(), and phoenix_assert.
Referenced by main().