public void DefaultSettings() { var defaultSettings = BinaryRepositorySettings.DefaultFor(Directory); var comparer = new BinaryEqualsComparer <IRepositorySettings>(); Assert.IsTrue(comparer.Equals(defaultSettings, Repository.Settings)); }
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)); }