Commit Graph
11 Commits
Author SHA1 Message Date
Darren Hoehna fabcc955ce Testing the System.Configuration.ConfigurationManager.StringValidator class (dotnet/corefx#18642)
* Adding tests

* Adding tests for Validate

* Adding tests for the Validate method

* Removing a compile directive

* Re adding the compiler directive since the branch still can't automatically merge.

* Removed the wrong exception statement.  I re-added them.

* Removing inline data, replaced with member data.

* SImplfying boolean tests.

* Testing contructors with reflections

* Removing tests that use reflections


Commit migrated from https://github.com/dotnet/corefx/commit/964da1015dc5460b93dd94350fb982df81c301e9
2017-04-26 07:24:34 -04:00
Darren Hoehna f544bfc0fb Adding tests for the SubclassTypeValidatorAttribute class. (dotnet/corefx#17908)
* Adding tests

* COnslodating tests into one theory.


Commit migrated from https://github.com/dotnet/corefx/commit/4fa40fe6d51f9637a983da75c5c812e2152e23d4
2017-04-05 22:43:35 -04:00
Darren Hoehna 0b98d53e21 Adding tests for the TimeSpanValidator class (dotnet/corefx#17694)
* Adding the TimeSpanValidatorAttributeTests class.  Yeah.

* Forgot the csproj file

* Starting adding tests.

* Adding MaxValueString tests.

* Adding ExcludedRange tests.

* Adding GetMinValue

* Switching computers

* Removing 0

* CHanging a name of a file

* Removing the incorrectly named file.\

* Adding test for a too big max value

* Adding test for a too big max value

* Removing unused usings

* Fixing some merge comments.


Commit migrated from https://github.com/dotnet/corefx/commit/0c7359586614c5e0b3001e0f39d70c6e19c7782d
2017-03-30 14:50:40 -07:00
Darren Hoehna c39c8c436c Adding tests for System.Configuration.ConfigurationManager.UrlPath (dotnet/corefx#16984)
* Adding GetDirectoryOrRootName tests.

* Adding tests for EqualOrSubDirectory, messing with params

* Finishing or IsEqualOrSubDirectory().

* Using TempDirectory and TempFile instead of the exe path.

* Fixing typo.

* Removing constants.

* Removing TempDirectory and TempFile.  They were making tests on different OSs fail.

* Removing adding a slash to the end of the return value of GetDirectoryOrRoot.

* Fixing types

* Removing blank line to make spacing uniform.


Commit migrated from https://github.com/dotnet/corefx/commit/e4e417440e7aa658891ab4cf4cd1923adf4a08d5
2017-03-21 09:51:31 -07:00
Pavel Maltsev ee7438969a Add tests for System.Configuration.NameValueConfigurationCollection (dotnet/corefx#16434)
Commit migrated from https://github.com/dotnet/corefx/commit/73b47a2a44a52e6fb0e61f9c483f33e88a170c09
2017-02-24 10:55:13 -08:00
Pavel Maltsev 0cb1b32cc8 Tests for System.Configuration.ApplicationSettingsBase class (dotnet/corefx#16304)
* Tests for System.Configuration.ApplicationSettingsBase class

* Typo fixed


Commit migrated from https://github.com/dotnet/corefx/commit/9576ed4fa15022b802950880dc9c44647cb3769f
2017-02-23 17:26:55 -08:00
Pavel Maltsev c511611667 Fix for System.Configuration.SettingsPropertyValue (dotnet/corefx#16239)
Commit migrated from https://github.com/dotnet/corefx/commit/35a3c5802f2a34c28ffbf3dfad70cd373c2b9f33
2017-02-16 20:20:18 -08:00
Pavel Maltsev 1f06be1def Add tests for System.Configuration.UriSection (dotnet/corefx#15832)
Commit migrated from https://github.com/dotnet/corefx/commit/cfed28ccb666fdf99cf45600f03c826c133f6567
2017-02-07 10:03:07 -08:00
Pavel Maltsev b827fa46ee Add tests for Configuration SectionGroups (dotnet/corefx#15794)
Commit migrated from https://github.com/dotnet/corefx/commit/262c16719587fdd61ad6ae26497daab52703bda2
2017-02-04 18:05:06 -08:00
Pavel Maltsev 09eb3661fe Added test for ConnectionStrings section read (dotnet/corefx#15701)
Commit migrated from https://github.com/dotnet/corefx/commit/3ad5098ea0b72d6d3f7452e3b96be897ceaa3149
2017-02-01 17:48:01 -08:00
Jeremy Kuhne 6ac91dc88f Rename System.Configuration (dotnet/corefx#15256)
* Rename System.Configuration folder

Changing the name of System.Configuration to
System.Configuration.ConfigurationManager. This change renames the folder.

* Rename files and change code

Rename the project files and change assembly name usages to match the new
assembly name.

* Merge in solution changes


Commit migrated from https://github.com/dotnet/corefx/commit/a8dce7c1c905e994c9519e0f26b0497832942a10
2017-01-17 16:12:23 -08:00