2014-11-28 15:54:18 +01:00
|
|
|
#pragma once
|
2015-10-15 13:04:57 +02:00
|
|
|
#ifndef MESSMER_FSPP_TEST_FUSE_MKDIR_TESTUTILS_FUSEMKDIRTEST_H_
|
|
|
|
#define MESSMER_FSPP_TEST_FUSE_MKDIR_TESTUTILS_FUSEMKDIRTEST_H_
|
2014-11-28 15:54:18 +01:00
|
|
|
|
2015-02-17 00:48:49 +01:00
|
|
|
#include "../../../testutils/FuseTest.h"
|
2014-11-28 15:54:18 +01:00
|
|
|
|
|
|
|
class FuseMkdirTest: public FuseTest {
|
|
|
|
public:
|
|
|
|
const char *DIRNAME = "/mydir";
|
|
|
|
|
|
|
|
void Mkdir(const char *dirname, mode_t mode);
|
2014-12-06 15:33:01 +01:00
|
|
|
int MkdirReturnError(const char *dirname, mode_t mode);
|
2014-11-28 15:54:18 +01:00
|
|
|
|
2015-04-25 03:26:59 +02:00
|
|
|
::testing::Action<void(const char*, mode_t, uid_t, gid_t)> FromNowOnReturnIsDirOnLstat();
|
2014-11-28 15:54:18 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|