use of org.neo4j.test.rule.fs.EphemeralFileSystemRule in project neo4j by neo4j.
the class StoreFilesWithRealFileSystemTest method createRules.
@Override
protected void createRules() {
testDirectory = TestDirectory.testDirectory(StoreFilesTest.class);
DefaultFileSystemRule defaultFileSystemRule = new DefaultFileSystemRule();
fileSystemRule = defaultFileSystemRule::get;
hiddenFileSystemRule = new EphemeralFileSystemRule();
pageCacheRule = new PageCacheRule();
rules = RuleChain.outerRule(defaultFileSystemRule).around(testDirectory).around(hiddenFileSystemRule).around(pageCacheRule);
}
use of org.neo4j.test.rule.fs.EphemeralFileSystemRule in project neo4j by neo4j.
the class StoreFilesTest method createRules.
protected void createRules() {
testDirectory = TestDirectory.testDirectory(StoreFilesTest.class);
EphemeralFileSystemRule ephemeralFileSystemRule = new EphemeralFileSystemRule();
fileSystemRule = ephemeralFileSystemRule;
hiddenFileSystemRule = new EphemeralFileSystemRule();
pageCacheRule = new PageCacheRule();
rules = RuleChain.outerRule(ephemeralFileSystemRule).around(testDirectory).around(hiddenFileSystemRule).around(pageCacheRule);
}
Aggregations