public virtual void Test()
		{
			IEmbeddedConfiguration config = Db4oEmbedded.NewConfiguration();
			config.File.Storage = new MemoryStorage();
			EmbeddedConfigurationItemIntegrationTestCase.DummyConfigurationItem item = new EmbeddedConfigurationItemIntegrationTestCase.DummyConfigurationItem
				(this);
			config.AddConfigurationItem(item);
			IEmbeddedObjectContainer container = Db4oEmbedded.OpenFile(config, string.Empty);
			item.Verify(config, container);
			container.Close();
		}
Esempio n. 2
0
        public virtual void Test()
        {
            IEmbeddedConfiguration config = Db4oEmbedded.NewConfiguration();

            config.File.Storage = new MemoryStorage();
            EmbeddedConfigurationItemIntegrationTestCase.DummyConfigurationItem item = new EmbeddedConfigurationItemIntegrationTestCase.DummyConfigurationItem
                                                                                           (this);
            config.AddConfigurationItem(item);
            IEmbeddedObjectContainer container = Db4oEmbedded.OpenFile(config, string.Empty);

            item.Verify(config, container);
            container.Close();
        }