Commit Graph
709 Commits
Author SHA1 Message Date
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
Eric St. John af1d155bf6 Remove help VS comments
Many CSProjs included the comment
`<!-- Help VS understand available configurations -->`

These aren't handled well by the tooling that rewrites projects and weren't providing much value.

Remove them.


Commit migrated from https://github.com/dotnet/corefx/commit/5ba948d13e3177c2c7075b6b00791e574bfa0860
2017-05-25 11:10:27 -07:00
Stephen Toub 3d2678df5d Merge pull request dotnet/corefx#19900 from AtsushiKan/bugs
CoreFx Tests: Add ActiveIssues for ILC

Commit migrated from https://github.com/dotnet/corefx/commit/86360a4f1a19634c3071754dbaa24069ba4f49aa
2017-05-17 16:11:36 -04:00
Atsushi Kanamori 0eaf427b57 CoreFx Tests: Add ActiveIssues for ILC
- Now that we have a per-framework ActiveIssueAttribute
  (and we have more than 1.5 people working on these tests on ILC),
  add ActiveIssues for those tests where we know the cause
  and don't anticipate a fix within a week.

- Now that ILC supports multidim arrays of rank 1,
  reenable all the tests that were disabled because of that.


Commit migrated from https://github.com/dotnet/corefx/commit/db7af8d51dc04072c3c188797d4bc05c223417fa
2017-05-17 11:24:40 -07: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
Stephen Toub 703111c59d Re-enable AssemblyNameTests.Version test and fix merge conflicts
Commit migrated from https://github.com/dotnet/corefx/commit/69963dc961d829e9ac7bbca38ee487623f441784
2017-05-15 10:37:03 -04:00
sepidehMS a59d43fad2 Update AssemblyName.FullName tests
Commit migrated from https://github.com/dotnet/corefx/commit/f9dc78383e3df88da43c7b39510379501a54f1a3
2017-05-15 10:35:24 -04:00
Stephen Toub 562e3801d3 Disable AssemblyNameTests.Version test
An incoming coreclr update is changing the behavior of the implementation.

Commit migrated from https://github.com/dotnet/corefx/commit/c07b11994abda0d656a112a7f33862265d6dbbae
2017-05-13 17:44:25 -04:00
Stephen Toub 8aaedbc596 Merge pull request dotnet/corefx#19484 from AtsushiKan/r
CoreFX on ILC tests burndown

Commit migrated from https://github.com/dotnet/corefx/commit/0d8de93a64afaf69e37e74aafdbaa7e3d0e16e19
2017-05-08 22:20:14 -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
Atsushi Kanamori 7a52462501 CoreFX on ILC tests burndown
Getting down to 1-bucket items here...

- Disabled MarshalAs custom attribute test
  (not implemented on .Net Native)

- Reenabled GetTypeFromCLSID() data item
  (restored on .Net Native)

- Avoid testing contents of ToString()
  (.Net Native ToString() simplifies the type name
  in order to avoid excess metadata probing.)



