| 112 | } |
| 113 | |
| 114 | static ScriptError_t ParseScriptError(const std::string &name) |
| 115 | { |
| 116 | for (unsigned int i=0; i<ARRAYLEN(script_errors); ++i) |
| 117 | if (script_errors[i].name == name) |
| 118 | return script_errors[i].err; |
| 119 | BOOST_ERROR("Unknown scripterror \"" << name << "\" in test description"); |
| 120 | return SCRIPT_ERR_UNKNOWN_ERROR; |
| 121 | } |
| 122 | |
| 123 | BOOST_FIXTURE_TEST_SUITE(script_tests, BasicTestingSetup) |
| 124 |
no outgoing calls
no test coverage detected