Commit Graph
324 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
Hugh Bellamy 95d0037c52 Make IdnaConformance tests easier to diagnose when they go wrong (dotnet/corefx#21463)
Commit migrated from https://github.com/dotnet/corefx/commit/8dc08be6eb99ce6475f087b4d7418f3e477e55cb
2017-06-23 13:12:36 -04:00
danmosemsft a9a06c8c3d Disable for nano
Commit migrated from https://github.com/dotnet/corefx/commit/43ff5382d06159e7f495ca215e71767f2f590626
2017-06-21 20:20:58 -07:00
Atsushi Kanamori 24e6a7ba64 Get System.Globalization.Extensions.Tests working on AOT (dotnet/corefx#19049)
The reasons are also all too familiar by now...

Commit migrated from https://github.com/dotnet/corefx/commit/392e149dd467cfe6b39dd19f86187da3b8f7190e
2017-04-27 11:48:32 -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
Dan Moseley 245f3871a8 Disable test for NETFX (dotnet/corefx#18535)
Commit migrated from https://github.com/dotnet/corefx/commit/eadf77294e750fcbc80985d39deb05fc3f16ae0f
2017-04-18 12:16:57 +02:00
Viktor Hofer 81fb32a0ba System.Globalization IdnMappingIdnaConformanceTests failing on Win10 RS2 (dotnet/corefx#17807)
* unicode 9
* IdnaTest file adjusted to Win10 Unicode 9 implementation (1000 tests are failing of 5000)


Commit migrated from https://github.com/dotnet/corefx/commit/50ec3a52306df5e96d9d90543f8a6941e699b8d3
2017-04-03 19:22:11 +02: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
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
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
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
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
Eric Mellino da3c47cf33 Port first third of tests to build against the targeting pack / runtime (dotnet/corefx#14450)
* Change first third of test projects to compile against targeting pack.

* Add supplemental test data into an external project


Commit migrated from https://github.com/dotnet/corefx/commit/65780ef192c4f2214e65816e7ac90899be6a5557
2016-12-12 14:19:07 -08:00
Tarek Mahmoud Sayed e8e32403ba Fold System.Globalization.Extensions contract to System.Runtime.Extensions (dotnet/corefx#13870)
* Fold System.Globalization.Extensions contract to System.Runtime.Extensions

* FIx throwing original exception and change the csproj configuration

* Delta fix

* Fix the build configuration

* remove System.Runtime.Extensions package reference from system.Console

* Remove project reference of S.Runtime.Extensions from the csproj

* More clean up for S.Runtime.Extensions references in projects


Commit migrated from https://github.com/dotnet/corefx/commit/a751f20c7d586ee4cd5bece0c8633a24da01bcfe
2016-11-22 07:22:19 -08:00
Tarek Mahmoud Sayed f9b558eb2b Add IdnMapping to System.Runtime contract (dotnet/corefx#13779)
This change also contains some cleanups after have exposed IdnMapping from corelib

Commit migrated from https://github.com/dotnet/corefx/commit/86400ba6d0188f4a7f1f22a3b8a230afafa377a2
2016-11-17 17:10:15 -08:00
Tarek Mahmoud Sayed 9442fd42a5 Use Assert.IsType
Commit migrated from https://github.com/dotnet/corefx/commit/9b232c62b141f90cd774035b4920db8052f5ba7c
2016-10-24 11:12:08 -07:00
Tarek Mahmoud Sayed 9befa127c5 Fix Idn failing test
This change i sreverting the change done in this test which tried to make it work with checking different platforms.
this didn't work well and expected will make the test not stable when we support more platforms.


Commit migrated from https://github.com/dotnet/corefx/commit/ac662379c2456d29f1c9ceb2f2b7b3c62d51f263
2016-10-24 10:38:22 -07:00
Stephen A. Imhoff 4c0af04efb Remove unnecessary exception test
Commit migrated from https://github.com/dotnet/corefx/commit/e4766211136f6c29f7a3fa225f6ef95ab8814985
2016-10-22 14:41:06 -07:00
Stephen A. Imhoff 1a952ef489 Remove unnecessary Assert, ActiveIssue.
Commit migrated from https://github.com/dotnet/corefx/commit/d2cce3c193a7f5ff078a9c857646db3695268687
2016-10-22 14:41:04 -07:00
Stephen A. Imhoff a209f18354 Switch to more idiomatic Assert.Equal, use standard Assert.Throws.
Commit migrated from https://github.com/dotnet/corefx/commit/541932a2d94be98611db4767939d97d1fbce1567
2016-10-22 14:41:03 -07:00
Stephen A. Imhoff bdf4f8d092 Be more specific about expected failing platforms.
Commit migrated from https://github.com/dotnet/corefx/commit/3de52b6ff66cde959e354c7672512db850f216c6
2016-10-22 14:41:02 -07:00
Stephen A. Imhoff 01981d9bfa Assert condition, rather than inside an if.
Commit migrated from https://github.com/dotnet/corefx/commit/c94f3877581699fa352854929cb5fc89093bb5b8
2016-10-22 14:23:47 -07:00
Tarek Mahmoud Sayed f2a9149120 Revert "System.Globalization.Extensions cleanup"
Commit migrated from https://github.com/dotnet/corefx/commit/4ca00cd826c4fac7290d3d7b1f800539eab409a0
2016-10-20 15:39:26 -07:00
Stephen A. Imhoff 9304a986c3 Update platform detection.
Commit migrated from https://github.com/dotnet/corefx/commit/e8a8c2a369f0e85b4daecf17d77bf798b5a1a20f
2016-10-20 10:12:52 -07:00
Stephen A. Imhoff 0709858d56 Remove unnecessary asserts.
Commit migrated from https://github.com/dotnet/corefx/commit/a9d1a6924f0e40894051f43d1e494c9b3a0eb183
2016-10-20 10:12:08 -07:00
Stephen A. Imhoff a2ded39465 Add OpenSUSE for platform detection.
Commit migrated from https://github.com/dotnet/corefx/commit/c364b4dad8f3b80db77c555d60e149afb27c49a7
2016-10-19 14:56:16 -07:00
Stephen A. Imhoff fbf5198dc2 Extraneous comment removed.
Commit migrated from https://github.com/dotnet/corefx/commit/5162999d1eaade4c32b6e13bd49b717508f2f152
2016-10-19 14:52:58 -07:00
Stephen A. Imhoff ff659fb17b Move to asserting condition check directly.
Commit migrated from https://github.com/dotnet/corefx/commit/bb694891749319c2ac8126130ef69fbcdfd4859e
2016-10-19 13:39:14 -07:00
Stephen A. Imhoff 9050748af9 Revert Assert->exception changes.
Commit migrated from https://github.com/dotnet/corefx/commit/0012060d306a6bc49be94308168c1b6191e91a63
2016-10-19 13:39:13 -07:00
Stephen A. Imhoff 67d8e76458 Remove orphan activeissue
Commit migrated from https://github.com/dotnet/corefx/commit/4ed988a52cab69121d941e9f8b7f23d6f06d4f60
2016-10-19 13:39:10 -07:00
Stephen A. Imhoff c72b4a47bf Use only NullReferenceException test.
Commit migrated from https://github.com/dotnet/corefx/commit/5cbda7bd8978bf6b93e6488e301c0ea8e8fb103f
2016-10-19 13:39:07 -07:00
Stephen A. Imhoff 032700cb29 Let StreamReader perform the null check.
Commit migrated from https://github.com/dotnet/corefx/commit/b8aae9bab6e1ccff27b6833955097cff9c6f4c60
2016-10-19 13:39:05 -07:00
Stephen A. Imhoff 0ea6556bfb Switch to conditional fact.
Commit migrated from https://github.com/dotnet/corefx/commit/53aa0e1edc4842ef7f84572de0913cc4a13203a9
2016-10-19 13:39:02 -07:00
Stephen A. Imhoff e7a444d5f5 Fix formatting/whitespace.
Commit migrated from https://github.com/dotnet/corefx/commit/b0be09239bda78b864af36b19b5febba8a7246af
2016-10-18 20:42:10 -07:00
Stephen A. Imhoff b14bcaf402 Cleanup Record.Exception use, tighten tests.
Commit migrated from https://github.com/dotnet/corefx/commit/93de7724cc7d589ac11654ec5d1f8f060e641900
2016-10-18 20:42:08 -07:00
Stephen A. Imhoff 91649159b9 Split test to platform-specific variants for better clarity.
Commit migrated from https://github.com/dotnet/corefx/commit/505295ab33856824ab6b2f81388bf881aeb92bd2
2016-10-18 20:42:06 -07:00
Stephen A. Imhoff 3274e1284a Prefer exception for test setup.
Commit migrated from https://github.com/dotnet/corefx/commit/8cd0a501db77cc137fe68d08eb5f7f3ffe5111c6
2016-10-18 20:41:31 -07:00
Karthik Rajasekaran 9255a2e649 Combine test dependencies into a common project.json.
Restore this common project.json upfront to improve sync time and avoid download contention from nuget.


Commit migrated from https://github.com/dotnet/corefx/commit/654f5548f946659c694d110a4bbce8aa33f1a7a1
2016-10-18 11:39:53 -07:00
dotnet-bot 94f229c6a7 Update CoreClr, CoreFx to beta-24617-03, beta-24617-03, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/4c6df2edbad3b5d8ec3914c0366f80ebb73f7c12
2016-10-18 08:43:24 -04:00
dotnet-bot 7b31a1e04a Update CoreClr, CoreFx, External to beta-24615-02, beta-24615-03, beta-24614-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/025cec5bf1e82980a77e473f2e5d599ffd60af49
2016-10-15 08:33:01 +00:00
dotnet-bot 511149ab83 Update CoreClr, CoreFx, External to beta-24613-02, beta-24613-01, beta-24613-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/8f355c66ac9adbf9f36cfdd019ba1d2cefb54001
2016-10-13 08:37:30 +00:00
dotnet-bot 4a517b60c6 Update CoreClr, CoreFx to beta-24612-03, beta-24612-03, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/f01cf91423391f80ad5269340eb8e602ea9cb087
2016-10-12 16:28:54 +00:00
Stephen Toub f54cfb8704 Update CoreClr, CoreFx to beta-24611-01, beta-24611-02 respectively (master)
Commit migrated from https://github.com/dotnet/corefx/commit/b7cc4e219207cff50cdbb11176d3cee25be724f0
2016-10-11 15:32:17 -04:00
Stephen Toub 320ec958ba Update CoreClr, CoreFx to beta-24608-02, beta-24608-01, respectively (master)
Commit migrated from https://github.com/dotnet/corefx/commit/0fe592ec0a6be3cb49ecf37a798ca482b0d261dc
2016-10-08 08:25:01 -04:00
Sedar Gokbulut fb95e1e002 Revert "Merge branch 'dotnet-bot-master-UpdateDependencies'"
This reverts commit dotnet/corefx@631f21b4c2, reversing
changes made to dotnet/corefx@374a387de0.


Commit migrated from https://github.com/dotnet/corefx/commit/30cd016952f1f806986f2918fc7c1ebdb570aefd
2016-10-07 16:10:51 -07:00
dotnet-bot d7384b3382 Update CoreClr, CoreFx, ProjectNTfs to beta-24607-02, beta-24607-03, beta-24607-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/6f081ec97720eb7efd2653b91f88cda45cb43431
2016-10-07 15:48:04 -04:00
Jose Perez Rodriguez c37abd4f53 Reorder test.builds files metadata to be consisteng across the repo
Commit migrated from https://github.com/dotnet/corefx/commit/8cbdf88e1b122babd37575587692448ed59e7f58
2016-10-05 14:58:03 -07:00
Alex Perovich 674bb7a0f8 Update project ToolsVersions to 14.0 (dotnet/corefx#12355)
Commit migrated from https://github.com/dotnet/corefx/commit/71de1aac5cf3e5dc87714ae0cc829e1fa98f7c5d
2016-10-05 12:50:37 -07:00
dotnet-bot ddcb0ebc64 Update CoreClr, CoreFx, ProjectNTfs to beta-24605-01, beta-24604-02, beta-24604-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/193d21d6f4d181b086a52d17716499a3170785d0
2016-10-05 07:52:47 -04:00
Stephen Toub 223322a88c Merge pull request dotnet/corefx#12285 from dotnet-bot/master-UpdateDependencies
Update CoreClr, CoreFx to beta-24602-02, beta-24601-02, respectively (master)

Commit migrated from https://github.com/dotnet/corefx/commit/06756f5cb7d12a10d77c468fc7b03abb67d9ed49
2016-10-02 10:05:09 -04:00