Commit Graph
807 Commits
Author SHA1 Message Date
Stephen Toub 116adddf38 Add ref/tests for Span-based Encoding APIs
Commit migrated from https://github.com/dotnet/corefx/commit/cc3eef5eac3c92c0e862a0297719edd57cc09fa3
2017-08-08 11:20:36 -04:00
Tarek Mahmoud Sayed 1808c6789d Return the removed test case in System.Text.Encoding (dotnet/corefx#22878)
The removed test was causing some problems with uap-aot runs which ended up to bea real issue in the .Net Native. The issue is already fixed and I am returning back the test case to ensure catching any future regression

Commit migrated from https://github.com/dotnet/corefx/commit/cb5a73c44ed9941382bd9572bdaf4037ed83a52e
2017-08-03 10:12:21 -07:00
Tarek Mahmoud Sayed fb6d779f38 Fix Encoding tests in uap-aot (dotnet/corefx#21947)
Commit migrated from https://github.com/dotnet/corefx/commit/446f84b23c77a4fedc5ad26c3450a9e23b57f663
2017-07-06 16:38:52 -04:00
Hugh Bellamy 98b18432b7 Move AssertExtensions to Corefx.Private.TestUtilities (dotnet/corefx#21799)
* Move AssertExtensions to Corefx.Private.TestUtilities

* Update csprojs

* Fix Linq.Expressions uapaot build


Commit migrated from https://github.com/dotnet/corefx/commit/7e3b0db2892c56a431f8e99af9cd9381adec385a
2017-07-03 09:27:30 -07: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
Atsushi Kanamori da30aa97a0 A few more ActiveIssues on tests for ILC. (dotnet/corefx#20750)
* A few more ActiveIssues on tests for ILC.

* Change method of disabling.


Commit migrated from https://github.com/dotnet/corefx/commit/85e7d181a5936690d113bd5ed412055f6f164b30
2017-06-06 15:43:38 -07:00
Atsushi Kanamori 07e98e3101 ActiveIssue a few more tests on ILC that are blocking ZBB. (dotnet/corefx#20720)
Commit migrated from https://github.com/dotnet/corefx/commit/7c53ff950f834b7b150f4a587e55076647514e68
2017-06-05 15:41:52 -07:00
Jose Perez Rodriguez 4056c2729d Skipping two System.Text.Encoding tests on uapaot since they were crashing the ilc test run
Commit migrated from https://github.com/dotnet/corefx/commit/9be697b7e20ffaba5cfa1ff62b4cc6cb0063e5f1
2017-05-31 14:24:42 -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
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
Atsushi Kanamori 3ca7e8a0e7 Fix 60 failures in System.Text.Encoding.Tests on ILC (dotnet/corefx#19847)
Commit migrated from https://github.com/dotnet/corefx/commit/2055ca7768a317d6df1d180ab4f57f6e088bb3ad
2017-05-16 16:57:26 -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
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
Wes Haggard dacaabc206 Merge pull request dotnet/corefx#18165 from weshaggard/UpdateAssemblyKeys
Updates how we define which key an assembly uses

Commit migrated from https://github.com/dotnet/corefx/commit/4b0b313c3a40fefe793ab465f152f382484813d8
2017-04-10 16:48:43 -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
Tarek Mahmoud Sayed 1b74d2ee85 Add test checking Encoding.Default not using BOM marks (dotnet/corefx#18094)
Commit migrated from https://github.com/dotnet/corefx/commit/f11b979f843e50f882b01886b15e4ea91befc98c
2017-04-07 17:54:39 -07:00
Jose Perez Rodriguez 4f90ea8ea8 Turning System.Diagnostics.Tracing a facade and remove redist workaround
Commit migrated from https://github.com/dotnet/corefx/commit/ff18e55e9495513d7505e5817434a6fe7a28cfb0
2017-04-07 13:42:24 -07:00
Tarek Mahmoud Sayed 116e303053 Enhance Encoding Perf test (dotnet/corefx#17974)
Commit migrated from https://github.com/dotnet/corefx/commit/7ed05868c654dc04b20dc92d5b549dc86c1dc0c3
2017-04-06 08:41:17 -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 28c32a5610 Updating baseline files (dotnet/corefx#17703)
Commit migrated from https://github.com/dotnet/corefx/commit/8c4f651e25d6ed4eaba663a32548f7aeae2c02bb
2017-03-30 14:47:44 -07:00
Jose Perez Rodriguez 547819eb31 Updating uapaot baseline files
Commit migrated from https://github.com/dotnet/corefx/commit/1963b65f93973bd7b622203b16765fd25a103fec
2017-03-15 15:27:08 -07:00
Jose Perez Rodriguez 3d80574432 Adding System.Net.Mail to the uap and uapaot closures (dotnet/corefx#16938)
Adding System.Net.Mail to the uap and uapaot closures

Commit migrated from https://github.com/dotnet/corefx/commit/65bfac91d1ebd9cdc7b3f90da86b4b608279136d
2017-03-10 10:08:55 -08:00
Hugh Bellamy 4ab8cda34f Expose and test new string, index, count Encoding overloads (dotnet/corefx#16810)
Commit migrated from https://github.com/dotnet/corefx/commit/027c5872f00da7b7a9be7a2903d03e4647f37592
2017-03-09 10:31:38 -08:00
Hugh Bellamy 57b5668c44 Delete accidentally committed solution file in System.Text.Encoding folder
Commit migrated from https://github.com/dotnet/corefx/commit/d3550e62ea8340bbfcb06cb76e902b2710b8654d
2017-03-07 14:38:29 +07:00
Drew Scoggins e01f5d923c Update performance csprojs
Update the csproj files of all of the performance tests to reference the
PerfRunner csproj.  Also make a change to the PerfRunner csproj to mark
it as a test project so that it can use the generated test runtime for
dependency resolution.


Commit migrated from https://github.com/dotnet/corefx/commit/495e4e8dbdeb0fbe904c323a0ac83f630d44bc8d
2017-02-22 15:50:42 -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
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
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
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 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
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
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
Ben Adams d18ed9326f Encoding tests cleanup (dotnet/corefx#15539)
* Encoding tests cleanup

* Convert Fact tests to Theory tests

* Fact Tests to Theory Tests


Commit migrated from https://github.com/dotnet/corefx/commit/ab8a78ebb66841738a4be4054e1dc252184d0dc1
2017-01-27 15:34:31 -08:00
Ben Adams 5da975698d Extra Encoding tests (dotnet/corefx#15514)
Commit migrated from https://github.com/dotnet/corefx/commit/b5c951724f37294e960b943165005a71e81993f5
2017-01-26 11:55:12 -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
Jose Perez Rodriguez a0ffb9b029 Removing System.Private.CoreLib from TargetingPack (dotnet/corefx#15357)
Removing System.Private.CoreLib from TargetingPack

Commit migrated from https://github.com/dotnet/corefx/commit/446e0057ed1491fd1f41ffb06357dee445131622
2017-01-20 17:07:38 -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
Eric St. John d75a59e7a1 Remove packages from NETStandard.Library 1.6
With one exception: System.Runtime.InteropServices.RuntimeInformation.

For the rest we will no longer ship packages.

Instead the types will be supported as follows:
1. In a netstandard2.0+ project via NETStandard.Library package's
    netstandard.dll
2. In a netstandard1.x project via NETStandard.Library package and
    closure which ship from servicing branches.
3. In a framework specific project via the framework's targeting pack
    or framework package.


Commit migrated from https://github.com/dotnet/corefx/commit/d6bd0c5889c604bda6afcba4cd7848b7cb0fa6d3
2017-01-18 15:08:35 -08:00
Eric St. John 02b6743d19 Remove PackageTargetFramework
This property is largely obsolete and replaced with NuGetTargetMoniker
where its needed.

I've also cleaned up mentions of this and validation suppression around
it in projects that will never be packaged.

PackageTargetFramework remains in projects that will be packaged and
duplicate their asset in multiple folders,
eg: netstandard1.0;portable-net45+win8+wp8+wpa81


Commit migrated from https://github.com/dotnet/corefx/commit/8590e419f6639d9d5eabdbcb916e62fb1656d30e
2017-01-18 14:02:30 -08:00
Karthik Rajasekaran 4bbdadd88a Update project configuration and sln files (dotnet/corefx#15182)
* Add ValidateVSConfigurations

* Update project config and sln files.


Commit migrated from https://github.com/dotnet/corefx/commit/f6ab339f446e37505f93ef9f430801fa1dcc05b8
2017-01-17 14:31:23 -08:00
Jose Perez Rodriguez 24a5aef91d Merge master into dev/eng
Commit migrated from https://github.com/dotnet/corefx/commit/a9dd06b73bdd71038217bb263decf2b7285fb8db
2017-01-12 10:09:09 -08:00
dotnet bot fd2b99ee2a Update CoreClr, CoreFx, ProjectNTfs to beta-24911-02, beta-24911-02, beta-24911-00, respectively (dotnet/corefx#15071)
Commit migrated from https://github.com/dotnet/corefx/commit/f4dbd9ba2d8ae56b5960a5030a2bf0328fa37b3f
2017-01-11 09:11:26 -08:00