![]() |
PhoenixInkscape
2.0.0
Generate multiple png files with svg inkscape files
|
Go to the source code of this file.
Functions | |
void | checkCharToString () |
Check phoenix_charToString. More... | |
void | checkCount () |
Check count. More... | |
void | checkEraseChar () |
Check erase char. More... | |
bool | checkEraseFirstChars (const std::string &testName, const std::string &strExpr, const std::string &strReference) |
Check the erase first chars. More... | |
bool | checkEraseFirstLastChars (const PString &testName, const PString &strExpr, const PString &strReference) |
Check the erase first last chars. More... | |
bool | checkEraseLastChars (const PString &testName, const PString &strExpr, const PString &strReference) |
Check the erase last chars. More... | |
void | checkFind () |
Check the find method. More... | |
void | checkFormat () |
Check format. More... | |
void | checkGetCommonBegining () |
Check the getCommonBegining. More... | |
void | checkIsSameBegining () |
Check isSameBegining. More... | |
void | checkPStringLowerUpper () |
Test lower/upper to string. More... | |
void | checkPStringReplace () |
Check PString Replace. More... | |
void | checkSplitMerge () |
Check the split and merge. More... | |
bool | checkString (const std::string &testName, const std::string &strValue, const std::string &strReference) |
Check string lower expression. More... | |
void | checkValueToStringConvertion () |
Test value to string and string to value. More... | |
int | main (int argc, char **argv) |
void | testEscapeString () |
Test the phoenix_escapeStr function. More... | |
void | testPString () |
Test the PString. More... | |
void | testPStringConversion () |
Test the PString conversion. More... | |
void checkCharToString | ( | ) |
Check phoenix_charToString.
Definition at line 171 of file main.cpp.
References phoenix_assert, and phoenix_charToString().
Referenced by main().
void checkCount | ( | ) |
Check count.
Definition at line 158 of file main.cpp.
References phoenix_assert.
Referenced by main().
void checkEraseChar | ( | ) |
Check erase char.
Definition at line 251 of file main.cpp.
References checkEraseFirstChars(), checkEraseFirstLastChars(), checkEraseLastChars(), checkString(), eraseFirstLastChar(), and phoenix_assert.
Referenced by main().
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 219 of file main.cpp.
References PString::eraseFirstChar(), and phoenix_check().
Referenced by checkEraseChar().
bool checkEraseFirstLastChars | ( | const PString & | testName, |
const PString & | strExpr, | ||
const PString & | 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 243 of file main.cpp.
References PString::eraseFirstLastChar(), and phoenix_check().
Referenced by checkEraseChar().
bool checkEraseLastChars | ( | const PString & | testName, |
const PString & | strExpr, | ||
const PString & | 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 231 of file main.cpp.
References PString::eraseLastChar(), and phoenix_check().
Referenced by checkEraseChar().
void checkFind | ( | ) |
Check the find method.
Definition at line 186 of file main.cpp.
References phoenix_assert.
Referenced by main().
void checkFormat | ( | ) |
Check format.
Definition at line 151 of file main.cpp.
References checkString(), PString::format(), and phoenix_assert.
Referenced by main().
void checkGetCommonBegining | ( | ) |
Check the getCommonBegining.
Definition at line 177 of file main.cpp.
References phoenix_assert.
Referenced by main().
void checkIsSameBegining | ( | ) |
Check isSameBegining.
Definition at line 142 of file main.cpp.
References phoenix_assert.
Referenced by main().
void checkPStringLowerUpper | ( | ) |
Test lower/upper to string.
Definition at line 284 of file main.cpp.
References checkString(), and phoenix_assert.
Referenced by main().
void checkPStringReplace | ( | ) |
Check PString Replace.
Definition at line 125 of file main.cpp.
References checkString(), phoenix_assert, and PString::replace().
Referenced by main().
void checkSplitMerge | ( | ) |
Check the split and merge.
Definition at line 198 of file main.cpp.
References phoenix_assert.
Referenced by main().
bool checkString | ( | 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().
void checkValueToStringConvertion | ( | ) |
Test value to string and string to value.
Definition at line 117 of file main.cpp.
References checkString(), PString::fromValue(), phoenix_assert, and PString::toValue().
Referenced by main().
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 334 of file main.cpp.
References checkCharToString(), checkCount(), checkEraseChar(), checkFind(), checkFormat(), checkGetCommonBegining(), checkIsSameBegining(), checkPStringLowerUpper(), checkPStringReplace(), checkSplitMerge(), checkValueToStringConvertion(), testEscapeString(), and testPString().
void testEscapeString | ( | ) |
Test the phoenix_escapeStr function.
Definition at line 318 of file main.cpp.
References phoenix_assert, and phoenix_check().
Referenced by main().
void testPString | ( | ) |
Test the PString.
Definition at line 25 of file main.cpp.
References checkString(), phoenix_assert, and PString::toString().
Referenced by main().
void testPStringConversion | ( | ) |
Test the PString conversion.
Definition at line 323 of file main.cpp.
References phoenix_assert, and PString::toString().