|
KiCad PCB EDA Suite
|
Give each test a backend and a temporary directory. More...
#include <git_test_fixture.h>
Public Member Functions | |
| GIT_TEST_FIXTURE () | |
| const wxString & | TempPath () const |
| LIBGIT_BACKEND * | Backend () const |
Static Private Member Functions | |
| static wxString | toWxString (const std::filesystem::path &aPath) |
Private Attributes | |
| SCOPED_GIT_BACKEND | m_backend |
| SCOPED_TEMP_DIR | m_tempDir |
| SCOPED_TEMP_DIR | m_configDir |
| SCOPED_GIT_CONFIG_SEARCH_PATH | m_configSearchPath |
| wxString | m_tempPath |
Give each test a backend and a temporary directory.
Tests own their repository handles. Only repository config is read, so results do not depend on the user's global or system Git config.
Definition at line 84 of file git_test_fixture.h.
|
inline |
Definition at line 87 of file git_test_fixture.h.
References m_configDir, m_configSearchPath, m_tempDir, m_tempPath, and toWxString().
|
inline |
Definition at line 97 of file git_test_fixture.h.
References m_backend.
|
inline |
Definition at line 96 of file git_test_fixture.h.
References m_tempPath.
Referenced by GIT_BACKEND_FIXTURE::GIT_BACKEND_FIXTURE(), GIT_COMPARE_FIXTURE::GIT_COMPARE_FIXTURE(), GIT_BACKEND_FIXTURE::tempBase(), VCS_TEST_FIXTURE::tempDir(), and VCS_TEST_FIXTURE::VCS_TEST_FIXTURE().
|
inlinestaticprivate |
Definition at line 100 of file git_test_fixture.h.
Referenced by GIT_TEST_FIXTURE().
|
private |
Definition at line 110 of file git_test_fixture.h.
Referenced by Backend().
|
private |
Definition at line 112 of file git_test_fixture.h.
Referenced by GIT_TEST_FIXTURE().
|
private |
Definition at line 113 of file git_test_fixture.h.
Referenced by GIT_TEST_FIXTURE().
|
private |
Definition at line 111 of file git_test_fixture.h.
Referenced by GIT_TEST_FIXTURE().
|
private |
Definition at line 114 of file git_test_fixture.h.
Referenced by GIT_TEST_FIXTURE(), and TempPath().