| 114 | } |
| 115 | |
| 116 | void ScriptTest::AppendToLog(const char* log) |
| 117 | { |
| 118 | if (strstr(log, "Log server started on port") != 0) |
| 119 | return; |
| 120 | uint32_t len = strlen(log); |
| 121 | m_Log.SetCapacity(m_Log.Size() + len + 1); |
| 122 | m_Log.PushArray(log, len); |
| 123 | } |
| 124 | |
| 125 | bool ScriptTest::RunFile(lua_State* L, const char* filename) |
| 126 | { |
no test coverage detected