Commit Graph
737 Commits
Author SHA1 Message Date
Levi Broderick 4cc6485834 React to changes through ASCIIEncoding and EncoderNLS
Also create some additional ASCII tests


Commit migrated from https://github.com/dotnet/corefx/commit/d817d68fc6e2fc78624540aa90a060f4d5bf0eee
2019-03-12 17:16:30 -07:00
Viktor Hofer f8a8530d0f Project msbuild syntax cleanup (dotnet/corefx#35686)
* Remove license header from non-shipping files

* Remove obsolete Project attributes

* Remove xml header and remove DefaultTargets


Commit migrated from https://github.com/dotnet/corefx/commit/c390ce7df50252e11f5d322276e9d19e046d1332
2019-03-03 18:55:25 +01:00
Viktor Hofer 66e8f64d31 Consume Microsoft.DotNet.CoreFxTesting package (dotnet/corefx#33423)
* Consume Microsoft.DotNet.CoreFxTesting package

* Remove code coverage dedicated runtime dir config files and switch to Coverlet

* Add global tool support in corefx

* Update code coverage docs

Commit migrated from https://github.com/dotnet/corefx/commit/ae38b7cc3762d832fdcebe27a0aab7b22ab2f3fa
2018-12-06 02:56:11 +01:00
Wes Haggard 954fb511b3 Rename AssemblyKey properties to StrongNameKeyId as part of arcade work
Commit migrated from https://github.com/dotnet/corefx/commit/7edd861bf2dd59ecdb4284e0fd291d7458198a9d
2018-10-30 15:14:01 -07:00
Paulo Janotti c6efbc3cf4 Coverage do not target CoreLib in bulk (dotnet/corefx#32537)
* Coverage do not target CoreLib in bulk

* Fix 1 project add temp nop to 2 others

* PR feedback: reuse property to disable code coverage

* PR Feedback: add dedicated property to target runtime

* System.Transactions.Local.Tests taking too long on PR


Commit migrated from https://github.com/dotnet/corefx/commit/95eeecb5184e414810bc94fdb496c5748289a720
2018-10-02 06:05:11 -07:00
Morgan Brown abc0943945 Build managed code and packages for WebAssembly/netcoreappaot (dotnet/corefx#32045)
Adds support for a WebAssembly netcoreappaot configuration for building managed libraries and packages. This is enough to produce a package of libraries that CoreRT's WebAssembly implementation can consume.


Commit migrated from https://github.com/dotnet/corefx/commit/2b868f80c307a514dfafb7eb166dad3dbc2ed26b
2018-09-11 21:57:52 -07:00
Wes Haggard 6dcf8b8bfb Update the configurations properties in projects
Commit migrated from https://github.com/dotnet/corefx/commit/fea86686c620242ce7e1911418f2fba7c4d52d4d
2018-08-29 09:45:04 -07:00
Filip Navara 2a2c2ef521 Move uap, uapaot, netfx, netcoreapp and netcoreapp20 constant definitions to top-level build file. (dotnet/corefx#31470)
* Move uap, uapaot, netfx and netcoreapp constant definitions to top-level build file.

* Trying to fix compilation of PerformanceCounterLib for netcoreapp2.0 targets.

* Change netcoreapp definition to mean the current version only.

* Fix conflict in System.Private.DataContractSerialization.csproj.

* Revert change in src/shims/manual/Directory.Build.props.

* Fix condition in test.

* Bring back TargetsNetCoreApp, it was lost during rebases.

* Move definition of netstandard to top-level build file. Remove more netcoreapp/uap definitions from individual files.

* Fix vbproj compatibility.

* Address PR review and unify the definitions to use TargetGroup directly.

* Add back one "netstandard" definition.


Commit migrated from https://github.com/dotnet/corefx/commit/ac994544e749eac3e85b60bf0012ae2f85ae0e49
2018-08-29 08:49:33 -07:00
Viktor Hofer 70bffcd308 Enable netfx perf runs and promote to netstandard
Commit migrated from https://github.com/dotnet/corefx/commit/1b33f6c57bdcb4a2be715a8eaf7ec2483dc5c6c0
2018-08-23 19:55:26 +02:00
Morgan Brown 5851b3de9a Add netcoreappaot target group (dotnet/corefx#30980)
Changes to add a new netcoreappaot target group, similar to netcoreapp but it builds against the .NET Native core libraries. A couple of libraries, such as System.Linq.Expressions, have aot-specific definitions that are enabled for netcoreappaot.

Commit migrated from https://github.com/dotnet/corefx/commit/3333166174e54ae9435c31e0a68a6784e9aacc41
2018-08-21 18:19:59 -07:00
Eric Erhardt 779486884e Merge master into SdkProj
Commit migrated from https://github.com/dotnet/corefx/commit/ec546de620c5248f3662d6aaca989ed382b86b6b
2018-06-28 21:28:41 -05:00
Eric Erhardt 8b6d5baf20 Change .csproj to new Configurations property
Change .sln to use the managed C# project system GUID.


Commit migrated from https://github.com/dotnet/corefx/commit/e05508a62d28f4807f85abe9cb7adf8382f792b4
2018-06-28 17:49:22 -05:00
Stephen Toub 4c9eb2ec25 Simplify built-in types across corefx tests (dotnet/corefx#30660)
Commit migrated from https://github.com/dotnet/corefx/commit/7ae1a252d7e68c5513d2658de7a401c37e9b0504
2018-06-25 22:42:04 -07:00
Eric Erhardt 2053139c9a merge master into SdkProj
Commit migrated from https://github.com/dotnet/corefx/commit/1c91f96ec67a78a33268181d99a73a736b48c13e
2018-06-15 22:24:40 -05:00
Eric Erhardt 1df03e5bbd Rename dir files to Directory.Build
dir.props => Directory.Build.props
dir.targets => Directory.Build.targets


Commit migrated from https://github.com/dotnet/corefx/commit/204a8dbbc23bfc51d419c93f2f2ddaf50db8020f
2018-06-15 17:07:48 -05:00
Tarek Mahmoud Sayed a7d90e1045 Add Utf8 Decoder fallback test (dotnet/corefx#30224)
Commit migrated from https://github.com/dotnet/corefx/commit/c25721cfb888ec26a63015d6c3970a057de116a8
2018-06-12 22:20:51 -04:00
Eric Erhardt 70091b9c8b Merge master into SdkProj
Commit migrated from https://github.com/dotnet/corefx/commit/ad505eb98c6a887db2d2932fec256d9e4e394169
2018-06-11 17:20:10 -05:00
Jan Kotas 86e90d60ed Add perf tests for Unicode encoding (dotnet/corefx#30105)
Commit migrated from https://github.com/dotnet/corefx/commit/63928912c5313cd561b076ff6353169b80d0ffc9
2018-06-03 06:09:31 -04:00
wtgodbe f38ceb30be Convert all .csproj files in src to SDK-style projects
Commit migrated from https://github.com/dotnet/corefx/commit/91d7e62bbf28094a2b419b87847bcd6a7658564d
2018-05-21 11:53:46 -07:00
Alexander Radchenko 07c8f9a800 Fixed netfx System.Text.Encoding.Tests fails on non-English Windows (dotnet/corefx#28349)
Commit migrated from https://github.com/dotnet/corefx/commit/ee528ac49836102fb092c6cd0d06638443011d2f
2018-03-23 00:07:23 -04:00
Michal Strehovský e627bc2299 Re-enable unaccounted disabled tests on UapAot (dotnet/corefx#28331)
Three categories:

* Disabled on issues that have been resolved
* Disabled with a message that is not true anymore
* Disabled without explanation (that's the Linq.Parallel test - Linq.Parallel tests are great stress tests, so I want to either see them running, or have a bug that someone is looking at)

Commit migrated from https://github.com/dotnet/corefx/commit/cd3dada3c97acc82bbbb6c73728205e8f662ced6
2018-03-21 17:57:44 -07:00
Tarek Mahmoud Sayed 8fc79728e6 Collapse AsSpan().Slice(...) into .AsSpan(...) (dotnet/corefx#27867)
Commit migrated from https://github.com/dotnet/corefx/commit/8ad2b10cff945e4428520c6932e8de499af2931b
2018-03-08 13:56:43 -08:00
Atsushi Kanamori 525af6108f Remove apis that duplicate implicit operators. (dotnet/corefx#27744)
* Remove apis that duplicate implicit operators.

https://github.com/dotnet/corefx/issues/26894

Last set of approved api changes from this issue.

Since we have to get this in by 3/7, we're doing
the minbar here of removing the methods from the
reference assemblies only and (in some cases) adding the
"api" internally in some test assemblies rather
than clean up dozens of individual callsites.
(I wouldn't be surprised if we end up adding
these back in the next version anyway...)

* Fix infinite stack overflow

* PR Feedback


Commit migrated from https://github.com/dotnet/corefx/commit/513e453aadb2719aadee64f4599dfa5525b44046
2018-03-06 06:44:32 -08:00
Jan Kotas 1fab6a81db Add tests that exercise encoding methods on explicit Span.Empty (dotnet/corefx#27711)
Encoding had a historic confusion about handling null pointers. Make sure that this confusion is not leaking into the new Span methods.

Commit migrated from https://github.com/dotnet/corefx/commit/06fd8b1c31c31d09210c2f9cff94be41d15020ee
2018-03-05 13:46:25 -05:00
Atsushi Kanamori 0cebe1e3f1 Rename string-slicing extension methods (dotnet/corefx#27328)
* Rename string-slicing extension methods

As part of 

https://github.com/dotnet/corefx/issues/26894

the api folks have approved renaming AsROSpan and AsROMemory
on string instances to AsSpan and AsMemory (as the "readonly"
is obvious given the read-only nature of the input.)

This puts the renaming in effect. Basically a big search-replace
commit.

* Fix OpenSSL build break

* I see this is going to be a treadmill


Commit migrated from https://github.com/dotnet/corefx/commit/3538128fa1fb2b77a81026934d61cd370a0fd7f5
2018-02-21 11:48:51 -08:00
Jan Kotas 989008b95d Delete unnecessary ApiCompatBaseline files (dotnet/corefx#26343)
Commit migrated from https://github.com/dotnet/corefx/commit/8a89637f9937dda1a8c6c9875c5006904c8ed7ec
2018-01-15 05:16:14 -08:00
Santiago Fernandez Madero b9d768589e Fix System.Data.Odbc configurations for support package and run UpdateVSConfigurations (dotnet/corefx#24752)
* Fixed odbc configurations for compat package

* Run UpdateVSConfigurations

* Remove Default Configurations to help VS... comment from csproj's

* Remove from System.Buffers as well


Commit migrated from https://github.com/dotnet/corefx/commit/bcc59b2e74090cfbcc4d6e7c245c172744e9d46b
2017-10-23 18:24:28 -07:00
Santiago Fernandez Madero 6f5491813e Add build Configurations.props to performance tests (dotnet/corefx#24493)
Commit migrated from https://github.com/dotnet/corefx/commit/907e2a5ebf0904551ee2c6a90607ae2b133b5b10
2017-10-07 12:22:14 -07:00
Brian Chavez 232a1dfac0 Grammar check - "a [a,e]" rule. (dotnet/corefx#23697)
* Grammar check - "a [a,e]" rule.

* Corrected "a attributes" to "an attribute"


Commit migrated from https://github.com/dotnet/corefx/commit/be75987c628347e1d44bba15c5272ade3dcfa65c
2017-08-31 09:29:39 -04:00
Stephen Toub ded6dcb700 Expose/test Encoder/Decoder span-based APIs (dotnet/corefx#23361)
* Expose/test Encoder/Decoder span-based APIs

* Address PR feedback


Commit migrated from https://github.com/dotnet/corefx/commit/5ccd70817fbd5a411a5ee05da3d6dcc7d561199c
2017-08-21 23:40:43 -04:00
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