public StorageTest() { var configuration = new InMemoryRavenConfiguration { Settings = new NameValueCollection(), FileSystem = { DataDirectory = "test" } }; IOExtensions.DeleteDirectory("test"); transactionalStorage = new TransactionalStorage(configuration); transactionalStorage.Initialize(); }
public StorageTest() { var configuration = new InMemoryRavenConfiguration { Settings = new NameValueCollection(), FileSystem = { DataDirectory = "test" } }; IOExtensions.DeleteDirectory("test"); transactionalStorage = new TransactionalStorage(configuration); transactionalStorage.Initialize(new UuidGenerator(), new OrderedPartCollection<AbstractFileCodec>()); }
public PagesTests() { var configuration = new InMemoryRavenConfiguration { FileSystem = { DataDirectory = "test" }, Settings = new NameValueCollection { { Constants.MetadataEtagField, Guid.Empty.ToString() } } }; IOExtensions.DeleteDirectory("test"); storage = new TransactionalStorage(configuration); storage.Initialize(); }