libcryfs/test/fuse/mkdir/testutils/FuseMkdirTest.h
2015-04-25 03:26:59 +02:00

18 lines
460 B
C++

#pragma once
#ifndef TEST_FSPP_FUSE_MKDIR_TESTUTILS_FUSEMKDIRTEST_H_
#define TEST_FSPP_FUSE_MKDIR_TESTUTILS_FUSEMKDIRTEST_H_
#include "../../../testutils/FuseTest.h"
class FuseMkdirTest: public FuseTest {
public:
const char *DIRNAME = "/mydir";
void Mkdir(const char *dirname, mode_t mode);
int MkdirReturnError(const char *dirname, mode_t mode);
::testing::Action<void(const char*, mode_t, uid_t, gid_t)> FromNowOnReturnIsDirOnLstat();
};
#endif