Skip to content

CliRun

struct (anonymous namespace){cli_test.cpp}::CliRun ยท Test suite

What one run of the command-line tool left behind.

Declared in tests/cli/cli_test.cpp (line 39)

Summary

Public data members

Name Description
exit_code Exit status of the process; -1 when it could not be started, crashed or did not finish in time.
out Everything the tool wrote to standard output.
err Everything the tool wrote to standard error.

Public data members

exit_code

int exit_code{-1}

Exit status of the process; -1 when it could not be started, crashed or did not finish in time.

Declared in tests/cli/cli_test.cpp:42

out

QString out

Everything the tool wrote to standard output.

Declared in tests/cli/cli_test.cpp:44

err

QString err

Everything the tool wrote to standard error.

Declared in tests/cli/cli_test.cpp:46