public IdentifiableMemoryPersistenceTest()
        {
            if (Db == null)
            {
                return;
            }

            Db.Configure(new ConfigParams());

            var task = Db.OpenAsync(null);

            task.Wait();

            task = Db.ClearAsync(null);
            task.Wait();

            Fixture = GetFixture();
        }
Beispiel #2
0
        public IdentifiableFilePersistenceTest()
        {
            if (Db == null)
            {
                return;
            }

            Db.Configure(ConfigParams.FromTuples("path", nameof(IdentifiableFilePersistenceTest)));

            var task = Db.OpenAsync(null);

            task.Wait();

            task = Db.ClearAsync(null);
            task.Wait();

            Fixture = GetFixture();
        }