18 lines
547 B
C++
18 lines
547 B
C++
#pragma once
|
|
#ifndef TEST_FSPP_FUSE_FSTAT_TESTUTILS_FUSEFSTATTEST_H_
|
|
#define TEST_FSPP_FUSE_FSTAT_TESTUTILS_FUSEFSTATTEST_H_
|
|
|
|
#include "../../../testutils/FuseTest.h"
|
|
|
|
class FuseFstatTest: public FuseTest {
|
|
public:
|
|
int CreateFile(const TempTestFS *fs, const std::string &filename);
|
|
int CreateFileReturnError(const TempTestFS *fs, const std::string &filename);
|
|
void OnCreateAndOpenReturnFileDescriptor(const char *filename, int descriptor);
|
|
private:
|
|
int CreateFileAllowErrors(const TempTestFS *fs, const std::string &filename);
|
|
};
|
|
|
|
|
|
#endif
|