21 #include <gtest/gtest.h> 29 void SetUp()
override;
32 int run(
const QString &
script,
const QString &file);
43 QScopedPointer<trikControl::BrickInterface> mBrick;
44 QScopedPointer<trikScriptRunner::TrikScriptRunner> mScriptRunner;
int runDirectCommandAndWaitForQuit(const QString &script)
Definition: trikJsRunnerTest.cpp:76
Test suite for script runner.
Definition: trikJsRunnerTest.h:26
General wrapper for other executors (such as Python, JavaScript)
Definition: trikScriptRunner.h:27
void SetUp() override
Definition: trikJsRunnerTest.cpp:44
void TearDown() override
Definition: trikJsRunnerTest.cpp:52
int run(const QString &script, const QString &file)
Definition: trikJsRunnerTest.cpp:56
RAII-style helper class that performs deferred deinitialization, intended to be used in main programs...
Definition: deinitializationHelper.h:22
Definition: tcpClientSimulator.h:21
trikScriptRunner::TrikScriptRunner & scriptRunner()
Definition: trikJsRunnerTest.cpp:107
int runFromFile(const QString &fileName)
Definition: trikJsRunnerTest.cpp:96
script
Definition: system.py:83