public void DefaultSettings()
        {
            var defaultSettings = BinaryRepositorySettings.DefaultFor(Directory);
            var comparer        = new BinaryEqualsComparer <IRepositorySettings>();

            Assert.IsTrue(comparer.Equals(defaultSettings, Repository.Settings));
        }
Esempio n. 2
0
        protected override IRepository Create()
        {
            var settings = BinaryRepositorySettings.DefaultFor(Directory);

            return(new BinaryRepository(settings));
        }
        protected override IRepository Create()
        {
            var settings = new BinaryRepositorySettings(Directory, true, true, null, ".cfg", ".tmp");

            return(new BinaryRepository(settings));
        }