Commit Graph
48 Commits
Author SHA1 Message Date
Darren Hoehna 66ae093fa1 Adding StringValidatorAttribute tests (dotnet/corefx#19206)
* Adding StringValidatorAttribute tests

* Removing extra line breaks


Commit migrated from https://github.com/dotnet/corefx/commit/0e900d86ffda1fcbf02fa7eb2856faa1408bfdfe
2017-05-04 23:28:15 -04:00
Stephen Toub 796eb1955a Merge pull request dotnet/corefx#19348 from Jiayili1/DisableFailedTestsFor18832
Disable failed tests for issue 18832.

Commit migrated from https://github.com/dotnet/corefx/commit/de7219ffb476051b3dd313199d62bd9f172b1020
2017-05-04 09:31:49 -04:00
FAREAST\v-lijiay bbeed6626d Disable Failed test for issue 18831.
Commit migrated from https://github.com/dotnet/corefx/commit/01cdb56ff029ed95e44bf7fb17a8177cf71ea52f
2017-05-04 02:14:10 -07:00
FAREAST\v-lijiay 616c558c4c Disable failed tests for issue 18832.
Commit migrated from https://github.com/dotnet/corefx/commit/76082ce34386eeaa03e05810732f952dcb93702e
2017-05-04 02:07:12 -07:00
Santiago Fernandez Madero 5c39b107a3 Add ConfigurationManager netfx full facade (dotnet/corefx#19224)
* Add ConfigurationManager netfx full facade


Commit migrated from https://github.com/dotnet/corefx/commit/45402b53fb2a53e7c9b0b8e818aa0f5349714786
2017-05-03 14:28:13 -07:00
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
Santiago Fernandez Madero 917354ed7f Fix unix time (dotnet/corefx#18640)
* Change Unix creation time to min(ctime, mtime)

Commit migrated from https://github.com/dotnet/corefx/commit/03691e62e92c73bc0fe511c25723bee70bedffc3
2017-04-19 15:16:22 -07:00
Eric St. John 08a06887a3 Re-enable package validation and clean up package content
Commit migrated from https://github.com/dotnet/corefx/commit/72002dbb7e3e657adaeb002feca0399d9667a54b
2017-04-18 13:28:50 -07:00
Santiago Fernandez Madero 53576168ae Disable ConfigurationSaveTest class (dotnet/corefx#18536)
Commit migrated from https://github.com/dotnet/corefx/commit/2f26a644670bd2ab09375e3c04fc3d2a21cfb88b
2017-04-17 23:45:24 -07:00
Santiago Fernandez Madero e8dbf4a2f5 Disable MonoTests.System.Configuration.ConfigurationSaveTest.NotModifiedAfterSave (dotnet/corefx#18508)
* Add ActiveIssue to MonoTests.System.Configuration.ConfigurationSaveTest.NotModifiedAfterSave

* Disable other test


Commit migrated from https://github.com/dotnet/corefx/commit/29cfa210a18b18600f02fdc2dd7ff10427354f13
2017-04-17 14:45:04 -07:00
Stephen Toub 739e23741a Disable more ConfigurationSaveTests
ModifyListElement and ModifyListElement2 have been failing with the same errors.

Commit migrated from https://github.com/dotnet/corefx/commit/0f36cab05faa931d886241b922a4a04dc3bf2c5d
2017-04-17 09:05:31 -04:00
Stephen Toub 2f37111d29 Merge pull request dotnet/corefx#18455 from safern/DisableConfigurationTest
Disable MonoTests.System.Configuration.ConfigurationSaveTest.TestElementWithCollection2

Commit migrated from https://github.com/dotnet/corefx/commit/faa08b29591ceff9ac4e2c392ee7e2e42c0501b7
2017-04-16 17:56:45 -04:00
Santiago Fernandez ebce32a593 Disable MonoTests.System.Configuration.ConfigurationSaveTest.TestElementWithCollection2
Commit migrated from https://github.com/dotnet/corefx/commit/7bd27a096f7a51d3cd6d90a19578bee85f2606cf
2017-04-16 14:53:40 -07:00
Stephen Toub 42198a2db4 Also disable AddDefaultListElement, which is also failing
Commit migrated from https://github.com/dotnet/corefx/commit/239c73fc4a4197e1ef666bed9fb2daf176bd09a7
2017-04-16 11:04:12 -04:00
Stephen Toub fb1df455c7 Disable frequently failing AddDefaultListElement2 test
Commit migrated from https://github.com/dotnet/corefx/commit/3b5f2be4bcf778e5ba9592eb34ad050c95c96c32
2017-04-16 08:49:33 -04:00
Wes Haggard 4185183e8c Updates how we define which key an assembly uses
Now instead of Use*Key a project can instead define the assembly key
in the project (genreally the common dir.pops for a project) using
the AssemblyKey property. The accepted values are Open, ECMA, MSFT,
Test.

This change allows for a repo to set the default key they want to use
for projects. In corefx we have switched the default to use the Open
key instead of the old BuildTools default of MSFT key.

As part of this update we are explicitly setting the AssemblyKey in
all the library projects (although it is really only necessary for
projects that aren't the default).

Also with this change we are updating all the new libraries that have
not yet shipped stable (compared to our 1.1 release) and making them
use the Open key. Which means that for prerelease dependencies there
might be some binary breaking changes to consume.

The following libraries ahven't shipped so there key is being
changed from MSFT to Open:
Microsoft.XmlSerializer.Generator
System.CodeDom
System.Configuration.ConfigurationManager
System.Data.Odbc
System.DirectoryServices
System.DirectoryServices.AccountManagement
System.DirectoryServices.Protocols
System.IO.Ports
System.Json
System.Memory
System.Net.HttpListener
System.Net.Mail
System.Net.ServicePoint
System.Net.WebClient
System.Net.WebProxy
System.Private.Xml
System.Private.Xml.Linq
System.Security.Cryptography.Xml
System.Security.Permissions
System.Transactions.Local
System.Web.HttpUtility


Commit migrated from https://github.com/dotnet/corefx/commit/ac09a797d09502ebab61f7167bb856846602e1e6
2017-04-10 12:51:50 -07: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
Stanislav Ushakov 6ee0b54a5a Update ConfigurationManagerTest to write to temp directory (dotnet/corefx#17384)
* Update ConfigurationManagerTest to write to temp directory

Use TempDirectory instead of the current directory where the test is running

Fix dotnet/corefx#17199

* Fixes after code review


Commit migrated from https://github.com/dotnet/corefx/commit/66f971ac90f65dd6e4e184f9fa19f5f84fb03ac2
2017-03-23 11:00:02 -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
Dan Moseley 44ac2dd747 Remove dead string resources (dotnet/corefx#16284)
Commit migrated from https://github.com/dotnet/corefx/commit/6b4423f47d5048b4c1437aaefe87859b258c89b7
2017-02-18 06:01:59 -08:00
Jeremy Kuhne a91a07647f Robustify Mono configuration tests (dotnet/corefx#16273)
Creating a temp file and deleting then rewriting over it is risky. File
deletions aren't synchronous- they are just flagged for deletion.

This change uses one of our existing temp directory classes and creates
random filenames within.

See dotnet/corefx#16270

Commit migrated from https://github.com/dotnet/corefx/commit/2c36834c5e8dd00e7aaf09cfb25717271ff16f18
2017-02-17 12:20:07 -08:00
Jon Hanna aa4b36ebfa Fix several typos (dotnet/corefx#16264)
* Fix several typos

coment → comment
rangecheck → range check
testcase → test case
deffer → defer
everytime → every time
whitespaces → whitespace (whitespace is uncountable)
white space → whitespace
white spaces → whitespace
the the → the
a → a
nametest → name test
scaned → scanned
and and → and
undecision → indecision
are no whitespace → is no whitespace
Whidbey casing
Everett casing
unkown → unknown
messsage → message
mesage → message
mesasage → message
publically → publicly (publically is attested but questionable).
exceptionto → exception to
mutatable → mutable
implemention → implementation
hadnt → hadn't
couldnt → couldn't
wouldnt → wouldn't
wont → won't
isntead → instead
preocessor → processor
particural → particular
interations → iterations
enterying → entering
stoppped → stopped
stoped → stopped
verication → verification
compuatation → computation
revisisted → revisited
partioner → partitioner
lock'ed → locked
table'd → table would
hashtable'ed → hashtabled (still coining, but tabled is analogous)
intialize → initialize
calcuate → calculate
perfom → perform
performr → perform
matthing → matching
corect → correct
thorw → throw
supress → suppress
reqeust → request
mutliple → multiple
ot → to
trival → trivial
upto → up to
specfices → specifies
patttern → pattern
descrepancy → discrepancy
explict → explicit
implict → implicit
usign → using
non-sensical → nonsensical
contination → continuation
producs → products
childred → children
parametr → parameter
approriate → appropriate
insted → instead
expection → exception
successsfully → successfully
funtion → function
unqiue → unique
apparant → apparent
expception → exception
conatined → contained
apssed → passed
propogate → propagate
cutoms → custom
currrent → current
curent → current
concurent → concurrent
coplted → completed
unexcepted → Unexpected (where the latter seems more appropriate)
to to → to
abd → and
refence → reference
particiant → participant
cuurrent → current
extratc → extract
cparticipant → participant
ehich → which
choosen → chosen
mske → make
alread → already
aquire → acquire
droppping → dropping
intial → initial
tru → true
aprticipant → participant
excption → exception
sempahore → semaphore
fileds → fields
threashold → threshold
duting → during
didnt → didn't
atribute → attribute
serliazation → serialization
localy → locally
channge → change
prperties → properties
attrbute → attribute
sentinal → sentinel
shoukd → should
existant → existent
commnent → comment
expeted → expected
propert → property
commnet → comment
datat → data
ther → the
mach → match
inhertiance → inheritance
convience → convenience
completley → completely
otheriwse → otherwise
actuall → actual
inefficent → inefficient
defalut → default
comparsion → comparison
charcters → characters
postion → position
aleady → already
charater → character
incosistent → inconsistent
seperate → separate
veify → verify
currentlly → currently
corect → correct
betwwen → between
omiting → omitting
readr → reader
compae → compare
allways → always
thown → thrown
with with → with
usecase → use case
avare → aware
lexem → lexeme
grammer → grammar
oposite → opposite
overrided → overridden
everithig → everything
chages → changes
memeber → member
proerties → properties
identifer → identifier
doesnot → does not
deriaved → derived
varialble → variable

* defered -> deferred

* Revert changes within clrcompression.

* Revert underreach → under-reach

* Fix casing broken while fixing spelling.

* Use type name instead of "Diagnostic sources"


Commit migrated from https://github.com/dotnet/corefx/commit/f0ccd9742065ee2aa296448fe3dd38ef6ff77af9
2017-02-17 10:31:00 -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
Eric StJohn 1a40c1b651 Merge pull request dotnet/corefx#16191 from ericstj/packages
Re-enable packages for BuildAllConfigurations

Commit migrated from https://github.com/dotnet/corefx/commit/9d1d63fb791e80399b008bc7ed0801fbb49c6e0b
2017-02-16 17:44:52 -05:00
Eric St. John 54181cf91b Enable package build
This turns the package build back on and fixes all packages so that
they build.

There is still work to do to fix dependencies.


Commit migrated from https://github.com/dotnet/corefx/commit/c0f0fdd87135f9fcca0d4026819d8c388c455967
2017-02-16 12:18:19 -08:00
Wes Haggard eb1f0e0530 Remove all .builds files under pkg/ref/src/tests library folders
Commit migrated from https://github.com/dotnet/corefx/commit/b60cbe5a2edb5ef3b88a7738507822d13d125d62
2017-02-15 16:32:03 -08:00
Pavel Maltsev f9aaed8708 Fix string.Format in System.Configuration.LocalFileSettingsProvider (dotnet/corefx#16159)
Commit migrated from https://github.com/dotnet/corefx/commit/09a209e42a30787404c9925eaa5fec0fadb13543
2017-02-14 14:52:22 -08:00
Eric St. John ba03538d7c Make pkgprojs reference *proj rather than builds
Commit migrated from https://github.com/dotnet/corefx/commit/0ede35ef512ac16b5dabe8c6b7b3d7d54c1c0ddb
2017-02-14 09:52:02 -08:00
Eric St. John cc939555ea Remove pkg .builds files
Commit migrated from https://github.com/dotnet/corefx/commit/361a62675ad474ac7a6c593becbc35f2cf48e6a3
2017-02-14 09:52:01 -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
Wes Haggard f2fd0ea78a Update Solution files to use windows path slashes.
Commit migrated from https://github.com/dotnet/corefx/commit/f8ba7c412d06d8e4d4e6278502d4dd771a0f10bb
2017-02-03 16:31:48 -08:00
Eric St. John c2dc83e56a Sync BuildConfiguration with project PropertyGroups
Commit migrated from https://github.com/dotnet/corefx/commit/758a0e16e8c5af8741d14043f4bef1d15a79a377
2017-02-03 08:34:24 -08:00
Wes Haggard c4e17cd362 Update all solution files using solution generation tool
Commit migrated from https://github.com/dotnet/corefx/commit/a822a266821cf79df96cdd77d2a3d44f1510d9a0
2017-02-02 15:44:45 -08:00
Wes Haggard 4effd546bc Add ProjectGuids for all projects and empty configs for projects without BuildConfigurations
Commit migrated from https://github.com/dotnet/corefx/commit/d00bb5d18ac91189b12ed2fb7131d0ff62da9034
2017-02-02 15:02:57 -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
Eric St. John 2ef0e9bfd8 Sync PropertyGroups and BuildConfigurations
Commit migrated from https://github.com/dotnet/corefx/commit/7e4792af39bd7faba20dd3390b411f3afaee3c66
2017-01-30 13:23:56 -08:00
Eric St. John 3a15f3acd6 Fix src projects for appropriate ref folder
After the change to use the appropriate references for a configuration
we needed to make sure that every library has a versionless targetgroup
so that it can build in the source build scenarios without requiring
external packages from NuGet.

For any library that is part of netstandard, its implementation should
not build against netstandard

For any library that is part of the imlpementation closure of netstandard,
its implementation should not build against netstandard (else we'd have cycles).

OpenSSL must keep its netstandard ref, however it has NETCoreApp specific API
dependencies. See https://github.com/dotnet/standard/issues/186.  As such we
need to cross-compile both src and ref for NETCoreApp.  I've moved the not-
supported assembly to be the 'netstandard' implementation.


Commit migrated from https://github.com/dotnet/corefx/commit/28097ca87cc2e8bcf7760f05732464b2c00eeaa4
2017-01-30 11:14:08 -08:00
Eric St. John d8824893ff Fix ref configurations for appropriate ref folder
For any ref that can build on top of NETStandard it should.


Commit migrated from https://github.com/dotnet/corefx/commit/3733239be954dcd9179df7d196f8a3c95e3b868b
2017-01-30 08:39:35 -08:00
Jeremy Kuhne 8752292416 Break Configuration CodeDom dependency (dotnet/corefx#15527)
- Move TempFileCollection to common folder
- Fix CodeDom.sln (needed folders for identically named projects)

Commit migrated from https://github.com/dotnet/corefx/commit/e11d6ed334725a8332ef81df195a5c35d48eb967
2017-01-27 10:58:55 -08:00
Jose Perez Rodriguez 0fe3ce3343 Fix uap Configurations for a few libraries
Commit migrated from https://github.com/dotnet/corefx/commit/5448b47abf5450fde74d06bc81de1fcc1969247d
2017-01-25 16:41:42 -08:00
Eric Mellino 09fed3c577 Merge pull request dotnet/corefx#15433 from ellismg/remove-duplicate-resource
Fix MSB3568 warning on *NIX

Commit migrated from https://github.com/dotnet/corefx/commit/09c8f97088b0fd44098ee03d0c27cb308dca2db6
2017-01-24 12:33:25 -08:00
Matt Ellis d960168a2b Fix MSB3568 warning on *NIX
We have a duplicate resource name which is causing a warning on when
the build is run on *NIX.

Remove the duplicate resource.


Commit migrated from https://github.com/dotnet/corefx/commit/8b146ac59df164f640753e9db06f1a0a49465985
2017-01-24 11:21:12 -08:00
Jose Perez Rodriguez dd708b105d Adding missing Configurations.props for refs and fixing the existing ones (dotnet/corefx#15291)
Adding missing Configurations.props for refs and fixing the existing ones

Commit migrated from https://github.com/dotnet/corefx/commit/2847e0ec9f7c9ac42d44d2bc8c6fd39e504b7a9b
2017-01-19 16:38:55 -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