Commit Graph
10 Commits
Author SHA1 Message Date
Stephen Toub 6072e4d3a7 Update license headers (#38793) 2020-07-08 09:23:11 -04:00
Viktor Hofer b661c58b1c Replace netstandard test projects with tfms
Netstandard test projects are broken by design and don't support the
Microsoft.Net.Test.SDK. Replacing the netstandard tfm with the concrete
implementation tfms.


Commit migrated from https://github.com/dotnet/corefx/commit/d29c16c99c6045ee67444a7a693dd4476861c463
2019-05-30 16:18:41 +02:00
Hugh Bellamy 7cbcd5ed85 Convert most Assert.Throws<ArgumentException> without param name to AssertExtensions (dotnet/corefx#21455)
* Registry

* Collections

* ComponentModel

* Configuration

* Data

* Globalization

* Drawing

* Diagnostics

* IO

* Linq

* Add System.Net param names in tests

* Move ArgumentExceptions in System.Private.Xml to AssertExtensions

* Add System.Reflection.* ArgumentException param names

* Add param names for System.Runtime* ArgumentExceptions

* Add ArgumentException param names to System.Security.*

* Add ArgumentException param names to System.Text.*

* Add param names to ArgumentExceptions in misc projects

* Add System.Threading.* ArgumentException param names

* Fix missing files

* Fixes for unix and netfx

* Fix more failures and revert a IdnaConformance tests to avoid merge conflicts with dotnet/corefx#21463


Commit migrated from https://github.com/dotnet/corefx/commit/59915687bb261efeae70565d0ca8990ac45ceb9c
2017-06-23 12:33:47 -07:00
Santiago Fernandez Madero e8c0db60b4 Update buildtools and extensions and do tests cleanup for new attributes behavior (dotnet/corefx#20333)
* Update buildtools and extensions and do tests cleanup for new attributes behavior


Commit migrated from https://github.com/dotnet/corefx/commit/bc73a9b7ca2a644efd9fc3cb51dde3bc3726ecd7
2017-05-26 02:13:52 -05:00
Daniel Harvey 252cdc5e95 Bulk updates of tests for AssertExtensions (dotnet/corefx#18491)
Bulk update to AssertExtensions.Throws for AOT support. This doesn't disable Assert.Throws.

Commit migrated from https://github.com/dotnet/corefx/commit/b43b4df2e0e2182154bb0f425cb4a61bc1269828
2017-04-18 09:52:02 -07:00
Santiago Fernandez Madero 7dec2247b1 Disable tests on desktop that where hanging. (dotnet/corefx#16942)
* Disable failing tests

* Disable hanging tests to keep track of them

* Marked Hanging tests as skip on netfx

* Skip another test that hangs

* Skip hanging test in System.Queryable.Tests

* Disable Linq.Queryable hanging test

* Disable System.Net.Request tests that where hanging

* Add related issue to skip attribute in System.Pipe.IO tests

* Cleanup


Commit migrated from https://github.com/dotnet/corefx/commit/b2e442f43de7bc05c14dd9abb963d40f81e79957
2017-03-09 17:50:36 -08:00
Jon Hanna 53b6cd3d2d Style cleanups:
Remove redundant this.

Remove redundant class name on static.

Name type parameter according to convention (and interface implemented)

Remove redundant cast.

Simple properties to expression bodies.

Remove redundant interface supertypes


Commit migrated from https://github.com/dotnet/corefx/commit/a93e1bc2a7900c46f35dd32aa8a5f04da3ad2f95
2016-11-24 02:09:45 +00:00
dotnet-bot 39d1eab950 Update licensing headers
Commit migrated from https://github.com/dotnet/corefx/commit/7cad8486cbabbce0236bdf530e30db7036335524
2016-01-27 08:02:28 -08:00
Jon Hanna 26427d9f36 Prevent stack overflow from EnumerableQuery of null enumerable
Fixes dotnet/corefx#3546

If an EnumerableQuery is created from a null IEnumerable<T>, calling
GetEnumerator() will cause infinite recursion. Change this to throw
immediately.


Commit migrated from https://github.com/dotnet/corefx/commit/01ee1a956ee9d4e4a0f7c8927ac5da3f5faf5927
2015-09-30 17:32:40 +01:00
Jon Hanna 927b29c81a Add EnumerableQuery tests
Commit migrated from https://github.com/dotnet/corefx/commit/4511c6fd77195ce0e8fa4c5c30a7b298d11bfb79
2015-09-30 14:34:37 +01:00