Definition at line 13 of file test_threshold.cpp.
◆ mock_space_provider()
threshold_fixture::mock_space_provider::mock_space_provider |
( |
threshold_fixture & | fixture | ) |
|
|
inline |
◆ get_space()
bfs::space_info threshold_fixture::mock_space_provider::get_space |
( |
const bfs::path & | p, |
|
|
boost::system::error_code & | ec ) const |
|
inline |
Definition at line 22 of file test_threshold.cpp.
22 {
24 }
std::function< bfs::space_info(const bfs::path &p, boost::system::error_code &ec)> mock_get_space
◆ get_stat()
int threshold_fixture::mock_space_provider::get_stat |
( |
const char * | path, |
|
|
struct stat * | buf ) const |
|
inline |
Definition at line 18 of file test_threshold.cpp.
18 {
20 }
wraps boost::filesystem::path to provide platform independent path manipulation.
std::function< int(const char *path, struct stat *buf)> mock_get_stat
◆ fixture
The documentation for this struct was generated from the following file: