Search in sources :

Example 1 with DefaultFileSystemRule

use of org.neo4j.test.rule.fs.DefaultFileSystemRule 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);
}
Also used : DefaultFileSystemRule(org.neo4j.test.rule.fs.DefaultFileSystemRule) EphemeralFileSystemRule(org.neo4j.test.rule.fs.EphemeralFileSystemRule) PageCacheRule(org.neo4j.test.rule.PageCacheRule)

Aggregations

PageCacheRule (org.neo4j.test.rule.PageCacheRule)1 DefaultFileSystemRule (org.neo4j.test.rule.fs.DefaultFileSystemRule)1 EphemeralFileSystemRule (org.neo4j.test.rule.fs.EphemeralFileSystemRule)1