Commit Graph
29 Commits
Author SHA1 Message Date
Alexander Köplinger 48e112d652 [Cleanup] Removed TARGET_JVM
It was once part of a special Java target profile, but this is no longer used today.
2014-08-08 03:28:34 +02:00
Atsushi Eno 05d46a8fc9 fix bug #8533 - more than one user config section should be generated in ApplicationSettingsBase.Save().
Patch by Kei Nakazawa.
2012-11-27 19:49:19 +09:00
Atsushi Eno 2ce799595e fix xbc bug #8592: Make sure to reload configuration when Reset() was invoked.
Patch by Kei Nakazawa.
2012-11-27 16:13:30 +09:00
Rodrigo Kumpera eeb6c66e9c Fix compilation of System.Configuration test suite. 2012-03-21 18:25:32 -03:00
Marek Safar 4bdd2d7170 Fix few unit tests 2012-03-15 14:06:46 +00:00
Zoltan Varga 6bd1461883 Fix running of tests under net 4.0. 2010-08-18 12:00:20 +02:00
Gonzalo Paniagua Javier f272f2d0a7 2009-08-31 Gonzalo Paniagua Javier <[email protected]>
* CustomizableFileSettingsProvider.cs: reset the property value
	instead of using the DefaultValue.
	* SettingsPropertyValue.cs: new Reset() method.
	* ApplicationSettingsBase.cs: Reset happens in Reload().
	Patch by Andrew Kurochka that fixes bug #532180.


svn path=/trunk/mcs/; revision=140950
2009-08-31 09:20:07 +00:00
Gert Driesen 93ff28fda8 * System_test.dll.sources: Added ConfigXmlDocumentTest.cs.
* ConfigXmlDocumentTest.cs: Added test for Load (String).
* ConfigXmlDocument.cs: Dispose XmlTextReader in Load (String).

svn path=/trunk/mcs/; revision=112958
2008-09-14 16:39:17 +00:00
Gert Driesen 4323fbeaeb Moved ProviderCollectionTest.cs from System assembly to System.Configuration.
svn path=/trunk/mcs/; revision=112950
2008-09-14 12:17:43 +00:00
Gert Driesen f229ae8876 * ApplicationSettingsBaseTest.cs: Fixed line endings.
svn path=/trunk/mcs/; revision=106584
2008-06-25 17:22:56 +00:00
Gert Driesen c2e45d79b9 * ConfigurationExceptionTest.cs: Added ctor tests.
* System_test.dll.sources: Added ConfigurationExceptionTest.cs.
* ConfigurationExceptionTest.cs: Removed local bareMessage field, and
use base.Message instead. Fixed default cor to invoke String ctor of 
SystemException. Fixed Message property to only add filename if not
null or zero-length string, and only add line if not zero.

svn path=/trunk/mcs/; revision=106582
2008-06-25 17:18:35 +00:00
Arina Itkes e86d0f17f3 TARGET_JVM: return flow to the version before revision 80469
svn path=/trunk/mcs/; revision=88815
2007-11-04 10:30:24 +00:00
Atsushi Eno 6e4bd7db9e 2007-06-13 Atsushi Enomoto <[email protected]>
* SettingsContext.cs : add internal CurrentSettings property to
	  make current ApplicationSettingsBase accessible.
	* ApplicationSettingsBase.cs : use above.
	* SettingValueElement.cs : implement SerializeToXmlElement().

	* SettingElementTest.cs : test initial Value.


svn path=/trunk/mcs/; revision=79466
2007-06-13 17:50:52 +00:00
Atsushi Eno 7bd45eeed6 2007-05-31 Atsushi Enomoto <[email protected]>
* ApplicationSettingsBaseTest.cs : NotWorking Providers().


svn path=/trunk/mcs/; revision=78298
2007-05-31 04:47:31 +00:00
Atsushi Eno 9274590c24 2007-05-30 Atsushi Enomoto <[email protected]>
* SettingsBase.cs : property values are filled only when each
	  property is accessed. It should not use virtual providers,
	  properties or context internally since they could be overriden.
	* SettingsPropertyValue.cs : to serialize value as string, use
	  TypeConverter as well (as deserialization).
	* SettingsProviderCollection.cs : (Add) null arg check.

	* SettingsBaseTest.cs : new test.
	* ApplicationSettingsBaseTest.cs : added Providers().

	* System_test.dll.sources : added SettingsBaseTest.cs.


svn path=/trunk/mcs/; revision=78181
2007-05-30 10:03:57 +00:00
Atsushi Eno 7751017b80 2007-05-28 Atsushi Enomoto <[email protected]>
* SettingElementTest.cs : blame catch.


svn path=/trunk/mcs/; revision=78055
2007-05-28 13:10:18 +00:00
Atsushi Eno bd86f2a379 2007-05-28 Atsushi Enomoto <[email protected]>
* SettingElement.cs : fix default value (null->"").
	* SettingElementCollection.cs : implemented all.

	* SettingElementTest.cs : new test.

	* System_test.dll.sources : added SettingElementTest.cs.


svn path=/trunk/mcs/; revision=78053
2007-05-28 12:55:15 +00:00
Atsushi Eno 32f699f7ec 2007-05-28 Atsushi Enomoto <[email protected]>
* SettingsProviderAttribute.cs :
	  Return assembly qualified name. Check null args.
	* ConfigXmlDocument.cs : it implements IConfigErrorInfo.

	* ApplicationSettingsBaseTest.cs : enable working test.


svn path=/trunk/mcs/; revision=78043
2007-05-28 10:31:33 +00: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
Sebastien Pouliot 167af54e3c 2006-11-09 Sebastien Pouliot <[email protected]>
* ApplicationSettingsBaseTest.cs: Added test case for StringCollection
	properties (that encode the string list in XML).


svn path=/trunk/mcs/; revision=67598
2006-11-09 14:58:40 +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
Atsushi Eno fde86f617c 2006-06-29 Atsushi Enomoto <[email protected]>
* ApplicationSettingsBase.cs : When we use default value, convert it
	  to proper type. Fixed bug #78654. Patch by Gareth Pearce.

	* ApplicationSettingsBaseTest.cs : added test for bug #78654.


svn path=/trunk/mcs/; revision=62136
2006-06-29 05:06:20 +00:00
Atsushi Eno 73e29a4fb9 2006-05-17 Atsushi Enomoto <[email protected]>
* SettingsPropertyCollection.cs : implemented some synchronization
	  releated members. Actually it can never be synchronized by itself.
	* SettingsBase.cs : Synchronized() just returns the same instance,
	  marking it as IsSynchronized = true. Fixed bug #78430.

	* LocalFileSettingsProviderTest.cs : commented some lines in
	  Initialized() as they don't work under .NET.
	* ApplicationSettingsBaseTest.cs : added Synchronized(), test for
	  bug #78430.

	* SwitchesTest.cs : Ignore NewSwitch under 2.0 as it fails under
	  .NET.


svn path=/trunk/mcs/; revision=60792
2006-05-17 17:20:02 +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 3a8163441e 2005-09-21 Chris Toshok <[email protected]>
* System.Configuration/ApplicationSettingsBaseTest.cs: start of
	tests.  These are going to be rather convoluted.


svn path=/trunk/mcs/; revision=50401
2005-09-21 18:44:24 +00:00
Chris Toshok 9c7fe5c926 2005-09-20 Chris Toshok <[email protected]>
* System.Configuration/ProviderCollectionTest.cs: new test.


svn path=/trunk/mcs/; revision=50349
2005-09-21 01:02:21 +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
Chris Toshok 6bc171891a 2005-09-19 Chris Toshok <[email protected]>
* System.Configuration/SettingsPropertyTest.cs: new tests.


svn path=/trunk/mcs/; revision=50254
2005-09-19 18:50:23 +00:00