DeviceShell: Test no-script fallback

Change-Id: I97f6df6face701b247b6be3320d89511a1310857
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Marcus Tillmanns
2022-09-20 10:23:18 +02:00
parent 0f7a539262
commit 852ded54d0
3 changed files with 33 additions and 4 deletions

View File

@@ -41,7 +41,7 @@ public:
ExitCode,
};
DeviceShell();
DeviceShell(bool forceFailScriptInstallation = false);
virtual ~DeviceShell();
bool start();
@@ -90,6 +90,9 @@ private:
State m_shellScriptState = State::Unknown;
QStringList m_missingFeatures;
// Only used for tests
bool m_forceFailScriptInstallation = false;
};
} // namespace Utils