ParCompMarkTest::TestFileSystemManager Class Reference
#include <TestFileSystemManager.h>
Detailed Description
Test suite for ParCompMark::FileSystemManager.This is a CppUnit test suite for class ParCompMark::FileSystemManager of project ParCompMark.
Definition at line 56 of file TestFileSystemManager.h.
Public Member Functions | |
void | setUp () |
Sets up context before running a test. | |
void | tearDown () |
Cleans up after the test run. | |
Protected Member Functions | |
void | test_constructor_cstd__string_cstd__string () |
Tests constructor FileSystemManager::FileSystemManager(const std::string &appDirectory = ~/.ParCompMark/, const std::string &iniFile = parcompmark.ini). | |
void | test_destructor () |
Tests destructor FileSystemManager::~FileSystemManager(). | |
void | test_getInstance () |
Tests method FileSystemManager::getInstance(). | |
void | test_closeFile_FileSystemManager__CppFilePointer () |
Tests method FileSystemManager::closeFile(FileSystemManager::CppFilePointer &fp). | |
void | test_closeFile_FileSystemManager__CFilePointer () |
Tests method FileSystemManager::closeFile(FileSystemManager::CFilePointer &fp). | |
void | test_initialize () |
Tests method FileSystemManager::initialize(). | |
void | test_finalize () |
Tests method FileSystemManager::finalize(). | |
void | test_existsDirectory_cstd__string () |
Tests method FileSystemManager::existsDirectory(const std::string &name). | |
void | test_createDirectory_cstd__string () |
Tests method FileSystemManager::createDirectory(const std::string &name). | |
void | test_findDataDirectory () |
Tests method FileSystemManager::findDataDirectory(). | |
void | test_existsLibrary_cstd__string_cstd__vector___std__string__ () |
Tests method FileSystemManager::existsLibrary(const std::string &library, const std::vector < std::string > &additionalPaths = std::vector < std::string >()). | |
void | test_findLibraryPath_cstd__string_cstd__vector___std__string__ () |
Tests method FileSystemManager::findLibraryPath(const std::string &library, const std::vector < std::string > &additionalPaths = std::vector < std::string >()). | |
void | test_listDirectory_cstd__string () |
Tests method FileSystemManager::listDirectory(const std::string &directory). | |
void | test_listDataDirectory_cstd__string () |
Tests method FileSystemManager::listDataDirectory(const std::string &directory). | |
void | test_existsFile_cstd__string () |
Tests method FileSystemManager::existsFile(const std::string &name). | |
void | test_existsAppFile_cstd__string () |
Tests method FileSystemManager::existsAppFile(const std::string &name). | |
void | test_existsDataFile_cchar_p () |
Tests method FileSystemManager::existsDataFile(const char * name). | |
void | test_openFileC_cstd__string_cFileOperation () |
Tests method FileSystemManager::openFileC(const std::string &name, const FileOperation &operation = FileSystemManager::READ). | |
void | test_openAppFileC_cstd__string_cFileOperation () |
Tests method FileSystemManager::openAppFileC(const std::string &name, const FileOperation &operation = FileSystemManager::READ). | |
void | test_openDataFileC_cstd__string_cFileOperation () |
Tests method FileSystemManager::openDataFileC(const std::string &name, const FileOperation &operation = FileSystemManager::READ). | |
void | test_openFileCpp_cstd__string_cFileOperation () |
Tests method FileSystemManager::openFileCpp(const std::string &name, const FileOperation &operation = FileSystemManager::READ). | |
void | test_openAppFileCpp_cstd__string_cFileOperation () |
Tests method FileSystemManager::openAppFileCpp(const std::string &name, const FileOperation &operation = FileSystemManager::READ). | |
void | test_openDataFileCpp_cstd__string_cFileOperation () |
Tests method FileSystemManager::openDataFileCpp(const std::string &name, const FileOperation &operation = FileSystemManager::READ). | |
void | test_getPathDataFile_cstd__string () |
Tests method FileSystemManager::getPathDataFile(const std::string &name). | |
void | test_readTextFile_cstd__string () |
Tests method FileSystemManager::readTextFile(const std::string &name). | |
void | test_readAppTextFile_cstd__string () |
Tests method FileSystemManager::readAppTextFile(const std::string &name). | |
void | test_readDataTextFile_cstd__string () |
Tests method FileSystemManager::readDataTextFile(const std::string &name). | |
void | test__findHomeDirectory () |
Tests method FileSystemManager::_findHomeDirectory(). | |
void | test__replaceHomeChar_cstd__string () |
Tests method FileSystemManager::_replaceHomeChar(const std::string &path). | |
void | test__translateToAbsolutePath_cstd__string () |
Tests method FileSystemManager::_translateToAbsolutePath(const std::string &path). | |
void | test__createAppDirectory () |
Tests method FileSystemManager::_createAppDirectory(). |
Member Function Documentation
void ParCompMarkTest::TestFileSystemManager::setUp | ( | ) |
void ParCompMarkTest::TestFileSystemManager::tearDown | ( | ) |
void ParCompMarkTest::TestFileSystemManager::test__createAppDirectory | ( | ) | [protected] |
Tests method FileSystemManager::_createAppDirectory().
Definition at line 473 of file TestFileSystemManager.cpp.
void ParCompMarkTest::TestFileSystemManager::test__findHomeDirectory | ( | ) | [protected] |
Tests method FileSystemManager::_findHomeDirectory().
Definition at line 429 of file TestFileSystemManager.cpp.
void ParCompMarkTest::TestFileSystemManager::test__replaceHomeChar_cstd__string | ( | ) | [protected] |
Tests method FileSystemManager::_replaceHomeChar(const std::string &path).
Definition at line 443 of file TestFileSystemManager.cpp.
void ParCompMarkTest::TestFileSystemManager::test__translateToAbsolutePath_cstd__string | ( | ) | [protected] |
Tests method FileSystemManager::_translateToAbsolutePath(const std::string &path).
Definition at line 457 of file TestFileSystemManager.cpp.
void ParCompMarkTest::TestFileSystemManager::test_closeFile_FileSystemManager__CFilePointer | ( | ) | [protected] |
Tests method FileSystemManager::closeFile(FileSystemManager::CFilePointer &fp).
Definition at line 103 of file TestFileSystemManager.cpp.
void ParCompMarkTest::TestFileSystemManager::test_closeFile_FileSystemManager__CppFilePointer | ( | ) | [protected] |
Tests method FileSystemManager::closeFile(FileSystemManager::CppFilePointer &fp).
Definition at line 89 of file TestFileSystemManager.cpp.
void ParCompMarkTest::TestFileSystemManager::test_constructor_cstd__string_cstd__string | ( | ) | [protected] |
Tests constructor FileSystemManager::FileSystemManager(const std::string &appDirectory = ~/.ParCompMark/, const std::string &iniFile = parcompmark.ini).
Definition at line 49 of file TestFileSystemManager.cpp.
void ParCompMarkTest::TestFileSystemManager::test_createDirectory_cstd__string | ( | ) | [protected] |
Tests method FileSystemManager::createDirectory(const std::string &name).
Definition at line 163 of file TestFileSystemManager.cpp.
void ParCompMarkTest::TestFileSystemManager::test_destructor | ( | ) | [protected] |
Tests destructor FileSystemManager::~FileSystemManager().
Definition at line 63 of file TestFileSystemManager.cpp.
void ParCompMarkTest::TestFileSystemManager::test_existsAppFile_cstd__string | ( | ) | [protected] |
Tests method FileSystemManager::existsAppFile(const std::string &name).
Definition at line 261 of file TestFileSystemManager.cpp.
void ParCompMarkTest::TestFileSystemManager::test_existsDataFile_cchar_p | ( | ) | [protected] |
Tests method FileSystemManager::existsDataFile(const char * name).
Definition at line 275 of file TestFileSystemManager.cpp.
void ParCompMarkTest::TestFileSystemManager::test_existsDirectory_cstd__string | ( | ) | [protected] |
Tests method FileSystemManager::existsDirectory(const std::string &name).
Definition at line 149 of file TestFileSystemManager.cpp.
void ParCompMarkTest::TestFileSystemManager::test_existsFile_cstd__string | ( | ) | [protected] |
Tests method FileSystemManager::existsFile(const std::string &name).
Definition at line 247 of file TestFileSystemManager.cpp.
void ParCompMarkTest::TestFileSystemManager::test_existsLibrary_cstd__string_cstd__vector___std__string__ | ( | ) | [protected] |
Tests method FileSystemManager::existsLibrary(const std::string &library, const std::vector < std::string > &additionalPaths = std::vector < std::string >()).
Definition at line 191 of file TestFileSystemManager.cpp.
void ParCompMarkTest::TestFileSystemManager::test_finalize | ( | ) | [protected] |
Tests method FileSystemManager::finalize().
Definition at line 135 of file TestFileSystemManager.cpp.
void ParCompMarkTest::TestFileSystemManager::test_findDataDirectory | ( | ) | [protected] |
Tests method FileSystemManager::findDataDirectory().
Definition at line 177 of file TestFileSystemManager.cpp.
void ParCompMarkTest::TestFileSystemManager::test_findLibraryPath_cstd__string_cstd__vector___std__string__ | ( | ) | [protected] |
Tests method FileSystemManager::findLibraryPath(const std::string &library, const std::vector < std::string > &additionalPaths = std::vector < std::string >()).
Definition at line 205 of file TestFileSystemManager.cpp.
void ParCompMarkTest::TestFileSystemManager::test_getInstance | ( | ) | [protected] |
Tests method FileSystemManager::getInstance().
Definition at line 75 of file TestFileSystemManager.cpp.
void ParCompMarkTest::TestFileSystemManager::test_getPathDataFile_cstd__string | ( | ) | [protected] |
Tests method FileSystemManager::getPathDataFile(const std::string &name).
Definition at line 373 of file TestFileSystemManager.cpp.
void ParCompMarkTest::TestFileSystemManager::test_initialize | ( | ) | [protected] |
Tests method FileSystemManager::initialize().
Definition at line 121 of file TestFileSystemManager.cpp.
void ParCompMarkTest::TestFileSystemManager::test_listDataDirectory_cstd__string | ( | ) | [protected] |
Tests method FileSystemManager::listDataDirectory(const std::string &directory).
Definition at line 233 of file TestFileSystemManager.cpp.
void ParCompMarkTest::TestFileSystemManager::test_listDirectory_cstd__string | ( | ) | [protected] |
Tests method FileSystemManager::listDirectory(const std::string &directory).
Definition at line 219 of file TestFileSystemManager.cpp.
void ParCompMarkTest::TestFileSystemManager::test_openAppFileC_cstd__string_cFileOperation | ( | ) | [protected] |
Tests method FileSystemManager::openAppFileC(const std::string &name, const FileOperation &operation = FileSystemManager::READ).
Definition at line 303 of file TestFileSystemManager.cpp.
void ParCompMarkTest::TestFileSystemManager::test_openAppFileCpp_cstd__string_cFileOperation | ( | ) | [protected] |
Tests method FileSystemManager::openAppFileCpp(const std::string &name, const FileOperation &operation = FileSystemManager::READ).
Definition at line 345 of file TestFileSystemManager.cpp.
void ParCompMarkTest::TestFileSystemManager::test_openDataFileC_cstd__string_cFileOperation | ( | ) | [protected] |
Tests method FileSystemManager::openDataFileC(const std::string &name, const FileOperation &operation = FileSystemManager::READ).
Definition at line 317 of file TestFileSystemManager.cpp.
void ParCompMarkTest::TestFileSystemManager::test_openDataFileCpp_cstd__string_cFileOperation | ( | ) | [protected] |
Tests method FileSystemManager::openDataFileCpp(const std::string &name, const FileOperation &operation = FileSystemManager::READ).
Definition at line 359 of file TestFileSystemManager.cpp.
void ParCompMarkTest::TestFileSystemManager::test_openFileC_cstd__string_cFileOperation | ( | ) | [protected] |
Tests method FileSystemManager::openFileC(const std::string &name, const FileOperation &operation = FileSystemManager::READ).
Definition at line 289 of file TestFileSystemManager.cpp.
void ParCompMarkTest::TestFileSystemManager::test_openFileCpp_cstd__string_cFileOperation | ( | ) | [protected] |
Tests method FileSystemManager::openFileCpp(const std::string &name, const FileOperation &operation = FileSystemManager::READ).
Definition at line 331 of file TestFileSystemManager.cpp.
void ParCompMarkTest::TestFileSystemManager::test_readAppTextFile_cstd__string | ( | ) | [protected] |
Tests method FileSystemManager::readAppTextFile(const std::string &name).
Definition at line 401 of file TestFileSystemManager.cpp.
void ParCompMarkTest::TestFileSystemManager::test_readDataTextFile_cstd__string | ( | ) | [protected] |
Tests method FileSystemManager::readDataTextFile(const std::string &name).
Definition at line 415 of file TestFileSystemManager.cpp.
void ParCompMarkTest::TestFileSystemManager::test_readTextFile_cstd__string | ( | ) | [protected] |
Tests method FileSystemManager::readTextFile(const std::string &name).
Definition at line 387 of file TestFileSystemManager.cpp.
The documentation for this class was generated from the following files: