Beispiel #1
0
        public void SettingsWriteRead()
        {
            var settings = new NonRoamingUserSettings();
            settings.SalomePath = "adsfasd fasdf asdf asdf";
            settings.Destroy();
            settings.Save();

            var settings2 = new NonRoamingUserSettings();
            Assert.IsNull(settings2.SalomePath);
            settings2.Read();
            Assert.AreEqual(settings.SalomePath, settings2.SalomePath);
        }
Beispiel #2
0
 public void SettingsReadNonExisting()
 {
     var settings = new NonRoamingUserSettings();
     settings.Destroy();
     settings.Read();
 }