ParCompMarkTest::TestSqVM Class Reference
#include <TestSqVM.h>
Detailed Description
Test suite for ParCompMark::SqVM.This is a CppUnit test suite for class ParCompMark::SqVM of project ParCompMark.
Definition at line 56 of file TestSqVM.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 () |
Tests constructor SqVM::SqVM(const std::string &name). | |
void | test_destructor () |
Tests destructor SqVM::~SqVM(). | |
void | test_printFunction___HSQUIRRELVM_cSQChar_p_ () |
Tests method SqVM::printFunction(HSQUIRRELVM sqVM, const SQChar * s, . | |
void | test_runScriptFromFile_cstd__string_cstd__string_cstd__list___std__string___cbool () |
Tests method SqVM::runScriptFromFile(const std::string &filename, const std::string &mainMethod = main, const std::list < std::string > ¶meters = std::list < std::string >(), const bool &hasReturn = false). | |
void | test_runScriptFromString_cstd__string_cstd__string_cstd__string_cstd__list___std__string___cbool () |
Tests method SqVM::runScriptFromString(const std::string &scriptString, const std::string &scriptName = , const std::string &mainMethod = main, const std::list < std::string > ¶meters = std::list < std::string >(), const bool &hasReturn = false). | |
void | test_runScriptByName_cstd__string_cstd__list___std__string__ () |
Tests method SqVM::runScriptByName(const std::string &scriptName, const std::list < std::string > ¶meters = std::list < std::string >()). | |
void | test_finalize () |
Tests method SqVM::finalize(). | |
void | test_activate () |
Tests method SqVM::activate(). | |
void | test_deactivate () |
Tests method SqVM::deactivate(). | |
void | test_initialize () |
Tests method SqVM::initialize(). | |
void | test_createScript_cstd__string_cbool_cstd__string_cbool () |
Tests method SqVM::createScript(const std::string &scriptName = , const bool &dynamic = false, const std::string &mainMethod = main, const bool &hasReturn = false). | |
void | test_findScript_cstd__string () |
Tests method SqVM::findScript(const std::string &scriptName). | |
void | test_findOrAddScript_cstd__string_cbool_cstd__string_cbool () |
Tests method SqVM::findOrAddScript(const std::string &scriptName, const bool &dynamic = false, const std::string &mainMethod = main, const bool &hasReturn = false). | |
void | test_compileAndExecuteScript_SqVM__Script__Pointer () |
Tests method SqVM::compileAndExecuteScript(SqVM::Script::Pointer &script). | |
void | test_setParameters_SqVM__Script__Pointer_cstd__list___std__string__ () |
Tests method SqVM::setParameters(SqVM::Script::Pointer &script, const std::list < std::string > ¶meters). |
Member Function Documentation
void ParCompMarkTest::TestSqVM::setUp | ( | ) |
void ParCompMarkTest::TestSqVM::tearDown | ( | ) |
void ParCompMarkTest::TestSqVM::test_activate | ( | ) | [protected] |
void ParCompMarkTest::TestSqVM::test_compileAndExecuteScript_SqVM__Script__Pointer | ( | ) | [protected] |
Tests method SqVM::compileAndExecuteScript(SqVM::Script::Pointer &script).
Definition at line 343 of file TestSqVM.cpp.
void ParCompMarkTest::TestSqVM::test_constructor_cstd__string | ( | ) | [protected] |
void ParCompMarkTest::TestSqVM::test_createScript_cstd__string_cbool_cstd__string_cbool | ( | ) | [protected] |
Tests method SqVM::createScript(const std::string &scriptName = , const bool &dynamic = false, const std::string &mainMethod = main, const bool &hasReturn = false).
Definition at line 279 of file TestSqVM.cpp.
void ParCompMarkTest::TestSqVM::test_deactivate | ( | ) | [protected] |
void ParCompMarkTest::TestSqVM::test_destructor | ( | ) | [protected] |
void ParCompMarkTest::TestSqVM::test_finalize | ( | ) | [protected] |
void ParCompMarkTest::TestSqVM::test_findOrAddScript_cstd__string_cbool_cstd__string_cbool | ( | ) | [protected] |
Tests method SqVM::findOrAddScript(const std::string &scriptName, const bool &dynamic = false, const std::string &mainMethod = main, const bool &hasReturn = false).
Definition at line 309 of file TestSqVM.cpp.
void ParCompMarkTest::TestSqVM::test_findScript_cstd__string | ( | ) | [protected] |
Tests method SqVM::findScript(const std::string &scriptName).
Definition at line 295 of file TestSqVM.cpp.
void ParCompMarkTest::TestSqVM::test_initialize | ( | ) | [protected] |
void ParCompMarkTest::TestSqVM::test_printFunction___HSQUIRRELVM_cSQChar_p_ | ( | ) | [protected] |
Tests method SqVM::printFunction(HSQUIRRELVM sqVM, const SQChar * s, .
..).
Definition at line 93 of file TestSqVM.cpp.
void ParCompMarkTest::TestSqVM::test_runScriptByName_cstd__string_cstd__list___std__string__ | ( | ) | [protected] |
Tests method SqVM::runScriptByName(const std::string &scriptName, const std::list < std::string > ¶meters = std::list < std::string >()).
Definition at line 183 of file TestSqVM.cpp.
void ParCompMarkTest::TestSqVM::test_runScriptFromFile_cstd__string_cstd__string_cstd__list___std__string___cbool | ( | ) | [protected] |
Tests method SqVM::runScriptFromFile(const std::string &filename, const std::string &mainMethod = main, const std::list < std::string > ¶meters = std::list < std::string >(), const bool &hasReturn = false).
Definition at line 113 of file TestSqVM.cpp.
void ParCompMarkTest::TestSqVM::test_runScriptFromString_cstd__string_cstd__string_cstd__string_cstd__list___std__string___cbool | ( | ) | [protected] |
Tests method SqVM::runScriptFromString(const std::string &scriptString, const std::string &scriptName = , const std::string &mainMethod = main, const std::list < std::string > ¶meters = std::list < std::string >(), const bool &hasReturn = false).
Definition at line 145 of file TestSqVM.cpp.
void ParCompMarkTest::TestSqVM::test_setParameters_SqVM__Script__Pointer_cstd__list___std__string__ | ( | ) | [protected] |
Tests method SqVM::setParameters(SqVM::Script::Pointer &script, const std::list < std::string > ¶meters).
Definition at line 357 of file TestSqVM.cpp.
The documentation for this class was generated from the following files: