Пример #1
0
		public StorageTest()
		{
			var configuration = new InMemoryRavenConfiguration
			{
				FileSystemDataDirectory = "test",
				Settings = new NameValueCollection()
			};

			IOExtensions.DeleteDirectory("test");
			transactionalStorage = new TransactionalStorage(configuration);
			transactionalStorage.Initialize();
		}
Пример #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();
		}
Пример #3
0
		public PagesTests()
		{
			IOExtensions.DeleteDirectory("test");
			storage = new TransactionalStorage("test", metadataWithEtag);
			storage.Initialize();
		}
Пример #4
0
		public StorageTest()
		{
			IOExtensions.DeleteDirectory("test");
			transactionalStorage = new TransactionalStorage("test", new NameValueCollection());
			transactionalStorage.Initialize();
		}