|
KiCad PCB EDA Suite
|
#include <boost/test/unit_test.hpp>#include <lockfile.h>#include <wildcards_and_files_ext.h>#include <wx/ffile.h>#include <wx/filefn.h>#include <wx/filename.h>#include <wx/utils.h>Go to the source code of this file.
Functions | |
| BOOST_AUTO_TEST_CASE (AcquireFreshLock) | |
| BOOST_AUTO_TEST_CASE (ForeignLockNotOwned) | |
| BOOST_AUTO_TEST_CASE (EmptyStaleLockIsReclaimable) | |
| BOOST_AUTO_TEST_CASE (CorruptStaleLockIsReclaimable) | |
| BOOST_AUTO_TEST_CASE | ( | AcquireFreshLock | ) |
Definition at line 69 of file test_lockfile.cpp.
References BOOST_AUTO_TEST_CASE(), BOOST_REQUIRE(), LOCKFILE::Locked(), and LOCKFILE::Valid().
| BOOST_AUTO_TEST_CASE | ( | CorruptStaleLockIsReclaimable | ) |
Definition at line 127 of file test_lockfile.cpp.
References LOCKFILE::GetHostname(), LOCKFILE::GetUsername(), LOCKFILE::IsLockedByMe(), and LOCKFILE::Valid().
| BOOST_AUTO_TEST_CASE | ( | EmptyStaleLockIsReclaimable | ) |
Definition at line 107 of file test_lockfile.cpp.
References LOCKFILE::IsLockedByMe(), LOCKFILE::OverrideLock(), and LOCKFILE::Valid().
| BOOST_AUTO_TEST_CASE | ( | ForeignLockNotOwned | ) |
Definition at line 87 of file test_lockfile.cpp.
References BOOST_CHECK_EQUAL(), LOCKFILE::GetHostname(), LOCKFILE::GetUsername(), LOCKFILE::IsLockedByMe(), and LOCKFILE::Valid().