public void CommonPreferences_ReturnsFilePreferenceStoreInCommonAppData() { var manager = new FilePreferenceManager(); var preferenceStore = (FilePreferenceStore)manager.CommonPreferences; Assert.AreEqual(SpecialPathPolicy.For("Preferences").GetCommonApplicationDataDirectory(), preferenceStore.PreferenceStoreDir); }
public void CommonPreferences_ReturnSameInstanceEachTime() { var manager = new FilePreferenceManager(); Assert.AreSame(manager.CommonPreferences, manager.CommonPreferences); }
public void RoamingUserPreferences_ReturnSameInstanceEachTime() { var manager = new FilePreferenceManager(); Assert.AreSame(manager.RoamingUserPreferences, manager.RoamingUserPreferences); }