Fold a bunch of CoreCLR's abandoned mutex tests into a parameterized test (dotnet...
authorKoundinya Veluri <kouvel@users.noreply.github.com>
Thu, 18 Jul 2019 17:48:31 +0000 (10:48 -0700)
committerGitHub <noreply@github.com>
Thu, 18 Jul 2019 17:48:31 +0000 (10:48 -0700)
commit9c6c1a8993d3c07737fdfa508f788e49e8a9ad52
treeebe18b85a6d89852a4c1d5fd9de21f50a1261487
parent1b4cf22dd18132b668a50e1121a28c9c8ea20030
Fold a bunch of CoreCLR's abandoned mutex tests into a parameterized test (dotnet/corefx#39050)

Fold a bunch of CoreCLR's abandoned mutex tests into a parameterized test

- There are a large number of tests in CoreCLR with a lot of redundancy, timing issues, and which take unnecessarily long to run
- Folded a bunch of them into the existing parameterized test and improved it to cover more cases to replace the tests in CoreCLR that will be removed
- Coverage is not 100% equivalent, but I belive this sufficiently covers the necessary aspects of the tests in CoreCLR that will be removed

Commit migrated from https://github.com/dotnet/corefx/commit/fa722debec4c18a444a207171b686e40d7c0fc1a
src/libraries/Common/tests/CoreFx.Private.TestUtilities/System/AssertExtensions.cs
src/libraries/System.Threading/tests/MutexTests.cs