Ejemplo n.º 1
0
		public StorageTest()
		{
			var configuration = new InMemoryRavenConfiguration
			{
				FileSystemDataDirectory = "test",
				Settings = new NameValueCollection()
			};

			IOExtensions.DeleteDirectory("test");
			transactionalStorage = new TransactionalStorage(configuration);
			transactionalStorage.Initialize();
		}
Ejemplo n.º 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();
		}
Ejemplo n.º 3
0
		public PagesTests()
		{
			IOExtensions.DeleteDirectory("test");
			storage = new TransactionalStorage("test", metadataWithEtag);
			storage.Initialize();
		}
Ejemplo n.º 4
0
		public StorageTest()
		{
			IOExtensions.DeleteDirectory("test");
			transactionalStorage = new TransactionalStorage("test", new NameValueCollection());
			transactionalStorage.Initialize();
		}