* ProviderBaseTest.cs: Added tests for Initialize.
* ProviderBase.cs: Remove "description" key from NameValueCollection.
Use provider name as description if description is null or a zero
length string. Modifies exception messages to match MS.
* GenericEnumConverterTest.cs: Remove unused variable.
* ConfigurationManagerTest.cs: Fixed line endings.
* ConnectionStringSettingsTest.cs: Fixed line endings and avoid
ToString override warning.
* KeyValueConfigurationElementTest.cs: Fixed line endings.
* KeyValueConfigurationCollectionTest.cs: Fixed line endings.
svn path=/trunk/mcs/; revision=85126
* ConfigurationManager.cs : in OpenExeConfiguration() and
OpenMappedExeConfiguration(), take userLevel into consideration.
* InternalConfigurationHost.cs : consider ConfigurationUserLevel and
use correct config map file in InitForConfiguration().
* ConfigurationManagerTest.cs : Enabled some tests with related to
roaming user config. Marked some tests for negative check as
[NotWorking] (they are rather uncovered bugs than enbug).
svn path=/trunk/mcs/; revision=80335
* ConfigurationSectionGroup.cs
Configuration.cs : ConfigurationSectionGroup must be initialized
at least when being added to a collection.
* ConfigurationSectionGroupTest.cs : new (my change is with tests.)
* System.Configuration_test.dll.sources :
added ConfigurationSectionGroupTest.cs.
svn path=/trunk/mcs/; revision=79445
* ConfigurationSectionCollection.cs, ConfigurationSectionGroupCollection.cs,
PropertyInformationCollection.cs, SectionGroupInfo.cs: these collections should be based on case insensitive NameObjectCollectionBase
* added OrdinalComparer.cs for use in NameObjectCollectionBase
* t44.cs: added test for case sensitivity check
svn path=/trunk/mcs/; revision=74361
The above patch for System.Configuration includes a new standalone
test for this bug, and a fix to KeyValueInternalCollection.cs to get
the test to pass.
I think there may be more bugs revealed by the example, this just
fixes the original InvalidCastException.
Fixes bug 79097
svn path=/trunk/mcs/; revision=73784
* ConfigurationElementCollection.cs : fixed BaseAdd() with
throwIfExists to not raise an error for identical element
but for different element which shares the same key. Fix by
Konstantin Triger.
* t38.cs, t38.exe.config, t38.exe.expected : new test for duplicate
element.
* t39.cs, t39.exe.config, t39.exe.expected : new test for identical
element.
* t40.* : similar test to t38 but with Alternate collection.
* t41.* : similar test to t39 but with Alternate collection.
* Makefile : added above.
svn path=/trunk/mcs/; revision=70107
* added: ConfigurationRemoveElement.cs, common element for <remove>
* ConnectionStringSettingsCollection.cs: reverted last fix for <remove> element
* ConfigurationElementCollection.cs: fixed the way that OnDeserializeUnrecognizedElement method handles <remove> element
* t37.cs, t37.exe.config, t37.exe.expected: added some tests for <remove> element
svn path=/trunk/mcs/; revision=67370
* ConfigurationElementCollection.cs, ConnectionStringSettingsCollection.cs: fixed <remove> element in connectionStrings section
* t37.cs, t37.exe.config, t37.exe.expected: new test for <remove> bug in connectionStrings section
svn path=/trunk/mcs/; revision=64918
* ConfigurationManager.cs : OpenExeConfiguration(null) should still
work. This is required for embedded scenario.
* ConfigurationManagerTest.cs :
OpenExeConfiguration(null) should be allowed.
svn path=/trunk/mcs/; revision=62342
* Configuration.cs : configPath is null for machine.config, so don't
use it. Use streamName instead. To my understanding, this should
fix bug #78372.
* ConfigurationManagerTest.cs :
added test for OpenMachineConfiguration().
svn path=/trunk/mcs/; revision=60616
* ConnectionStringSettings.cs : it seems that "name" property
could be null i.e. there is no StringValidator.
* StringValidator.cs : allow null.
* StringValidatorTest.cs : added NullZero().
svn path=/trunk/mcs/; revision=60516
* t36.cs, t36-lib.cs, t36.exe.config, t36.exe.expected :
new test for bug #77236.
* Makefile : added a trick for building this test.
svn path=/trunk/mcs/; revision=60513
* Makefile : add -r:System.Configuration under net_2_0.
* ConfigurationSettings.cs : use ConfigurationManager.GetConfig()
in its GetConfig(). No need to change AppSettings and
Default.GetConfig() behavior here.
* t35.cs, t35.exe.config, t35.exe.expected :
new test, largely from bug #78337.
* ConfigurationManagerTest.cs :
added GetSectionReturnsNativeObject().
* ConfigurationElement.cs,
DefaultSection.cs :
in some cases RawXml was set null string, so skip such cases.
* Configuration.cs : support IConfigurationSectionHandler here.
* ConfigurationManager.cs : GetSection() now returns name value
collection, not a section.
* ConfigurationSection.cs : added SectionHandler for
IConfigurationSectionHandler support, and use its Create() in
GetRuntimeObject().
* ClientConfigurationSystem.cs :
use GetRuntimeObject() in GetSection(). Thus now
ConfigurationManager.GetSection() returns a runtime object.
Fixed bug #78337.
svn path=/trunk/mcs/; revision=60483
* SectionGroupInfo.cs :
sections which are defined in sectionGroups could be directly
referenced, so search corresponding section recursively.
* DefaultSection.cs : It does not reject unrecognized contents.
* t33.cs, t33.exe.config, t33.exe.expected,
t34.cs, t34.exe.config, t34.exe.expected,
Makefile : new tests.
svn path=/trunk/mcs/; revision=60042
* t16.exe.result
t17.exe.result
t18.exe.result : removed.
* t32.cs
t32.exe.expected
t32.exe.config : new test from bug #77957.
* Makefile : use diff --strip-trailing-cr instead of cmp so that
it works fine on windows.
(added ChangeLog as well.)
svn path=/trunk/mcs/; revision=59986
* System.Configuration/ConnectionStringSettingsTest.cs: new tests.
we fail a couple, due to the fact that it seems StringValidator on
MS (at least in this case) doesn't actually check the MinLength
requirement when the value is null. I'm a bit confused by this.
* System.Configuration/StringValidatorTest.cs: add a null
validation check.
svn path=/trunk/mcs/; revision=53867