![]() |
PhoenixInkscape
2.0.0
Generate multiple png files with svg inkscape files
|
Go to the source code of this file.
Functions | |
bool | checkString (const std::string &testName, const std::string &strValue, const std::string &strReference) |
Check string lower expression. More... | |
int | main (int argc, char **argv) |
void | testPPathCreateDirectory () |
Test the createDirectory. More... | |
void | testPPathFileContent () |
Test load and save file content. More... | |
void | testPPathGetExtention () |
Test the getExtension of PPath. More... | |
void | testPPathGetFileDirName () |
Test the getFileName and getDirectoryName. More... | |
void | testPPathGetProgram () |
Test getProgramDirectory, getProgramLocation and getProgramPrefix. More... | |
void | testPPathGetUnderPath () |
Test the getUnderPath. More... | |
void | testPPathIsAbsolute () |
Test isAbsolute path. More... | |
void | testPPathIsExist () |
Test the PString. More... | |
void | testPPathListAllFileInDir () |
Test the getAllFileInDir. More... | |
void | testPPathMakeAbsolute () |
Test the PPath makeAbsolute. More... | |
void | testPPathOperator () |
Test PPath operators. More... | |
void | testPPathRemoveDots () |
Test the simplify. More... | |
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().
Referenced by checkEraseChar(), checkFormat(), checkPStringLowerUpper(), checkPStringReplace(), checkValueToStringConvertion(), testPPathGetFileDirName(), and testPString().
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 182 of file main.cpp.
References testPPathCreateDirectory(), testPPathFileContent(), testPPathGetExtention(), testPPathGetFileDirName(), testPPathGetProgram(), testPPathGetUnderPath(), testPPathIsAbsolute(), testPPathIsExist(), testPPathListAllFileInDir(), testPPathMakeAbsolute(), testPPathOperator(), and testPPathRemoveDots().
void testPPathCreateDirectory | ( | ) |
Test the createDirectory.
Definition at line 78 of file main.cpp.
References phoenix_assert.
Referenced by main().
void testPPathFileContent | ( | ) |
Test load and save file content.
Definition at line 95 of file main.cpp.
References phoenix_assert.
Referenced by main().
void testPPathGetExtention | ( | ) |
Test the getExtension of PPath.
Definition at line 55 of file main.cpp.
References phoenix_assert, and phoenix_check().
Referenced by main().
void testPPathGetFileDirName | ( | ) |
Test the getFileName and getDirectoryName.
Definition at line 39 of file main.cpp.
References checkString(), phoenix_assert, and phoenix_check().
Referenced by main().
void testPPathGetProgram | ( | ) |
Test getProgramDirectory, getProgramLocation and getProgramPrefix.
Definition at line 144 of file main.cpp.
References PPath::getCurrentDirectory(), PPath::getCurrentNodeName(), PPath::getHomeDir(), PPath::getProgramDirectory(), PPath::getProgramLocation(), PPath::getProgramPrefix(), and phoenix_assert.
Referenced by main().
void testPPathGetUnderPath | ( | ) |
Test the getUnderPath.
Definition at line 88 of file main.cpp.
References phoenix_assert, and phoenix_check().
Referenced by main().
void testPPathIsAbsolute | ( | ) |
Test isAbsolute path.
Definition at line 33 of file main.cpp.
References phoenix_assert.
Referenced by main().
void testPPathIsExist | ( | ) |
Test the PString.
Definition at line 25 of file main.cpp.
References phoenix_assert.
Referenced by main().
void testPPathListAllFileInDir | ( | ) |
Test the getAllFileInDir.
Definition at line 167 of file main.cpp.
References PPath::getAllDirectoryInDir(), PPath::getAllElementInDir(), PPath::getAllFileInDir(), phoenix_assert, and phoenix_check().
Referenced by main().
void testPPathMakeAbsolute | ( | ) |
Test the PPath makeAbsolute.
Definition at line 137 of file main.cpp.
References phoenix_assert.
Referenced by main().
void testPPathOperator | ( | ) |
Test PPath operators.
Definition at line 160 of file main.cpp.
References phoenix_assert, and phoenix_check().
Referenced by main().
void testPPathRemoveDots | ( | ) |
Test the simplify.
Definition at line 119 of file main.cpp.
References phoenix_assert, and phoenix_check().
Referenced by main().