ParCompMarkTest::TestApplication Class Reference
#include <TestApplication.h>
Detailed Description
Test suite for ParCompMark::Application.This is a CppUnit test suite for class ParCompMark::Application of project ParCompMark.
Definition at line 56 of file TestApplication.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 () |
Tests constructor Application::Application(). | |
void | test_destructor () |
Tests destructor Application::~Application(). | |
void | test_complement_int_int () |
Tests method Application::complement(int first, int second). | |
void | test_parseCommandLine_cu32_cchar_pp () |
Tests method Application::parseCommandLine(const u32 &argc, const char ** &argv). | |
void | test_showHelp_cstd__string () |
Tests method Application::showHelp(const std::string &strarg). | |
void | test_showVersion_cstd__string () |
Tests method Application::showVersion(const std::string &strarg). | |
void | test_setCommanderOn_cstd__string () |
Tests method Application::setCommanderOn(const std::string &strarg). | |
void | test_setGUIOn_cstd__string () |
Tests method Application::setGUIOn(const std::string &strarg). | |
void | test_setLowLevelOn_cstd__string () |
Tests method Application::setLowLevelOn(const std::string &strarg). | |
void | test_setLowLevelScriptFile_cstd__string () |
Tests method Application::setLowLevelScriptFile(const std::string &strarg). | |
void | test_setDynamicScriptFile_cstd__string () |
Tests method Application::setDynamicScriptFile(const std::string &strarg). | |
void | test_setScenarioScriptFile_cstd__string () |
Tests method Application::setScenarioScriptFile(const std::string &strarg). | |
void | test_setCluster_cstd__string () |
Tests method Application::setCluster(const std::string &strarg). | |
void | test_setParameters_cstd__string () |
Tests method Application::setParameters(const std::string &strarg). | |
void | test_setInput_cstd__string () |
Tests method Application::setInput(const std::string &strarg). | |
void | test_setOutput_cstd__string () |
Tests method Application::setOutput(const std::string &strarg). | |
void | test_setExpectedHostCount_cstd__string () |
Tests method Application::setExpectedHostCount(const std::string &hostCount). | |
void | test_setUserInterface_cstd__string () |
Tests method Application::setUserInterface(const std::string &strUI). | |
void | test_hasEnvironmentVariable_cstd__string () |
Tests method Application::hasEnvironmentVariable(const std::string &name). | |
void | test_getEnvironmentVariable_cstd__string () |
Tests method Application::getEnvironmentVariable(const std::string &name). | |
void | test_terminateHandler () |
Tests method Application::terminateHandler(). | |
void | test_terminateHandlerNOP () |
Tests method Application::terminateHandlerNOP(). | |
void | test_unexpectedHandler () |
Tests method Application::unexpectedHandler(). | |
void | test_segfaultHandler_int () |
Tests method Application::segfaultHandler(int value). | |
void | test_interruptHandler_int () |
Tests method Application::interruptHandler(int value). | |
void | test_getInstance () |
Tests method Application::getInstance(). | |
void | test_setupHandlers () |
Tests method Application::setupHandlers(). | |
void | test_initialize () |
Tests method Application::initialize(). | |
void | test_finalize () |
Tests method Application::finalize(). | |
void | test_finalizeCommander () |
Tests method Application::finalizeCommander(). | |
void | test_finalizeSoldier () |
Tests method Application::finalizeSoldier(). | |
void | test_setFromConfigOptions () |
Tests method Application::setFromConfigOptions(). | |
void | test_createVirtualMachines () |
Tests method Application::createVirtualMachines(). | |
void | test_startOperation () |
Tests method Application::startOperation(). | |
void | test_writeOutput () |
Tests method Application::writeOutput(). | |
void | test_waitForOutput () |
Tests method Application::waitForOutput(). | |
void | test_quit () |
Tests method Application::quit(). | |
void | test_compileDynamic () |
Tests method Application::compileDynamic(). | |
void | test_start () |
Tests method Application::start(). | |
void | test_stop () |
Tests method Application::stop(). | |
void | test_autoDetection () |
Tests method Application::autoDetection(). | |
void | test_cleanup () |
Tests method Application::cleanup(). | |
void | test_getHostListForSquirrel () |
Tests method Application::getHostListForSquirrel(). | |
void | test_getLowLevelScriptForSquirrel () |
Tests method Application::getLowLevelScriptForSquirrel(). | |
void | test_getDynamicScriptForSquirrel () |
Tests method Application::getDynamicScriptForSquirrel(). | |
void | test_hasScenarioScript () |
Tests method Application::hasScenarioScript(). | |
void | test_getDynamicScriptParametersForSquirrel () |
Tests method Application::getDynamicScriptParametersForSquirrel(). | |
void | test_getProgramInfo () |
Tests method Application::getProgramInfo(). | |
void | test_calculateMessageSendTime () |
Tests method Application::calculateMessageSendTime(). | |
void | test__pseudoStop () |
Tests method Application::_pseudoStop(). | |
void | test_commanderOperation () |
Tests method Application::commanderOperation(). | |
void | test_soldierOperation () |
Tests method Application::soldierOperation(). | |
void | test_textUserInterface () |
Tests method Application::textUserInterface(). | |
void | test_noUserInterface () |
Tests method Application::noUserInterface(). | |
void | test_executeUserCommand_cstd__string () |
Tests method Application::executeUserCommand(const std::string &command). | |
void | test_processSquirrelCommandList () |
Tests method Application::processSquirrelCommandList(). | |
void | test_doPostCommand () |
Tests method Application::doPostCommand(). | |
void | test_loadLowLevelScript_cchar_p () |
Tests method Application::loadLowLevelScript(const char * filename). | |
void | test_loadDynamicScript_cchar_p () |
Tests method Application::loadDynamicScript(const char * filename). | |
void | test_loadScenarioScript_cchar_p () |
Tests method Application::loadScenarioScript(const char * filename). | |
void | test_pushSquirrelCommand_cchar_p () |
Tests method Application::pushSquirrelCommand(const char * command). | |
void | test_createLowLevelScript_cstd__string () |
Tests method Application::createLowLevelScript(const std::string &clusterDescription). | |
void | test_processScenarioScript () |
Tests method Application::processScenarioScript(). | |
void | test_setEnvironmentVariablesToSquirrel () |
Tests method Application::setEnvironmentVariablesToSquirrel(). | |
void | test_initializeDynamicScriptParameters_cbool () |
Tests method Application::initializeDynamicScriptParameters(const bool &reset). | |
void | test_retrieveDynamicScriptParameters () |
Tests method Application::retrieveDynamicScriptParameters(). | |
void | test__loadScenario () |
Tests method Application::_loadScenario(). | |
void | test__loadDynamic () |
Tests method Application::_loadDynamic(). | |
void | test__compileDynamic () |
Tests method Application::_compileDynamic(). | |
void | test__start () |
Tests method Application::_start(). | |
void | test__stop () |
Tests method Application::_stop(). | |
void | test__quit () |
Tests method Application::_quit(). |
Member Function Documentation
void ParCompMarkTest::TestApplication::setUp | ( | ) |
void ParCompMarkTest::TestApplication::tearDown | ( | ) |
void ParCompMarkTest::TestApplication::test__compileDynamic | ( | ) | [protected] |
void ParCompMarkTest::TestApplication::test__loadDynamic | ( | ) | [protected] |
void ParCompMarkTest::TestApplication::test__loadScenario | ( | ) | [protected] |
void ParCompMarkTest::TestApplication::test__pseudoStop | ( | ) | [protected] |
void ParCompMarkTest::TestApplication::test__quit | ( | ) | [protected] |
void ParCompMarkTest::TestApplication::test__start | ( | ) | [protected] |
void ParCompMarkTest::TestApplication::test__stop | ( | ) | [protected] |
void ParCompMarkTest::TestApplication::test_autoDetection | ( | ) | [protected] |
void ParCompMarkTest::TestApplication::test_calculateMessageSendTime | ( | ) | [protected] |
Tests method Application::calculateMessageSendTime().
Definition at line 745 of file TestApplication.cpp.
void ParCompMarkTest::TestApplication::test_cleanup | ( | ) | [protected] |
void ParCompMarkTest::TestApplication::test_commanderOperation | ( | ) | [protected] |
void ParCompMarkTest::TestApplication::test_compileDynamic | ( | ) | [protected] |
void ParCompMarkTest::TestApplication::test_complement_int_int | ( | ) | [protected] |
Tests method Application::complement(int first, int second).
Definition at line 96 of file TestApplication.cpp.
void ParCompMarkTest::TestApplication::test_constructor | ( | ) | [protected] |
void ParCompMarkTest::TestApplication::test_createLowLevelScript_cstd__string | ( | ) | [protected] |
Tests method Application::createLowLevelScript(const std::string &clusterDescription).
Definition at line 927 of file TestApplication.cpp.
void ParCompMarkTest::TestApplication::test_createVirtualMachines | ( | ) | [protected] |
Tests method Application::createVirtualMachines().
Definition at line 520 of file TestApplication.cpp.
void ParCompMarkTest::TestApplication::test_destructor | ( | ) | [protected] |
void ParCompMarkTest::TestApplication::test_doPostCommand | ( | ) | [protected] |
void ParCompMarkTest::TestApplication::test_executeUserCommand_cstd__string | ( | ) | [protected] |
Tests method Application::executeUserCommand(const std::string &command).
Definition at line 829 of file TestApplication.cpp.
void ParCompMarkTest::TestApplication::test_finalize | ( | ) | [protected] |
void ParCompMarkTest::TestApplication::test_finalizeCommander | ( | ) | [protected] |
void ParCompMarkTest::TestApplication::test_finalizeSoldier | ( | ) | [protected] |
void ParCompMarkTest::TestApplication::test_getDynamicScriptForSquirrel | ( | ) | [protected] |
Tests method Application::getDynamicScriptForSquirrel().
Definition at line 689 of file TestApplication.cpp.
void ParCompMarkTest::TestApplication::test_getDynamicScriptParametersForSquirrel | ( | ) | [protected] |
Tests method Application::getDynamicScriptParametersForSquirrel().
Definition at line 717 of file TestApplication.cpp.
void ParCompMarkTest::TestApplication::test_getEnvironmentVariable_cstd__string | ( | ) | [protected] |
Tests method Application::getEnvironmentVariable(const std::string &name).
Definition at line 334 of file TestApplication.cpp.
void ParCompMarkTest::TestApplication::test_getHostListForSquirrel | ( | ) | [protected] |
Tests method Application::getHostListForSquirrel().
Definition at line 661 of file TestApplication.cpp.
void ParCompMarkTest::TestApplication::test_getInstance | ( | ) | [protected] |
void ParCompMarkTest::TestApplication::test_getLowLevelScriptForSquirrel | ( | ) | [protected] |
Tests method Application::getLowLevelScriptForSquirrel().
Definition at line 675 of file TestApplication.cpp.
void ParCompMarkTest::TestApplication::test_getProgramInfo | ( | ) | [protected] |
void ParCompMarkTest::TestApplication::test_hasEnvironmentVariable_cstd__string | ( | ) | [protected] |
Tests method Application::hasEnvironmentVariable(const std::string &name).
Definition at line 320 of file TestApplication.cpp.
void ParCompMarkTest::TestApplication::test_hasScenarioScript | ( | ) | [protected] |
void ParCompMarkTest::TestApplication::test_initialize | ( | ) | [protected] |
void ParCompMarkTest::TestApplication::test_initializeDynamicScriptParameters_cbool | ( | ) | [protected] |
Tests method Application::initializeDynamicScriptParameters(const bool &reset).
Definition at line 969 of file TestApplication.cpp.
void ParCompMarkTest::TestApplication::test_interruptHandler_int | ( | ) | [protected] |
Tests method Application::interruptHandler(int value).
Definition at line 404 of file TestApplication.cpp.
void ParCompMarkTest::TestApplication::test_loadDynamicScript_cchar_p | ( | ) | [protected] |
Tests method Application::loadDynamicScript(const char * filename).
Definition at line 885 of file TestApplication.cpp.
void ParCompMarkTest::TestApplication::test_loadLowLevelScript_cchar_p | ( | ) | [protected] |
Tests method Application::loadLowLevelScript(const char * filename).
Definition at line 871 of file TestApplication.cpp.
void ParCompMarkTest::TestApplication::test_loadScenarioScript_cchar_p | ( | ) | [protected] |
Tests method Application::loadScenarioScript(const char * filename).
Definition at line 899 of file TestApplication.cpp.
void ParCompMarkTest::TestApplication::test_noUserInterface | ( | ) | [protected] |
void ParCompMarkTest::TestApplication::test_parseCommandLine_cu32_cchar_pp | ( | ) | [protected] |
Tests method Application::parseCommandLine(const u32 &argc, const char ** &argv).
Definition at line 110 of file TestApplication.cpp.
void ParCompMarkTest::TestApplication::test_processScenarioScript | ( | ) | [protected] |
Tests method Application::processScenarioScript().
Definition at line 941 of file TestApplication.cpp.
void ParCompMarkTest::TestApplication::test_processSquirrelCommandList | ( | ) | [protected] |
Tests method Application::processSquirrelCommandList().
Definition at line 843 of file TestApplication.cpp.
void ParCompMarkTest::TestApplication::test_pushSquirrelCommand_cchar_p | ( | ) | [protected] |
Tests method Application::pushSquirrelCommand(const char * command).
Definition at line 913 of file TestApplication.cpp.
void ParCompMarkTest::TestApplication::test_quit | ( | ) | [protected] |
void ParCompMarkTest::TestApplication::test_retrieveDynamicScriptParameters | ( | ) | [protected] |
Tests method Application::retrieveDynamicScriptParameters().
Definition at line 983 of file TestApplication.cpp.
void ParCompMarkTest::TestApplication::test_segfaultHandler_int | ( | ) | [protected] |
Tests method Application::segfaultHandler(int value).
Definition at line 390 of file TestApplication.cpp.
void ParCompMarkTest::TestApplication::test_setCluster_cstd__string | ( | ) | [protected] |
Tests method Application::setCluster(const std::string &strarg).
Definition at line 236 of file TestApplication.cpp.
void ParCompMarkTest::TestApplication::test_setCommanderOn_cstd__string | ( | ) | [protected] |
Tests method Application::setCommanderOn(const std::string &strarg).
Definition at line 152 of file TestApplication.cpp.
void ParCompMarkTest::TestApplication::test_setDynamicScriptFile_cstd__string | ( | ) | [protected] |
Tests method Application::setDynamicScriptFile(const std::string &strarg).
Definition at line 208 of file TestApplication.cpp.
void ParCompMarkTest::TestApplication::test_setEnvironmentVariablesToSquirrel | ( | ) | [protected] |
Tests method Application::setEnvironmentVariablesToSquirrel().
Definition at line 955 of file TestApplication.cpp.
void ParCompMarkTest::TestApplication::test_setExpectedHostCount_cstd__string | ( | ) | [protected] |
Tests method Application::setExpectedHostCount(const std::string &hostCount).
Definition at line 292 of file TestApplication.cpp.
void ParCompMarkTest::TestApplication::test_setFromConfigOptions | ( | ) | [protected] |
Tests method Application::setFromConfigOptions().
Definition at line 506 of file TestApplication.cpp.
void ParCompMarkTest::TestApplication::test_setGUIOn_cstd__string | ( | ) | [protected] |
Tests method Application::setGUIOn(const std::string &strarg).
Definition at line 166 of file TestApplication.cpp.
void ParCompMarkTest::TestApplication::test_setInput_cstd__string | ( | ) | [protected] |
Tests method Application::setInput(const std::string &strarg).
Definition at line 264 of file TestApplication.cpp.
void ParCompMarkTest::TestApplication::test_setLowLevelOn_cstd__string | ( | ) | [protected] |
Tests method Application::setLowLevelOn(const std::string &strarg).
Definition at line 180 of file TestApplication.cpp.
void ParCompMarkTest::TestApplication::test_setLowLevelScriptFile_cstd__string | ( | ) | [protected] |
Tests method Application::setLowLevelScriptFile(const std::string &strarg).
Definition at line 194 of file TestApplication.cpp.
void ParCompMarkTest::TestApplication::test_setOutput_cstd__string | ( | ) | [protected] |
Tests method Application::setOutput(const std::string &strarg).
Definition at line 278 of file TestApplication.cpp.
void ParCompMarkTest::TestApplication::test_setParameters_cstd__string | ( | ) | [protected] |
Tests method Application::setParameters(const std::string &strarg).
Definition at line 250 of file TestApplication.cpp.
void ParCompMarkTest::TestApplication::test_setScenarioScriptFile_cstd__string | ( | ) | [protected] |
Tests method Application::setScenarioScriptFile(const std::string &strarg).
Definition at line 222 of file TestApplication.cpp.
void ParCompMarkTest::TestApplication::test_setupHandlers | ( | ) | [protected] |
void ParCompMarkTest::TestApplication::test_setUserInterface_cstd__string | ( | ) | [protected] |
Tests method Application::setUserInterface(const std::string &strUI).
Definition at line 306 of file TestApplication.cpp.
void ParCompMarkTest::TestApplication::test_showHelp_cstd__string | ( | ) | [protected] |
Tests method Application::showHelp(const std::string &strarg).
Definition at line 124 of file TestApplication.cpp.
void ParCompMarkTest::TestApplication::test_showVersion_cstd__string | ( | ) | [protected] |
Tests method Application::showVersion(const std::string &strarg).
Definition at line 138 of file TestApplication.cpp.
void ParCompMarkTest::TestApplication::test_soldierOperation | ( | ) | [protected] |
void ParCompMarkTest::TestApplication::test_start | ( | ) | [protected] |
void ParCompMarkTest::TestApplication::test_startOperation | ( | ) | [protected] |
void ParCompMarkTest::TestApplication::test_stop | ( | ) | [protected] |
void ParCompMarkTest::TestApplication::test_terminateHandler | ( | ) | [protected] |
void ParCompMarkTest::TestApplication::test_terminateHandlerNOP | ( | ) | [protected] |
Tests method Application::terminateHandlerNOP().
Definition at line 362 of file TestApplication.cpp.
void ParCompMarkTest::TestApplication::test_textUserInterface | ( | ) | [protected] |
void ParCompMarkTest::TestApplication::test_unexpectedHandler | ( | ) | [protected] |
void ParCompMarkTest::TestApplication::test_waitForOutput | ( | ) | [protected] |
void ParCompMarkTest::TestApplication::test_writeOutput | ( | ) | [protected] |
The documentation for this class was generated from the following files: