Commit Graph
120 Commits
Author SHA1 Message Date
dotnet-bot 6883e89fc3 Updating CoreFX dependencies to rc3-24008-00
Commit migrated from https://github.com/dotnet/corefx/commit/30b74738cdac9c75a2dd165d339f206b1070f3cd
2016-04-08 06:40:37 +00:00
dotnet-bot 0f0193e356 Updating CoreFX dependencies to rc3-24007-00
Commit migrated from https://github.com/dotnet/corefx/commit/d9fdf25de0e1cf35219a26d4f840302e5379f292
2016-04-07 05:37:12 +00:00
dotnet-bot be7ca463ae Updating CoreFX dependencies to rc3-24006-00
Commit migrated from https://github.com/dotnet/corefx/commit/aff79bf3fa8ce8c13b6084d82aca30e534142b81
2016-04-06 05:21:19 +00:00
dotnet-bot 8c6d7acd5d Updating CoreFX dependencies to rc3-24005-00
Commit migrated from https://github.com/dotnet/corefx/commit/afbf526ac0fae250fc47623f2c43d2caa1abb803
2016-04-05 06:23:55 -04:00
dotnet-bot 9f65b1e1ef Updating CoreFX dependencies to rc3-24004-00
Commit migrated from https://github.com/dotnet/corefx/commit/9fd2c8863f2be58ee5d1431f0c658de61e991551
2016-04-04 20:19:10 -04:00
Stephen Toub 108c243c9e Merge pull request dotnet/corefx#7450 from stephentoub/plinq_cc
Add PLINQ tests to fill ToF gaps

Commit migrated from https://github.com/dotnet/corefx/commit/5ef2253cbd79d5b6f6710572986b1051d04c6ff6
2016-04-04 13:59:36 -04:00
Lakshmi Priya Sekar 2a3abf12b4 Update xunit.netcore.extensions to latest.
Commit migrated from https://github.com/dotnet/corefx/commit/a7bb9eb3327f5cc791d39b4cff764dd7dd29fda5
2016-04-01 14:04:56 -07:00
stephentoub e2c0b719f9 Add PLINQ tests to fill ToF gaps
Commit migrated from https://github.com/dotnet/corefx/commit/876f47cdc2ce4407b1e42c5e031b6cca49689745
2016-04-01 16:08:09 -04:00
Stephen A. Imhoff 588094af39 Clean up and expand PLINQ cancellation tests
* Add missing pre-cancelled combinatorial tests (output options only).

* Change Pre-cancelled tests to get token from Functions.AssertAlreadyCanceled.

* Add missing `Any` existence check pre-cancellation test.

* Wrap usual query cancellation to hide complexity.

* Add base helpers and sources for in-flight cancellation.

* Add Aggregate in-flight cancellation tests.

* Add All in-flight cancellation tests.

* Add Any in-flight cancellation tests.

* Add Average in-flight cancellation tests.

* Add Contains in-flight cancellation tests.

* Add Count/LongCount in-flight cancellation tests.

* Add ElementAt/ElementAtOrDefault in-flight cancellation tests.

* Add First/FirstOrDefault in-flight cancellation tests.

* Add ForAll in-flight cancellation tests.

* Add Last/LastOrDefault in-flight cancellation tests.

* Add Max in-flight cancellation tests.

* Add Min in-flight cancellation tests.

* Add SequenceEqual in-flight cancellation tests.

* Add Single/SingleOrDefault in-flight cancellation tests.

* Add Sum in-flight cancellation tests.

* Add ToArray in-flight cancellation tests.

* Add ToDictionary in-flight cancellation tests.

* Add ToList in-flight cancellation tests.

* Add ToLookup in-flight cancellation tests.

* Add foreach in-flight cancellation tests.

* Add cancellation for inner query of binaries.

* Remove basic pre-canceled token tests from `WithCancellationTests` (handled in combinatorial testing).

* Remove in-flight cancellation tests (handled in combinatorial and elsewhere)

* Move enumerator dispose test to GetEnumeratorTests

* Add/correct multiple WithCancellation test (original called WithDegreesOfParallelism)

* Add tests with not cancelable and pre canceled cancellation tokens.

* Remove SelectMany regression test (covered by existing SelectMany tests).

* Add tests for alternate (canceled) cancellation source throwing wrapped OCE.

* Add non-canceled thrown OCE test.

* Condense dealing with disposing the enumerator.
Original tests were liable to cause deadlock due to calling Dispose in a child thread (using an ordered source in an attempt to expand the tests made it a certainty).

* Update and expand ephemeral ODE test (potentially covered in combinatorial?).

* Update test for canceled-then-disposed enumerator.

* Re-use throws wrapped.

* Tweak comment, correct element counts.

* Replace regression test comment in SelectMany tests, tweak PE.Range expander

This comment was originally for a test in WithCancellationTests, but
that test didn't call WithCancellation at all.  Given the nature of the
original test, it was felt that _all_ SelectMany tests would check for
the failure; the original test was thus removed.

* Correct operation.

* Comparers sealed/readonly

* Add missing min/max func cancel combinations.

* Knock down delay time.

* Move (implicit in foreach) MoveNext cancellation test.

* Reduce counts for WithCancellation ProducerBlocked tests.

* Create new AssertThrows helper.
 - Cancellation-related throws provide default source
Switch to new cancellation throws.
 - GetEnumerator switched to internal methods to explicitly run over all sources.

* Split Single/SingleDefault cancellation tests.


Commit migrated from https://github.com/dotnet/corefx/commit/2d1d84d28e45d1d08179dc5ff7bbe4cacb1d5e64
2016-04-01 14:37:49 -04:00
Jonathan Miller 0e43cc624e Merge pull request dotnet/corefx#6572 from sokket/builds
Adding builds files to the test projects

Commit migrated from https://github.com/dotnet/corefx/commit/e8326c3dab65e2e8eac466f346a9693788d41ca9
2016-03-31 11:41:43 -07:00
Jonathan Miller 7c2ce6913c Adding builds files for the test projects
Commit migrated from https://github.com/dotnet/corefx/commit/752599494fce80b5d0059a9090fdc010d8c7f45b
2016-03-31 10:46:26 -07:00
stephentoub 025ea3f97f Update packages to rc3-23931-00
Commit migrated from https://github.com/dotnet/corefx/commit/e421dd9c41c308f83511e350c1e407d1f728ba78
2016-03-31 08:26:49 -04:00
stephentoub dabfe7fc9d Update packages to rc3-23930-00
Commit migrated from https://github.com/dotnet/corefx/commit/64a2b6c70977e33b4e8fb90e8f5d3b019b843e61
2016-03-30 07:30:59 -04:00
stephentoub aa64955b41 Update packages to rc3-23925-00
Commit migrated from https://github.com/dotnet/corefx/commit/268eea1b538fa80a0042a1eabc4e51c84473d7b0
2016-03-25 20:23:47 -04:00
stephentoub 0de8ee2b33 Update packages to rc3-23923
Commit migrated from https://github.com/dotnet/corefx/commit/123180cde4aadbed151ffbc00c09b85b7532da68
2016-03-23 11:56:57 -04:00
stephentoub b60997fa74 Update packages to rc3-23921
Commit migrated from https://github.com/dotnet/corefx/commit/3eb508d41d476e4ca0c74d106584c7a7f0d51a17
2016-03-21 12:10:10 -04:00
Stephen Toub fa45f3dbda Merge pull request dotnet/corefx#7059 from JonHanna/typo_fix
Fix several typos

Commit migrated from https://github.com/dotnet/corefx/commit/1db0c74f3f525365c2573458aa1f454cacf00453
2016-03-19 13:25:53 -04:00
Jon Hanna c23897f890 Fix several typos
Commit migrated from https://github.com/dotnet/corefx/commit/12a32bec60794664178886e6c1157677b883ded6
2016-03-19 16:28:22 +00:00
Eric St. John 6aeccb0bae Fix tests to restore using the latest packages
We removed the lifting from the lineup so tests should reference the
latest packages in order to ensure an implementation is available.

The latest pacakges exclude implementation dependencies so I needed to
add these to projects that were depending on them coming in transitively.


Commit migrated from https://github.com/dotnet/corefx/commit/bef9061fd1238adf47b864d8924d121e4134465b
2016-03-19 08:01:11 -07:00
Eric St. John ff75367f93 Update packages to rc3-23918
Commit migrated from https://github.com/dotnet/corefx/commit/d3d217b2ab336b862c27a3e605e32dc0c0a6d472
2016-03-19 08:01:09 -07:00
stephentoub d5e591e45a Update packages to rc3-23910
Commit migrated from https://github.com/dotnet/corefx/commit/ab3948bfab039aac2afc1b521883425a171b982d
2016-03-10 09:37:40 -05:00
Eric St. John 04a73fbed6 Update packages to rc3-23908
Commit migrated from https://github.com/dotnet/corefx/commit/86a230845c4f1840dcb9b52165c6976fad5b5868
2016-03-08 08:46:50 -08:00
stephentoub 38f7d19954 Update packages to rc3-23907
Commit migrated from https://github.com/dotnet/corefx/commit/baed539ebb753fefc91da9870ddeee72df0a6e14
2016-03-07 10:12:40 -05:00
stephentoub f3434408bc Update xunit.netcore.extensions to 00187
Commit migrated from https://github.com/dotnet/corefx/commit/3cfd81e7369628d052da6367b28c6f5b5839f55d
2016-03-03 22:06:40 -05:00
stephentoub 9b4473ede7 Upgrade package versions to rc3-23901
Commit migrated from https://github.com/dotnet/corefx/commit/55246a7fc60807d021fded5e333784956a662a51
2016-03-02 07:40:12 -05:00
Pallavi Taneja 38e2f4de64 Update the packages
Commit migrated from https://github.com/dotnet/corefx/commit/be7151b45a54577c2e28c56977408d7d61ed0ea9
2016-02-29 13:09:16 -08:00
Stephen A. Imhoff 1da9d6101e Remove casts for test source data
Commit migrated from https://github.com/dotnet/corefx/commit/7dbe409ee23ada5bfa8fcfb202067fbd20d9e6ac
2016-02-27 11:41:18 +09:00
Stephen A. Imhoff 9f8d436ebd Correct nameof to refer to correct source class.
Commit migrated from https://github.com/dotnet/corefx/commit/68b6c8a7f2e3d701405703afb37e70116377917f
2016-02-27 11:41:15 +09:00
dotnet-bot b32ddb5d98 Deploy nameof throughout corefx in MemberData
Commit migrated from https://github.com/dotnet/corefx/commit/9c3156b9ada06b8e58ac53d48fc303500bf3e476
2016-02-18 23:58:15 -05:00
stephentoub 95d7cc7534 Update packages to rc3-23818
Commit migrated from https://github.com/dotnet/corefx/commit/380a2ebf4a498f9ab0a819c71d8717377e601bfb
2016-02-18 07:28:09 -05:00
stephentoub 180fba592f Update packages to rc3-23816
Commit migrated from https://github.com/dotnet/corefx/commit/c2e6426b9b9494d5478f656396f4da5711e8729a
2016-02-16 11:05:43 -05:00
Davis Goodin 1bc755f9e7 Adds custom xplat nuget that can restore from VSTS feed, adds the VSTS feed, and upgrades project.jsons throughout NDP\FxCore to pass new nuget compatability checks.
Some fixes (adding imports, adding Platforms package) were tooled, but more complex ones (forking project.jsons, editing csproj's) were not.

Also makes dependency version validation rules case-insensitive. (I used this fix to update the versions of some packages.)

[tfs-changeset: 1573868]


Commit migrated from https://github.com/dotnet/corefx/commit/84af04317505d48feaa1e83dd5dc27ddc0f6de76
2016-02-09 14:20:02 -08:00
dotnet-bot 39d1eab950 Update licensing headers
Commit migrated from https://github.com/dotnet/corefx/commit/7cad8486cbabbce0236bdf530e30db7036335524
2016-01-27 08:02:28 -08:00
stephentoub b1ced5215f Fix System.Linq.Parallel test after ToArray changes
This wasn't caught previously because System.Linq.Parallel.Tests is depending on the System.Linq.dll NuGet package, not the live bits.  Two tests were explicitly verifying object equality.  This isn't necessary; I've simply deleted the offending checks.


Commit migrated from https://github.com/dotnet/corefx/commit/a7d743c973b2eea287c5c6dcde807fe640ed491a
2016-01-23 11:36:31 -05:00
dagood e401efd6af Add portable-net45+win8 import to tests.
Specifically, add the import to dnxcore50 frameworks entries where "xunit" is mentioned in the project.json.
This fixes `xunit.abstractions 2.0.0 is not compatible with DNXCore,Version=v5.0.`


Commit migrated from https://github.com/dotnet/corefx/commit/da2e8eb34efcaf70069223bc431d80909a2fc91d
2016-01-12 14:04:32 -06:00
dagood fbfb82cc8c Change all project.json files to validate. Remove lockfiles from source control and add to gitignore.
A few new references to pick up changes that happened over time.


Commit migrated from https://github.com/dotnet/corefx/commit/0d881222d8c3269157639e2e67056e5a83aad834
2015-12-09 16:25:26 -06:00
Eric St. John 65210efd31 Update project.lock.json to latest and lock
Commit migrated from https://github.com/dotnet/corefx/commit/6aeea5eabf2aff3baf15f501cabd156dfc5b3f8f
2015-11-09 22:38:10 -08:00
Eric St. John cddddd29f5 Remove unused dependencies
Commit migrated from https://github.com/dotnet/corefx/commit/78fd45ec74afc507a40df519b4df650ac9bd4c42
2015-11-09 22:37:37 -08:00
Eric St. John 8cc3c24b51 Update lock files that were missed in previous restore.
A change was made to DNX to no longer restore project.jsons
that are in nested folders.  This caused my batch update to miss
a number of tests and reference assembly projects.

This fixes the stale lock files, but restore is still broken.

[tfs-changeset: 1540448]


Commit migrated from https://github.com/dotnet/corefx/commit/3622cccc1b22fa1947a72d5126b59864e9d2fd0d
2015-10-21 18:59:09 -07:00
Eric St. John 543808303a Update dnx to v1.0.0-rc1-15838, update dotnet projects to generations
We need a new DNX to understand the latest packages.

We also need to move all "dotnet" projects to use dotnetX.X (generations)
now that the packages no longer have "dotnet" assets.

The new version of DNX dropped support for the aspnetcore
so I needed to update a few projects/packages that depended
on old package versions that had this moniker.

[tfs-changeset: 1540388]


Commit migrated from https://github.com/dotnet/corefx/commit/38f8d7a3ca1ee819c2b8eabb1c07ee4e99683c97
2015-10-21 17:03:48 -07:00
bartonjs a768025131 Update all project.lock.json files
Built Windows_NT, Linux, OSX with /p:LockDependencies=true.

CoreFX beta-* => 23419
xunit.netcore.extensions => 00107


Commit migrated from https://github.com/dotnet/corefx/commit/a14b22705df253508bd5f2dab0407bd2c7e4d639
2015-10-19 16:00:44 -07:00
Peter Jas a29604278c code: Fixes occurred spelling.
Fixes dotnet/corefx#3661.


Commit migrated from https://github.com/dotnet/corefx/commit/544a3885ff51e04db89b70e3f155be1a5c64f166
2015-10-06 15:27:09 +00:00
Stephen Toub 7879d3ffc2 Remove dummy Console.cs from Common\tests
Several of the test projects are doing Console.WriteLine, but aren't actually using System.Console.dll, and are instead including a dummy Console.cs file where WriteLine just calls Debug.WriteLine.  This commit deletes that dummy file and updates the consuming test projects to just use Debug.WriteLine. (We don't want our tests to be using Console.WriteLine for this kind of debug spew, anyway.)


