Commit Graph
715 Commits
Author SHA1 Message Date
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
sepidehMS e3d734c19d Add comments to PlatformSpecific tests
Commit migrated from https://github.com/dotnet/corefx/commit/493cb79ff4976479be5cc7c6f1fe2d5d9b710425
2017-02-07 15:46:26 -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
Justin Van Patten 90e7825333 Avoid unnecessary branches when fixing non-null/empty arrays (dotnet/corefx#15597)
* Avoid unnecessary branches when fixing non-null/empty arrays

* Address PR Feedback


Commit migrated from https://github.com/dotnet/corefx/commit/bfac45af5dddcbd70b6935fcf92b4b8755f3cd1c
2017-02-04 16:29:55 -05: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
Ian Hays 9d43222767 Merge pull request dotnet/corefx#15730 from ianhays/io_desktop_tests
Fix some misc failing desktop IO tests

Commit migrated from https://github.com/dotnet/corefx/commit/d69aff48dca1c9280e8cc3e271f009ed5dbd8500
2017-02-03 11:15:10 -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
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
Ian Hays 85114b6f37 Fix some misc failing desktop IO tests
These tests are failing on the full framework test runs for misc reasons explained in the comment section of the attributes. Most of them are because of lack of DeflateStream Flush support.


Commit migrated from https://github.com/dotnet/corefx/commit/48648ed33a17a0f2967a4de45b024bbd8173a27d
2017-02-02 12:55:06 -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
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
Marius Ungureanu 571cdcc6f1 Fix signature of CFArrayCreate. (dotnet/corefx#15546)
CFIndex is a C long, therefore UIntPtr should be used.

Commit migrated from https://github.com/dotnet/corefx/commit/b2f44a12782923fcf16db3b844777d50cdbde791
2017-01-27 14:39:44 -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 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 774105be10 Remove packages from NETStandard2.0
Related to https://github.com/dotnet/corefx/commit/dotnet/corefx@0797813bfe3a9e6d04d4bfaa865b477bb26f8ce2

This removes packages where the types have been moved into
netstandard.dll in netstandard2.0.

These types are supported as follows:
1. In a netstandard2.0+ project via NETStandard.Library package's
    netstandard.dll
2. In a netstandard1.x project via contract assembly packages 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/99009fb3bc737af9d455ea0920b22347f69a78ff
2017-01-18 21:01:34 -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
Ian Hays e3733e9157 Fix some intermittently failing Desktop FSW tests (dotnet/corefx#15007)
* Fix some intermittently failing Desktop FSW tests

They're failing for misc reasons but mostly are plagued by timeouts. I excluded some actual failures and increased timeouts for the other ones so desktop FSW runs should be clean going forward.

* Make FSW_NotifyFilter test catch any ArgException

This is so it still runs on desktop and isn't just flat out excluded.

* Fix FSW StopCalledOnBackgroundThread test

* fix FSW test


Commit migrated from https://github.com/dotnet/corefx/commit/f548a49b0d40b90b45ef43ea27bd99e16c50676c
2017-01-11 13:40:01 -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
Alex Perovich ae1810f29c Automated rename of tfm specific files
Commit migrated from https://github.com/dotnet/corefx/commit/ca330455c9b884ffcca5b8b98d28a129e2248fe6
2017-01-10 16:20:59 -08:00
Alex Perovich 573869c47f Automated update of ns1.7->ns2.0 and nca1.1->nca2.0
Commit migrated from https://github.com/dotnet/corefx/commit/1f8b5264a8156f91c48b2dc344d5410ee6f574cb
2017-01-10 16:20:42 -08:00
Alex Perovich c3087a2ed5 Manual changes for ns2.0 rename
Commit migrated from https://github.com/dotnet/corefx/commit/7bba15c1d2518d3f0bb85c40ed87322edfdf87eb
2017-01-10 16:20:29 -08:00
Santiago Fernandez Madero 6500ca9f56 Moving ISupportInitialize down to System.ComponentModel.Primitives (dotnet/corefx#14389)
* Moving ISupportInitialize down to System.ComponentModel.Primitives


Commit migrated from https://github.com/dotnet/corefx/commit/f005dbcd1831b0b1980b98eadebc0cd0a4fa80a8
2017-01-10 13:26:33 -08:00
Jose Perez Rodriguez c65aa91391 [dev/eng] Sorting and trimming Reference items in csprojs (dotnet/corefx#15035)
Sorting and trimming Reference items in csprojs


Commit migrated from https://github.com/dotnet/corefx/commit/d1a6358e7a6b1bc04223885c860701209d52a7e8
2017-01-10 13:24:35 -08:00
dotnet bot 250715866c Update CoreClr, CoreFx, ProjectNTfs to beta-24910-02, beta-24910-02, beta-24910-00, respectively (dotnet/corefx#15019)
Commit migrated from https://github.com/dotnet/corefx/commit/24bc3ffa34e5da233c98389309c4d68a4382b457
2017-01-10 08:50:42 -08:00
dotnet-bot 0a8bc1232a Update CoreClr, CoreFx to beta-24909-03, beta-24909-02, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/4ac5235d4c33b6a040c70aa9c9ed0a9294f7ef75
2017-01-09 17:27:36 +00:00
dotnet-bot 88e6031b90 Update CoreClr, CoreFx, ProjectNTfs to beta-24909-02, beta-24909-01, beta-24909-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/d7e3e57699a54415092203f9baf81c29b1da3baa
2017-01-09 09:40:09 +00:00
dotnet-bot f50c7ffedd Update CoreClr, CoreFx to beta-24907-02, beta-24907-02, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/fb76aa1fb9c9a999eff950ba0caa46f50cb4356b
2017-01-07 16:11:20 +00:00
dotnet bot 2d69a1eec5 Update CoreClr, CoreFx to beta-24906-04, beta-24906-03, respectively (master) (dotnet/corefx#14944)
* Update CoreClr, CoreFx to beta-24906-04, beta-24906-03, respectively

* Fix build break due to version updates


Commit migrated from https://github.com/dotnet/corefx/commit/9064de8ce82634fddfc0ca326422957efdf2390f
2017-01-06 15:46:20 -08:00
dotnet bot 4d160b84df Update CoreFx to beta-24906-02 (dotnet/corefx#14932)
Commit migrated from https://github.com/dotnet/corefx/commit/2865f5bf0082830824b03e279eafaa8cf5652b0d
2017-01-06 08:55:46 -08:00
dotnet-bot 6cb76fa118 Update CoreClr, CoreFx, ProjectNTfs to beta-24906-01, beta-24906-01, beta-24906-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/d88d329d9e511938efac9ee177824e2d7f4033f9
2017-01-06 04:18:15 +00:00
Jose Perez Rodriguez 846d8ab24b Merge branch master into dev/eng
Commit migrated from https://github.com/dotnet/corefx/commit/44b68e694948065c1b61457cec125d3d64c1fa22
2017-01-05 14:03:56 -08:00
dotnet bot 9a413a6bca Update CoreFx to beta-24905-02 (dotnet/corefx#14892)
Commit migrated from https://github.com/dotnet/corefx/commit/48661a20d332cc19ae7cecaf69ab0e95a2abc50a
2017-01-05 10:58:29 -08:00
John Chen c85cd0561f Merge pull request dotnet/corefx#14876 from JohnChen0/apiset
Replace API Set with Win32 DLL in tests

Commit migrated from https://github.com/dotnet/corefx/commit/158800db40864779aadbe2b2e6916dbc495060b6
2017-01-05 07:55:09 -08:00
dotnet bot fc9cc043d3 Update CoreFx, ProjectNTfs to beta-24905-01, beta-24905-00, respectively (dotnet/corefx#14882)
Commit migrated from https://github.com/dotnet/corefx/commit/93d99e8c797e311059f822036e7598fe58d71e3e
2017-01-04 21:27:48 -08:00
John Chen (CLR) f2e4ee37be Replace API Set with Win32 DLL in tests
API Sets are not available on Windows 7, thus tests need to
import from Win32 DLL to run successfully on Windows 7.
Resolves issue dotnet/corefx#14728.


Commit migrated from https://github.com/dotnet/corefx/commit/21296d01c360e5febf4f9d7c501158cf740c604c
2017-01-04 16:27:17 -08:00
Ian Hays 2b98c8ceec Remove Debug Failures from FSW Win32
There are some Debug.Fail calls in the win32 FileSystemWatcher that can be hit in normal operation sometimes. We've already established a behavior for these scenarios (use null as the old/new names when they're not available), so we shouldn't be debug asserting that they're not possible.


Commit migrated from https://github.com/dotnet/corefx/commit/f774ff39b164b33fb09c0f0a84497245608a5d90
2017-01-04 11:50:09 -08:00
dotnet-bot f6c2208f04 Update CoreClr, CoreFx, ProjectNTfs to beta-24904-02, beta-24904-01, beta-24904-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/81832da776d1502b0a68219cba6b8cbaf9399ed6
2017-01-04 09:48:26 +00:00
Eric Mellino dd3d24027d Add Configurations.props files for test projects, include tests in build.proj (dotnet/corefx#14663)
* [WIP]Created src\tests.proj which is mostly building all tests

* Convert test project .builds to Configuration.props

* Fix test paths in targetingpack.props, move test-runtime.

* Move test-runtime under external.
* Rename RuntimeDir->RuntimePath in targetingpacks.props and
  Xunit.Runtime.depproj.
* Remove test-runtime project.json from the SupplementalTestData list in
  dir.targets.

* Remove XUnit.Runtime.depproj from tests.proj

* Convert test .builds files to Configuration.props.

* Revert "Convert test project .builds to Configuration.props"

This reverts commit dotnet/corefx@1efc4d9a02.

* Fix compilation error in System.Collections.Concurrent.Tests

* Fix condition in System.Collections ref project

* Fix two more Collections test project issues

* Add Configuration.props for System.Collections ref

* Fix TargetGroup conditions in System.Collections.Tests.csproj.

* Fix compilation problems with NameResoltion.Pal.Tests.

* Fix compilation errors in SqlClient Stress tests

* Fix IO.Compression.Performance tests compilation

* Fix compilation and configurations of System.Net.Http.Unit.Tests.csproj.

* Fix compilation issues in System.Private.Xml.Linq tests

* Disable XsltScenarios.Tests project, like it was before.

* Fix missing DefineConstants for System.Linq ref project.

* Fix compilation of System.Net.Primitives.Pal.Tests.csproj

* Fix compilation of System.Net.Primitives.UnitTests.Tests.csproj

* Fix compilation of System.Security.Cryptography.Cng.Tests.csproj.

* Fix compilation of System.Net.Primitives reference project

* Fix compilation of System.Net.Security ref project

* Fix compilation of SYstem.Net.Security.Tests.csproj

* Fix configuration of X509Certificates ref project

* Fix compilation errors in System.Net.Http.Unit.Tests.csproj

* Fix Common.Tests.csproj

* Fix System.Diagnostics.Debug.Tests.csproj

* Fix Microsoft.Win32.Registry.Tests.csproj

* Add runtime.native.System.Data.SqlClient.sni to external project

* Fix System.Diagnostics.TraceSource.Tests.csproj

* Fix System.IO.Compression.Performance.Tests.csproj

* Move supplemental test data into test-runtime/project.json

* Fix System.IO.FileSystem.Watcher.Tests.csproj

* Fix System.IO.FileSystem.Tests.csproj

* Fix System.IO.Pipes.AccessControl.Tests.csproj

* Fix System.IO.MemoryMappedFiles.Tests.csproj

* Fix System.IO.Pipes.Tests.csproj

* Fix System.Json.Tests.csproj

* Add missing supplemental test data for net security tests

* Fix resource names in System.Xml.XPath.XDocument.Tests.csproj

* Fix Assembly.Location test case

* Fix assembly loading paths in DefaultLoadContextTest.cs

* Fix issues in System.Runtime.Loader.Tests.csproj

* Fix RootNamespace in ResourceManager tests

* Mark OpenSSL tests as unsupported on Windows

* Fix RootNamespace in System.Xml.XPath.Tests.csproj

* Fix RootNamespace in System.Xml.XPath.XmlDocument.Tests.csproj

* Fix System.IO.Compression.Tests.csproj

* Add missing Configurations.props files for System.Net projects

* Fix compilation issues in WinHttpHandler tests

* Add fixes and a workaround for Linq.Expressions tests

* Add workaround for System.Runtime.Tests

* Use extension methods explicitly in Ref.Emit tests

* Hook up test projects into build

* Fix build configuration of Crypto.Primitives for netcoreapp

* Enable VB tests outside Windows

* Enable Mail tests outside windows

* Don't run Unsafe tests outside windows

* Don't build Unsafe tests outside Windows

* Don't build WebServer project outside of Windows.

* Fix corerun path for Unix tests.

* Fix casing of 'Native' directory in NETCoreApp private pkgproj

* Remove runtime-specific stuff from Xunit.Runtime.depproj

* Move tests into a separate project ('tests.msbuild') which isn't built in build.proj

* Remove duplicate types from NameResolution.Pal tests

* Skip tests in a project if there is no compatible configuration.

* Include internal socket types only on Windows in NameResolution tests

* Manually fix S.R.InteropServices configurations

* Rename tests.msbuild -> tests.builds

* Manually fix System.Text.Encoding.Tests.csproj configuration

* Manually fix System.Threading.Tests configuration

* Manually clean up System.Runtime.Tests.csproj

* Fix System.IO.FileSystem.Tests configurations

* Manually fix System.Globalization.Tests configurations

* Manually fix System.IO.Pipes.Tests configurations

* Manually fix System.IO.Compression.Tests configurations

* Manually fix System.Runtime.Extensions.Tests configurations

* Manually fix System.IO.MemoryMappedFiles.Tests configurations

* Manually fix S.Diagnostics.Process.Tests configurations

* Manually fix System.ComponentModel.TypeConverter.Tests configurations

* Misc PR feedback.

* Use HostRunnerName instead of HostRunner in Process tests

* Fix configurations for S.ServiceProcess.ServiceController.Tests

* Revert to using ConfigurationErrorMsg to check if tests should be skipped.

Configuration still defaults to 'Debug' even if there is no valid configuration.


Commit migrated from https://github.com/dotnet/corefx/commit/2c0352ec38f9f6f602ae819f0cafb02c1908f137
2017-01-03 13:27:19 -08:00
dotnet bot db5f76dc34 Update CoreClr, CoreFx to beta-24903-03, beta-24903-02, respectively (dotnet/corefx#14819)
Commit migrated from https://github.com/dotnet/corefx/commit/c379ecd7f3b53ee00521b91c4e8421e15fe6178a
2017-01-03 10:58:17 -08:00
dotnet-bot 80435753bd Update CoreClr, CoreFx, ProjectNTfs to beta-24903-02, beta-24903-01, beta-24903-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/14a3a5b6c2dce0ea80209ef3c4f34d4c6d460177
2017-01-03 09:43:53 +00:00
dotnet-bot d45b4d8506 Update CoreClr, CoreFx to beta-24902-03, beta-24902-02, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/ecb70894ab9e82f08fb8afcfe01e1f663f10a2e5
2017-01-02 17:29:07 +00:00
dotnet-bot d3b238de6a Update CoreClr, CoreFx, ProjectNTfs to beta-24902-02, beta-24902-01, beta-24902-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/d52cb08c73cdf51b363d721cfbd3299347eb6a03
2017-01-02 09:45:03 +00:00
dotnet bot a92d96c1a8 Update CoreClr, CoreFx, ProjectNTfs to beta-24829-03, beta-24829-02, beta-24829-00, respectively (dotnet/corefx#14755)
Commit migrated from https://github.com/dotnet/corefx/commit/3860fe87088c38e0093952ecfcc01f9cc01c628e
2016-12-29 11:22:00 -08:00
dotnet bot b4eb941d9a Update CoreClr, CoreFx, ProjectNTfs to beta-24828-03, beta-24828-03, beta-24828-00, respectively (dotnet/corefx#14743)
Commit migrated from https://github.com/dotnet/corefx/commit/24d0731401fa324f6f75ac711f966f488372f6c1
2016-12-28 14:32:38 -08:00
dotnet-bot 60a7566d99 Update CoreClr, CoreFx, ProjectNTfs to beta-24827-03, beta-24827-01, beta-24827-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/f7f3a2ed0b236af4d7e77cbeb4c170a5b9c3f69d
2016-12-27 19:42:49 -08:00
chcosta 692c3f7ed6 Use netcoreapp and netstandard for targetgroups (dotnet/corefx#14616)
* Use netcoreapp and netstandard for targetgroups

* Add configurations for some reference projects


Commit migrated from https://github.com/dotnet/corefx/commit/fa7a54ad6d9c785a5d68cc7ade7b4995f04f7823
2016-12-19 15:23:37 -08:00