7 Commits
Author SHA1 Message Date
Eberhard Beilharz 63a8b08dd7 [System] Improve ApplicationSettingsBase behavior (#6272)
* [System] Add unit test for Xamarin-2315

* [System] Use temporary directory for saving settings files

This change modifies the ApplicationSettingsBaseTests so that they
store the settings files in a temporary directory. This reduces
the risk of failed tests because of stale files from previous test
run, or from a build that runs in parallel.

* [System] Improve Settings behavior (Xamarin-15818)

Improve behavior of ApplicationSettingsBase class to match Windows .NET
more closely.
* Implement Upgrade to allow Upgrading of settings
* Make SettingsPropertyValue serialization work for complex objects
* Make Save and Update throw in unimplemented configurations
* Changed Reload to clear PropertyValues so they are reloaded
  and fire PropertyChanged event for all Properties
* Modified Reset to do what Reload used to do.
* Added a backup Type loading for custom SettingsProviders
* don't call SettingsSaving on Reset()

* [System] Fire SettingsSaving event (Xamarin-2315)

When calling ApplicationSettingsBase.Save() the SettingsSaving
event has to be fired.

* [System] Add unit tests for Xamarin-15818
2018-01-05 13:08:20 +01:00
Alexander Köplinger 746650d1b9 [bcl] Remove more NET_2_0 checks from class libs 2015-01-17 05:45:39 +01:00
Vladimir Krasnov 0351fb9bb7 fixed IsDirty Property, added tests for IsDirty Property
svn path=/trunk/mcs/; revision=70991
2007-01-14 17:36:58 +00:00
Vladimir Krasnov ad5aea3412 * SettingsPropertyValueTest.cs: added tests of default value deserealization
svn path=/trunk/mcs/; revision=70666
2007-01-08 17:11:09 +00:00
Vladimir Krasnov a3eddc657e * SettingsPropertyValue.cs: fixed PropertyValue property when it should be deserialized
* SettingsPropertyValueTest.cs: added tests of value deserealization

svn path=/trunk/mcs/; revision=67369
2006-11-05 11:53:45 +00:00
Chris Toshok 33538744aa fix up the System.Configuration unit tests.
svn path=/trunk/mcs/; revision=60337
2006-05-05 19:55:30 +00:00
Chris Toshok aab0f2a29a 2005-09-20 Chris Toshok <[email protected]>
* System.Configuration/SettingsPropertyValueCollectionTest.cs: new
	test.

	* System.Configuration/SettingsPropertyCollectionTest.cs: new
	test.

	* System.Configuration/SettingsPropertyValueTest.cs: new test.


svn path=/trunk/mcs/; revision=50333
2005-09-20 21:04:56 +00:00