Commit Graph
63 Commits
Author SHA1 Message Date
Gaurav Khanna f167b0de93 Merge pull request dotnet/corefx#19842 from ericstj/incrementVersions
Increment versions post 2.0

Commit migrated from https://github.com/dotnet/corefx/commit/45d30e6bdf44d4a0e55df5a6064e8275cdf14d25
2017-05-17 12:03:29 -07:00
Morgan Brown 975ad3c685 Scale back [Serializable] CoreFX types (dotnet/corefx#19742)
* Remove SerializableAttribute from many CoreFX types that will not be serializable.

* Removes serialization tests for types that are no longer serializable and fixes serializing a couple of types. Includes marking some internal serializable types as public so that they'll be reflectible with .NET Native.

* Remove unneeded pragmas

* Update based on review comments


Commit migrated from https://github.com/dotnet/corefx/commit/6dd451f51451a7d0ceea6104b51bd17005e9a0e6
2017-05-16 18:16:29 -04:00
Eric St. John e02c675179 Increment versions post 2.0
Commit migrated from https://github.com/dotnet/corefx/commit/6c5f87319a4785499008c95b2ff5e7f13a413d22
2017-05-16 14:12:16 -07:00
Eric St. John f79b378efb Fix System.Configuration.ConfigurationManager desktop ref
The desktop reference assembly for System.Configuration.ConfigurationManager
incorrectly had typedefs rather than type forwards.

This was because it was missing a reference to System.Configuration
so none of the types in that assembly were replaced with TypeForwards.


Commit migrated from https://github.com/dotnet/corefx/commit/6df88e427411bb05b9cc6b67e30de113a468354b
2017-05-11 15:51:51 -07:00
Jeremy Kuhne 4599f929c0 Don't manually define UriSection on NetFX (dotnet/corefx#19574)
Desktop defines UriSection in the machine.config. We don't define
anything that lives outside of ConfigurationManager in the implicit
machine.config in CoreFX.

Commit migrated from https://github.com/dotnet/corefx/commit/b92843e3f0e3bc314018b3e9dc6ac53e14213d0b
2017-05-09 20:08:21 -07:00
Jeremy Kuhne f5618778fc Disable Core unit test on Desktop (dotnet/corefx#19576)
Test is unit testing a CoreFx internal implemenation

Commit migrated from https://github.com/dotnet/corefx/commit/28ecf0345716ea1a58eb6851d3a2b3c2f2d53bd0
2017-05-09 19:51:48 -07:00
Viktor Hofer 3e81e922b1 Disabling xunit AppDomain in System.Configuration.ConfigurationManager in favor of consistent BaseDirectory path behavior (dotnet/corefx#19546)
* Disabled xunit AppDomain in favor of consistent BaseDirectory behavior

* Activated test again

* Refined XUnitNoAppdomain comment


Commit migrated from https://github.com/dotnet/corefx/commit/bf5ffea787235fdb095adaeb842b3362f58fcc7c
2017-05-09 17:48:36 -04:00
Jiayi Li 84b8adf536 Disable failed tests for 9 issues. (dotnet/corefx#19463)
* Disable failed tests for 9 issues.


Commit migrated from https://github.com/dotnet/corefx/commit/4d89905a77edf6e6ff42fdb682a4c70c3dfc1239
2017-05-08 13:35:34 -07:00
Jiayi Li 8ca8c4b8c8 Disable failed tests for issue 18196 and 18718. (dotnet/corefx#19465)
* Disable Failed tests For issue 18196.


Commit migrated from https://github.com/dotnet/corefx/commit/c7f5b4bb55e66ea5c6ff9eb5dc5c8781f63f03f9
2017-05-08 11:45:04 -07:00
Jiayi Li ab9698db27 Disable failed tests for 6 issues. (dotnet/corefx#19464)
Commit migrated from https://github.com/dotnet/corefx/commit/5efe9f60ffe252496ca6cf98cb94e29b7d088b49
2017-05-08 02:43:56 -07:00
Jiayi Li 843c8d7398 Disable failed tests for issue 19339. (dotnet/corefx#19393)
Commit migrated from https://github.com/dotnet/corefx/commit/064f192251a20fc44612b50b507ae9eb29eca912
2017-05-05 01:44:24 -07:00
Jiayi Li daa445156e Disable failed test for 19340. (dotnet/corefx#19394)
Commit migrated from https://github.com/dotnet/corefx/commit/15155258ae6957d735ed1204d78701dad81722ce
2017-05-05 01:43:48 -07:00
Jiayi Li b0769d0e32 Disable failed tests for issue 19341. (dotnet/corefx#19395)
Commit migrated from https://github.com/dotnet/corefx/commit/4caae55d8e8357abddcfe1a1c0b2317f571f75a5
2017-05-05 01:41:45 -07:00
Jiayi Li ae67c436ef Disable failed test for issue 19338. (dotnet/corefx#19392)
Commit migrated from https://github.com/dotnet/corefx/commit/d84b1c4b21444f9b1baa3f8be132c28e40634c9d
2017-05-05 00:49:48 -07:00
Jiayi Li a79269acd1 Disable failed test for issue 19336. (dotnet/corefx#19391)
Commit migrated from https://github.com/dotnet/corefx/commit/21ff5d95e69d778f67c42296ccfb6992a5f16001
2017-05-05 00:45:31 -07:00
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