Commit migrated from https://github.com/dotnet/corefx/commit/0bc18f63d2534903b6f78156c957ac651a9dce66
2017-05-08 10:18:09 -07:00
Dan Moseley cc459c643c lowercase an
Commit migrated from https://github.com/dotnet/corefx/commit/617a9e944c3946ced0c2a671ce9ec08744de9a4b
2017-05-01 20:41:15 -07:00
Dan Moseley 7cacb5bb72 Fix assembly name test (dotnet/corefx#19178)
* Fix assembly name test

* GEA() returns null

* logging

* Remove test sensitive to desktop version:

* case insensitive


Commit migrated from https://github.com/dotnet/corefx/commit/19edd49851626fd32433688078ebbf8ad8368de3
2017-05-01 12:08:42 -07:00
Atsushi Kanamori 1dba36e123 Remove some bogus tests from System.Reflection.Tests (dotnet/corefx#18513)
- I choose not to be bug-for-bug compatible with
  invalid unicode strings passed to AssemblyName::ctor(),
  especially since CoreCLR's response to that isn't
  very helpful.

- ModuleTest.FullyQualifiedName

  Test isn't correct even on non-Uat-Aot platforms.
  There's no required relationship between the
  assembly name and its module names. On
  the full framework, Module.Name and Module.FullyQualifiedName
  return the filename and fully qualified filename
  of the module... which can be anything I rename the file to.

Commit migrated from https://github.com/dotnet/corefx/commit/a7822d26a2208f57f21d700ccf0f934c1874fa80
2017-04-17 15:14:05 -07:00
Atsushi Kanamori bddce1f30c Remove more noise from System.Reflection tests on UapAot (dotnet/corefx#18489)
- Module custom attributes not supported by .Net Native toolchain.

- Invoking type constructors not supported by .Net Native toolchain
  (cannot reliably implement on .Net Native as the toolchain usually
  optimizes away simple type constructors by executing them at
  compile time and turning them into raw init blocks.)

- Cannot call MetadataToken unconditionally.

- Comparing type metadata tokens of two different framework
  types is not a valid test. This is only reliable if they
  live in the same module/assembly and we make no promises as to
  where things live.

Commit migrated from https://github.com/dotnet/corefx/commit/bfcb92c33049bbc3736730391f8a0df189f3874c
2017-04-17 09:24:34 -07:00
Atsushi Kanamori 8afa2cad2b System.Runtime.Tests Uap-api work... (dotnet/corefx#18355)
* System.Runtime.Tests Uap-api work...

Mark the PlatformNotSupported ones as Skip.

De-theorize GetEnumValues() test to work around
https://github.com/dotnet/corert/issues/3328

* Added issue comment.


Commit migrated from https://github.com/dotnet/corefx/commit/6317e53b89680d83747d789c354bb1acda011758
2017-04-14 04:39:06 -07:00
Atsushi Kanamori faf17d9a46 More reflection Test fixes for uwpaot. (dotnet/corefx#18332)
- Fix dependency on GetConstructor() ordering output.

- Stop checking ArgumentException.ParamNames values.
  These are debugging aids, not things to be depended
  on. The .NET Native toolchain intentionally optimizes
  these away when compiling in release mode.

Commit migrated from https://github.com/dotnet/corefx/commit/da1b80d62951314e5709810631f9aab7408f66de
2017-04-13 10:12:59 -07:00
Atsushi Kanamori 7d5261aea3 Reflection Test fixes for uwpaot. (dotnet/corefx#18326)
- Eliminate use of __makeref (prevents test from compiling
  under .NET native)

- Fix EventInfo test (it's not valid to compare hashcodes
  for non-equal objects.)

Commit migrated from https://github.com/dotnet/corefx/commit/5156cbca49c120bff8e5e107e56fb4905240696c
2017-04-13 08:46:58 -07: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
danmosemsft 6ac584ef80 space
Commit migrated from https://github.com/dotnet/corefx/commit/989a136aa680bda7b7e95215ba51878f9ba4f962
2017-04-06 14:38:16 -07:00
danmosemsft d939e2a625 Fix xunit name
Commit migrated from https://github.com/dotnet/corefx/commit/a8cd743d3734287f069d0e04fb550607e25e051c
2017-04-06 14:37:08 -07:00
Jose Perez Rodriguez 1142da6074 Fixing uapaot baselines
Commit migrated from https://github.com/dotnet/corefx/commit/3b646acc9132930ce28f261046c6982e1d5b3d38
2017-04-06 09:44:35 -07:00
Alex Perovich fc4bb66b9f Fold or rename *.netstandard.cs files (dotnet/corefx#17697)
* Win32.Primitives

* System.Collections.Specialized

* System.Diagnostics.Process

* System.Globalization

* System.Globalization.Calendars

* System.IO

* System.IO.Compression

* System.IO.FileSystem

* System.IO.FileSystem.Watcher

* System.IO.Pipes

* System.Linq.Expressions

* System.Net.Primitives

* System.Net.Requests

* System.Net.Sockets

* System.Net.WebHeaderCollection

* System.ObjectModel

* System.Reflection

* System.Reflection.Emit

* System.Resources.ResourceManager

* System.Runtime

* System.Runtime.Extensions

* System.Runtime.Handles

* System.Runtime.InteropServices

* System.Security.Cryptography.X509Certificates

* System.Text.Encoding

* System.Text.Encoding.CodePages

* System.Threading

* System.Threading.Tasks

* System.Threading.Thread

* System.Threading.Timer

* System.ValueTuple


Commit migrated from https://github.com/dotnet/corefx/commit/023b6bdd6086271cbb6ca932c33d7783f8406062
2017-03-30 17:28:22 -05:00
Jose Perez Rodriguez 67b069a292 Updating uap and uapaot baseline files
Commit migrated from https://github.com/dotnet/corefx/commit/32cb5a1c4dcf4236076ec1109f14b46f3d1f9917
2017-03-22 09:41:44 -07: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
Jan Kotas 9af9e339e2 Cleanup netstandard ifdefs and conditions (dotnet/corefx#16072)
* Cleanup netstandard conditions in csproj files
* Cleanup netstandard17 ifdefs
* Disable failing tests

Commit migrated from https://github.com/dotnet/corefx/commit/608267af43311b131d20e4111477ffb1109233a0
2017-02-11 21:40:35 -08:00
Tarek Mahmoud Sayed addda8630e Enable tests to compile with netstandard (dotnet/corefx#15956)
* Enable tests to compile with netstandard

Most of the tests have netstandard configurations and it doesn't compile. the changes here is to fix the configurations and the tests to compile.
This is important step to get netfx tests compile too as we are in most of the time netfx fallback to netstandard configuration

The changes include some fixes to compile teh sources too.

* Fix System.Collections.Immutable

* update src configuration

* remove netstandard17 defines

* Split netcoreapp code to its own files

* Remove 17 from the test class name


Commit migrated from https://github.com/dotnet/corefx/commit/15b4f51c2f3cb924840e5407bb8d5fe03bb282ea
2017-02-08 15:32:53 -08:00
Jose Perez Rodriguez d9c497be12 Prepare uap package (dotnet/corefx#15866)
Prepare uap package

Commit migrated from https://github.com/dotnet/corefx/commit/afaaf450d1869992dcf4f51c627f16145cf9c974
2017-02-08 10:39:37 -08:00
Eric Mellino 8fbc03fb77 Remove non-existent project.json's from project files
Commit migrated from https://github.com/dotnet/corefx/commit/56202d079c0a45f17b5b6680ac1df3e5a4f78be1
2017-02-07 12:22:10 -08:00
Stephen Toub 2c8e5204aa Merge pull request dotnet/corefx#15898 from jkotas/NoWarn
Delete NoWarn's that are not required anymore

Commit migrated from https://github.com/dotnet/corefx/commit/dec64155673f97a7f7a0a12b426a9ea9e0681692
2017-02-07 07:25:13 -05:00
Jan Kotas 5b0ef7c767 Delete NoWarn's that are not required anymore
Commit migrated from https://github.com/dotnet/corefx/commit/71f6a5923535b98678f0d7e71aabf10c5d24b078
2017-02-06 22:10:10 -08:00
Tarek Mahmoud Sayed 77cad86b1e Remove versioned configuration from test projects (dotnet/corefx#15879)
The changes onclude some other minor clean up in the test project files

Commit migrated from https://github.com/dotnet/corefx/commit/62212cca900081173fce70991c3a0b30393994a3
2017-02-06 13:52:11 -08:00
Wes Haggard 1fc0e0be5c Merge pull request dotnet/corefx#15770 from weshaggard/FixSolutionsToUseWindowsSlashes
Update Solution files to use windows path slashes.

Commit migrated from https://github.com/dotnet/corefx/commit/62e18e428a91293bda14ba287849f51a1f38bc51
2017-02-03 16:32:43 -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
Jose Perez Rodriguez 2198be1c31 Adding uap and uapaot vertical builds
Commit migrated from https://github.com/dotnet/corefx/commit/da6f308dd936371483ac3bd60634203f55b56a68
2017-02-03 14:05:49 -08:00
Eric StJohn 35d9fe362e Merge pull request dotnet/corefx#15754 from ericstj/buildAllFixes
Fix BuildAllConfigurations

Commit migrated from https://github.com/dotnet/corefx/commit/0620fb036f0faa2346dbddc274148a187c0265b1
2017-02-03 11:01:30 -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
Eric St. John 83ddd73043 System.Private.CoreLib is OSGroup-specific
Make sure that we represent System.PrivateCoreLib as OSGroup specific
since it exposes different types on Windows vs Unix.


Commit migrated from https://github.com/dotnet/corefx/commit/d549c08d12f32c6c8bead3a98cfce9d0fe9dd10d
2017-02-03 08:32:14 -08:00
Santiago Fernandez Madero 81ba3c14e7 Adding missing apis to .NET Core that where added to netstandard 2.0 (dotnet/corefx#15643)
* IntialCommit

* Delete argiterator tests

* Tests for TypedReference APIs and FieldInfo

* baselines


Commit migrated from https://github.com/dotnet/corefx/commit/2ac9efa1502c84a63895d74ea7f908239e431592
2017-02-03 08:26:07 -08:00
Tarek Mahmoud Sayed 7395af32ad Enable compiling the test projects against the configuration (dotnet/corefx#15743)
* Enable compiling the test projects against the configuration

The tests were compiled using the vertical configuration and not the best configuration picked from Configurations.props. this change is fix that and have all test projects configured accordingly.
This change ensuring netcoreapp runs successfully and we'll have another rounds later for other configurations like netfx, UAP...etc.

* Fix openssl test project on Linux distros

* Update the project configurations

* Update VS solution files

* update solution files


Commit migrated from https://github.com/dotnet/corefx/commit/e79912f8b77bc22abfd85e94b74c06e5d99e8381
2017-02-02 17:54:40 -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
Jose Perez Rodriguez 7404829809 Adding UAPAOT vertical and configurations
Commit migrated from https://github.com/dotnet/corefx/commit/84400b252e840382da44b55502731061f7b2380b
2017-02-02 11:25:18 -08:00
Eric St. John c61e84f6ec Clean up desktop Configurations
Remove all cruft from projects related to building desktop configs which
now build in standard repo.


Commit migrated from https://github.com/dotnet/corefx/commit/93b36cc273391a40552613800b6fdaa8685179ae
2017-01-31 19:25:30 -08:00
Eric St. John a39501e3ae Remove desktop config when in NETStandard.Library
Exceptions for types missing from netstandard facade:
- System.Data.Common - DbColumn, DbDataReaderExtensions, IDbColumnSchemaGenerator
- System.Diagnostics.StackTrace - StackFrameExtensions
- System.Numerics.Vectors - Vector, Vector<T>
- System.Runtime.Serialization.Primitives - ISerializationSurrogateProvider
- System.Runtime.Serialization.Xml - DataContractSerializerExtensions
- System.Security.Cryptography.Cng - AesCng, TripleDESCng <link>
- System.Threading.Overlapped - PreAllocatedOverlapped, ThreadPoolBoundHandle
- System.Xml.XPath.XDocument - XDocumentExtensions


Commit migrated from https://github.com/dotnet/corefx/commit/83b3046e1f63c752ee0d69e8b847d633724d90b1
2017-01-31 18:32:00 -08:00
Jose Perez Rodriguez a840e703dd Updating VS Configurations
Commit migrated from https://github.com/dotnet/corefx/commit/8e7497f825856eddfd84f81fc4afc0104fb917b0
2017-01-31 15:10:43 -08:00
Jose Perez Rodriguez f7c237e4e2 Adding missing Configurations for uap
Commit migrated from https://github.com/dotnet/corefx/commit/16ceba583604b00f12a173a8f3d218584ec2b0ee
2017-01-31 15:08:05 -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 18711f6d07 Add Configurations to tests to fix p2p
Commit migrated from https://github.com/dotnet/corefx/commit/1cf72d2cbd3ea1e2570eb74d1e12cc3f0ec5fd07
2017-01-25 10:51:18 -08:00
Jose Perez Rodriguez f9d4e6795d Removing netstandard configurations for things that are bellow netstandard (dotnet/corefx#15373)
Removing netstandard configurations for things that are bellow netstandard

Commit migrated from https://github.com/dotnet/corefx/commit/c656446f01db4b902b0c06b19551cc30d9dd9c6b
2017-01-24 09:40:19 -08:00