|
KiCad PCB EDA Suite
|
A repository holding one committed file, with the project at its root. More...
Public Member Functions | |
| GIT_IGNORE_FIXTURE () | |
| void | writeFile (const wxString &aFile, const wxString &aContent) |
| std::map< wxString, FileStatus > | reported (KIGIT_COMMON &aCommon, bool aChangedOnly) |
| What the status reports, keyed by repository relative path. | |
| std::map< wxString, FileStatus > | changes (KIGIT_COMMON &aCommon) |
| What the commit list offers, which is changes only. | |
| std::map< wxString, FileStatus > | treeStatus (KIGIT_COMMON &aCommon) |
| What the project tree is built from, ignored paths included. | |
| wxFileName | ignoreFile () const |
| virtual wxString | projectPath () const |
| The project directory, which is where its ignore file belongs. | |
| git_repository * | repo () const |
| virtual | ~GIT_IGNORE_FIXTURE ()=default |
| wxString | rules () const |
| const wxString & | TempPath () const |
| LIBGIT_BACKEND * | Backend () const |
Protected Attributes | |
| KIGIT::GitRepositoryPtr | m_repo |
| wxString | m_repoPath |
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_originalCwd |
| wxString | m_tempPath |
A repository holding one committed file, with the project at its root.
Definition at line 50 of file test_kigit_ignore.cpp.
|
inline |
Definition at line 52 of file test_kigit_ignore.cpp.
References KI_TEST::CommitAllGitFiles(), KI_TEST::InitGitRepository(), m_repo, m_repoPath, KI_TEST::GIT_TEST_FIXTURE::TempPath(), TEST_AUTHOR_EMAIL, TEST_AUTHOR_NAME, and writeFile().
|
virtualdefault |
|
inlineinherited |
Definition at line 102 of file git_test_fixture.h.
References m_backend.
|
inline |
What the commit list offers, which is changes only.
Definition at line 84 of file test_kigit_ignore.cpp.
References reported().
|
inline |
Definition at line 91 of file test_kigit_ignore.cpp.
References KIGIT::ProjectIgnoreFile(), and projectPath().
Referenced by rules().
|
inlinevirtual |
The project directory, which is where its ignore file belongs.
Reimplemented in GIT_IGNORE_SUBDIR_FIXTURE.
Definition at line 94 of file test_kigit_ignore.cpp.
References m_repoPath.
Referenced by ignoreFile().
|
inline |
Definition at line 96 of file test_kigit_ignore.cpp.
References git_repository, and m_repo.
|
inline |
What the status reports, keyed by repository relative path.
Definition at line 69 of file test_kigit_ignore.cpp.
References GIT_STATUS_HANDLER::GetFileStatus(), GIT_STATUS_HANDLER::GetWorkingDirectory(), and path.
Referenced by changes(), and treeStatus().
|
inline |
Definition at line 100 of file test_kigit_ignore.cpp.
References BOOST_REQUIRE(), and ignoreFile().
|
inlineinherited |
Definition at line 101 of file git_test_fixture.h.
References m_tempPath.
Referenced by GIT_BACKEND_FIXTURE::GIT_BACKEND_FIXTURE(), GIT_COMPARE_FIXTURE::GIT_COMPARE_FIXTURE(), GIT_IGNORE_FIXTURE::GIT_IGNORE_FIXTURE(), GIT_BACKEND_FIXTURE::tempBase(), VCS_TEST_FIXTURE::tempDir(), and VCS_TEST_FIXTURE::VCS_TEST_FIXTURE().
|
inlinestaticprivateinherited |
Definition at line 105 of file git_test_fixture.h.
Referenced by GIT_TEST_FIXTURE().
|
inline |
What the project tree is built from, ignored paths included.
Definition at line 88 of file test_kigit_ignore.cpp.
References reported().
|
inline |
Definition at line 62 of file test_kigit_ignore.cpp.
References m_repoPath, and KI_TEST::WriteGitFile().
Referenced by GIT_IGNORE_FIXTURE().
|
privateinherited |
Definition at line 115 of file git_test_fixture.h.
Referenced by Backend().
|
privateinherited |
Definition at line 117 of file git_test_fixture.h.
Referenced by GIT_TEST_FIXTURE().
|
privateinherited |
Definition at line 118 of file git_test_fixture.h.
Referenced by GIT_TEST_FIXTURE().
|
privateinherited |
Definition at line 119 of file git_test_fixture.h.
Referenced by GIT_TEST_FIXTURE(), and ~GIT_TEST_FIXTURE().
|
protected |
Definition at line 114 of file test_kigit_ignore.cpp.
Referenced by GIT_IGNORE_FIXTURE(), and repo().
|
protected |
Definition at line 115 of file test_kigit_ignore.cpp.
Referenced by GIT_IGNORE_FIXTURE(), projectPath(), GIT_IGNORE_SUBDIR_FIXTURE::projectPath(), and writeFile().
|
privateinherited |
Definition at line 116 of file git_test_fixture.h.
Referenced by GIT_TEST_FIXTURE().
|
privateinherited |
Definition at line 120 of file git_test_fixture.h.
Referenced by GIT_TEST_FIXTURE(), and TempPath().