Exemple #1
0
		public StorageTest()
		{
			var configuration = new InMemoryRavenConfiguration
			{
				FileSystemDataDirectory = "test",
				Settings = new NameValueCollection()
			};

			IOExtensions.DeleteDirectory("test");
			transactionalStorage = new TransactionalStorage(configuration);
			transactionalStorage.Initialize();
		}
Exemple #2
0
		public PagesTests()
		{
			var configuration = new InMemoryRavenConfiguration
			{
				FileSystemDataDirectory = "test",
				Settings = new NameValueCollection
				           {
					           { "ETag", Guid.Empty.ToString() }
				           }
			};

			IOExtensions.DeleteDirectory("test");
			storage = new TransactionalStorage(configuration);
			storage.Initialize();
		}
Exemple #3
0
		public PagesTests()
		{
			IOExtensions.DeleteDirectory("test");
			storage = new TransactionalStorage("test", metadataWithEtag);
			storage.Initialize();
		}
Exemple #4
0
		public StorageTest()
		{
			IOExtensions.DeleteDirectory("test");
			transactionalStorage = new TransactionalStorage("test", new NameValueCollection());
			transactionalStorage.Initialize();
		}