|
KiCad PCB EDA Suite
|
#include <boost/test/unit_test.hpp>#include <wx/process.h>#include <wx/txtstrm.h>#include <wx/filename.h>#include <wx/dir.h>#include <wx/file.h>Go to the source code of this file.
Functions | |
| static int | executeViaShell (const wxString &aCmd, wxString &aOutput) |
| Helper that mirrors the shell-wrapping execution pattern used in JOBS_RUNNER::runSpecialExecute. | |
| BOOST_AUTO_TEST_CASE (SimpleCommand) | |
| BOOST_AUTO_TEST_CASE (GlobExpansion) | |
| BOOST_AUTO_TEST_CASE (PipeSupport) | |
| BOOST_AUTO_TEST_CASE (ExitCodePropagation) | |
| BOOST_AUTO_TEST_CASE (CommandWithSingleQuotes) | |
| BOOST_AUTO_TEST_CASE | ( | CommandWithSingleQuotes | ) |
Definition at line 172 of file test_jobs_runner.cpp.
References BOOST_CHECK_EQUAL(), executeViaShell(), and result.
| BOOST_AUTO_TEST_CASE | ( | ExitCodePropagation | ) |
Definition at line 157 of file test_jobs_runner.cpp.
References BOOST_CHECK_EQUAL(), executeViaShell(), and result.
| BOOST_AUTO_TEST_CASE | ( | GlobExpansion | ) |
Definition at line 99 of file test_jobs_runner.cpp.
References BOOST_CHECK_EQUAL(), BOOST_REQUIRE(), executeViaShell(), and result.
| BOOST_AUTO_TEST_CASE | ( | PipeSupport | ) |
Definition at line 141 of file test_jobs_runner.cpp.
References BOOST_CHECK_EQUAL(), executeViaShell(), and result.
| BOOST_AUTO_TEST_CASE | ( | SimpleCommand | ) |
Definition at line 86 of file test_jobs_runner.cpp.
References BOOST_CHECK_EQUAL(), executeViaShell(), and result.
|
static |
Helper that mirrors the shell-wrapping execution pattern used in JOBS_RUNNER::runSpecialExecute.
Returns the exit code and captures stdout into aOutput.
Definition at line 44 of file test_jobs_runner.cpp.
References executeViaShell(), process, and result.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), and executeViaShell().