(eaac2292eead2926a768cd38f24987a3e4b2582a)
#include "blockingtestdialogs.h"
#include "hdc.h"
#include "shellhelpers.h"
#include <QtCore/qcoreapplication.h>
#include <QtCore/qcommandlineparser.h>
#include <QtCore/qdatetime.h>
#include <QtCore/qfileinfo.h>
#include <QtCore/qprocess.h>
#include <QtCore/qthread.h>
#include <QtCore/qelapsedtimer.h>
#include <QtCore/qjsonarray.h>
#include <QtCore/qjsondocument.h>
#include <QtCore/qjsonobject.h>
#include <atomic>
#include <chrono>
#include <csignal>
#include <cstdio>
#include <memory>
Go to the source code of this file.
|
| static QString | shellSingleQuote (const QString &value) |
| static void | sigHandler (int sig) |
| static void | waitForProcessDeath (const Hdc &hdc, const QString &bundleName, int timeoutSecs=15) |
| static bool | waitForProcessStart (const Hdc &hdc, const QString &bundleName, const QString &shellExitCodePath, int timeoutSecs=30) |
| static bool | waitForStdoutFile (const Hdc &hdc, const QString &shellStdoutPath, int timeoutSecs=10) |
| static void | answerBlockingDialogsIfStalled (BlockingTestDialogs &blockingTestDialogs, const QElapsedTimer &elapsed, std::chrono::nanoseconds lastOutputAt) |
| int | main (int argc, char *argv[]) |
◆ answerBlockingDialogsIfStalled()
◆ main()
| int main |
( |
int | argc, |
|
|
char * | argv[] ) |
◆ shellSingleQuote()
◆ sigHandler()
| void sigHandler |
( |
int | sig | ) |
|
|
static |
◆ waitForProcessDeath()
| void waitForProcessDeath |
( |
const Hdc & | hdc, |
|
|
const QString & | bundleName, |
|
|
int | timeoutSecs = 15 ) |
|
static |
◆ waitForProcessStart()
| bool waitForProcessStart |
( |
const Hdc & | hdc, |
|
|
const QString & | bundleName, |
|
|
const QString & | shellExitCodePath, |
|
|
int | timeoutSecs = 30 ) |
|
static |
◆ waitForStdoutFile()
| bool waitForStdoutFile |
( |
const Hdc & | hdc, |
|
|
const QString & | shellStdoutPath, |
|
|
int | timeoutSecs = 10 ) |
|
static |
◆ dialogsExpectedWhileStarting
| constexpr auto dialogsExpectedWhileStarting = 10s |
|
staticconstexpr |
◆ EXIT_CRASH
| constexpr int EXIT_CRASH = 252 |
|
staticconstexpr |
◆ EXIT_ERROR
| constexpr int EXIT_ERROR = 254 |
|
staticconstexpr |
◆ EXIT_NOEXITCODE
| constexpr int EXIT_NOEXITCODE = 253 |
|
staticconstexpr |
◆ EXIT_TIMEOUT
| constexpr int EXIT_TIMEOUT = 251 |
|
staticconstexpr |
◆ g_interrupted
| std::atomic< bool > g_interrupted { false } |
|
static |
◆ quietBeforeDialogCheck
| constexpr auto quietBeforeDialogCheck = 3s |
|
staticconstexpr |
◆ quietBeforeDialogCheckWhileStarting
| constexpr auto quietBeforeDialogCheckWhileStarting = 1s |
|
staticconstexpr |