|
KiCad PCB EDA Suite
|
#include <api_e2e_utils.h>
Public Member Functions | |
| API_SERVER_E2E_FIXTURE () | |
| ~API_SERVER_E2E_FIXTURE () | |
| bool | Start (const wxString &aCliPathOverride=wxString()) |
| API_TEST_CLIENT & | Client () |
| wxString | CliPath () const |
| const wxString & | LastError () const |
Private Member Functions | |
| bool | startServerProcess (const wxString &aCliPathOverride) |
| void | collectServerOutput () |
| void | stopServer () |
| bool | isProcessAlive () const |
Private Attributes | |
| API_TEST_CLIENT | m_client |
| API_SERVER_PROCESS * | m_process = nullptr |
| long | m_pid = 0 |
| wxString | m_cliPath |
| wxString | m_socketPath |
| wxString | m_stdout |
| wxString | m_stderr |
| wxString | m_lastError |
| int | m_exitCode = 0 |
Definition at line 444 of file api_e2e_utils.h.
|
inline |
Definition at line 447 of file api_e2e_utils.h.
References m_cliPath, m_socketPath, and QA_KICAD_CLI_PATH.
|
inline |
Definition at line 466 of file api_e2e_utils.h.
References m_socketPath, and stopServer().
|
inline |
Definition at line 527 of file api_e2e_utils.h.
References m_client.
|
inline |
Definition at line 529 of file api_e2e_utils.h.
References m_cliPath.
|
inlineprivate |
Definition at line 579 of file api_e2e_utils.h.
References API_SERVER_PROCESS::drainStream(), m_process, m_stderr, and m_stdout.
Referenced by Start(), and stopServer().
|
inlineprivate |
Definition at line 610 of file api_e2e_utils.h.
References m_pid.
Referenced by Start(), and stopServer().
|
inline |
Definition at line 531 of file api_e2e_utils.h.
References m_lastError.
|
inline |
Definition at line 474 of file api_e2e_utils.h.
References collectServerOutput(), isProcessAlive(), m_client, m_lastError, m_socketPath, startServerProcess(), and traceApi.
|
inlineprivate |
Definition at line 534 of file api_e2e_utils.h.
References m_cliPath, m_exitCode, m_lastError, m_pid, m_process, m_socketPath, m_stderr, and m_stdout.
Referenced by Start().
|
inlineprivate |
Definition at line 588 of file api_e2e_utils.h.
References collectServerOutput(), isProcessAlive(), m_pid, and m_process.
Referenced by ~API_SERVER_E2E_FIXTURE().
|
private |
Definition at line 619 of file api_e2e_utils.h.
|
private |
Definition at line 622 of file api_e2e_utils.h.
Referenced by API_SERVER_E2E_FIXTURE(), CliPath(), and startServerProcess().
|
mutableprivate |
Definition at line 627 of file api_e2e_utils.h.
Referenced by startServerProcess().
|
private |
Definition at line 626 of file api_e2e_utils.h.
Referenced by LastError(), Start(), and startServerProcess().
|
private |
Definition at line 621 of file api_e2e_utils.h.
Referenced by isProcessAlive(), startServerProcess(), and stopServer().
|
private |
Definition at line 620 of file api_e2e_utils.h.
Referenced by collectServerOutput(), startServerProcess(), and stopServer().
|
private |
Definition at line 623 of file api_e2e_utils.h.
Referenced by API_SERVER_E2E_FIXTURE(), Start(), startServerProcess(), and ~API_SERVER_E2E_FIXTURE().
|
private |
Definition at line 625 of file api_e2e_utils.h.
Referenced by collectServerOutput(), and startServerProcess().
|
private |
Definition at line 624 of file api_e2e_utils.h.
Referenced by collectServerOutput(), and startServerProcess().