Commit migrated from https://github.com/dotnet/corefx/commit/fbddea55638921186299e9c0eb51d3f3a8dd73b7
2015-10-05 14:34:05 -04:00
stephentoub ee5af96a78 Delete two PLINQ tests
Enumerators, even those produced by PLINQ, are not safe to be used concurrently from multiple threads.  Two PLINQ tests are doing exactly that, trying to Dispose of an enumerator concurrently with calling MoveNext on it and potentially concurrently with other calls to Dispose.  This is resulting in sporadic hangs in CI.

I'm simply deleting the tests, as their sole purpose is to test this particular unsupported and unsafe situation.


Commit migrated from https://github.com/dotnet/corefx/commit/8ba6140a8c9d9584f71731e8856f6e2bdcfc8d17
2015-10-02 12:41:28 -04:00
Ian Hays 0f8197a86c Update CoreFX to xunit 2.1.0
Commit migrated from https://github.com/dotnet/corefx/commit/87b48c58936d66fcb201b3a8ad0961fa055f23b9
2015-10-01 19:56:49 -07:00
Stephen A. Imhoff dac9a62890 Switch to OuterLoop attribute on class.
Commit migrated from https://github.com/dotnet/corefx/commit/5a5debb8fe10216668b31dc5722914d4ace6fa6f
2015-09-17 16:54:17 +09:00
Stephen A. Imhoff 0ace697d7c Expand GetEnumerator Tests.
Commit migrated from https://github.com/dotnet/corefx/commit/37fe1aa4acafa7e11d951a0dd694ac9b3c983db2
2015-09-17 16:54:16 +09:00
Stephen A. Imhoff f50b3b44ed Extract/expand failing combinatorial tests.
Add throw-on-enumeration source.


Commit migrated from https://github.com/dotnet/corefx/commit/aa26d27367f3283c86b502da640a7f87055b3f7a
2015-09-17 16:54:15 +09:00
Stephen A. Imhoff 0562be4aa5 Add missing PreCanceled OCE combination tests.
Commit migrated from https://github.com/dotnet/corefx/commit/df57e797c4288851b6b288aad63a1fff558dd0fa
2015-09-17 16:54:14 +09:00
Clockwork-Muse 168ab05c98 Add checks for duplicate settings.
Commit migrated from https://github.com/dotnet/corefx/commit/ca3c94dc781c92ae738cd86f0435ac729844e919
2015-09-17 16:54:13 +09:00