libcryfs/src/fspp/fstest/FsppOpenFileTest.h

33 lines
736 B
C
Raw Normal View History

2015-10-15 13:04:57 +02:00
#pragma once
2015-03-19 05:37:44 +01:00
#ifndef MESSMER_FSPP_FSTEST_FSPPOPENFILETEST_H_
#define MESSMER_FSPP_FSTEST_FSPPOPENFILETEST_H_
#include "testutils/FileTest.h"
2015-03-19 05:37:44 +01:00
template<class ConcreteFileSystemTestFixture>
class FsppOpenFileTest: public FileTest<ConcreteFileSystemTestFixture> {
2015-03-19 05:37:44 +01:00
public:
};
TYPED_TEST_CASE_P(FsppOpenFileTest);
TYPED_TEST_P(FsppOpenFileTest, Bla) {
//TODO
}
REGISTER_TYPED_TEST_CASE_P(FsppOpenFileTest,
Bla
);
2015-03-19 05:38:00 +01:00
//TODO Test stat
//TODO Test truncate
//TODO Test read
//TODO Test write
//TODO Test flush
//TODO Test fsync
//TODO Test fdatasync
//TODO Test stat on file that was just created (i.e. the OpenFile instance returned by createAndOpenFile)
//TODO Test all operations do (or don't) affect file timestamps correctly
2015-03-19 05:38:00 +01:00
2015-03-19 05:37:44 +01:00
#endif