Commit Graph
14 Commits
Author SHA1 Message Date
Stephen Toub 6072e4d3a7 Update license headers (#38793) 2020-07-08 09:23:11 -04:00
Stephen Toub 707e302b80 Remove duplicate tests from System.Linq.Parallel.Tests (#35838) 2020-05-05 13:22:46 -04:00
Stephen Toub c8df52dd02 Re-enable xunit warning 1026 (unused theory arguments) (dotnet/corefx#40079)
* Re-enable xunit warning 1026 (unused theory arguments)

Some of these were addressed by explicitly discarding theory arguments, generally in cases where either a) the argument was being used as a description to aid in debugging failures, or b) the argument was part of a member data that was used by some theories and not by others all sharing the same member data.

However, there are quite a few legitimate bugs being fixed here, enough that highlights it's worthwhile to have the rule enabled.  Some are cases where the argument was supposed to be used but wasn't.  Some are cases where the argument isn't used at all, and in many cases where we end up running the same test over and over and wasting cycles.  Some are cases where we're unnecessarily including irrelevant inputs to the tests and making the input data more complicated than it needs to be.  Etc.

(Along the way, I also fixed some cases where VS was warning about lambdas being used instead of local functions, and in cases where I agreed I fixed them, via auto-fixers.)

* Address PR feedback


Commit migrated from https://github.com/dotnet/corefx/commit/daf93ee0e5e5233141eb762c64b6049cfd7d123e
2019-08-07 08:00:27 +02:00
Viktor Hofer b998fc821e Xunit 2.4 test changes
Commit migrated from https://github.com/dotnet/corefx/commit/591f0b5ba2c0ddcdad1a326eb327936cb2dd40d8
2018-08-23 19:55:27 +02: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
Alex Perovich 0fb6bce849 Disable S.L.Parallel test that hangs on uapaot
Commit migrated from https://github.com/dotnet/corefx/commit/fdac17ffb0b1d78418dbd85a00cf9e3641e5f344
2017-04-19 13:45:21 -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
Dennis "D.C." Dietrich a841a37279 Marking code as unchecked (pt 5)
Marking code that may intentionally lead to over or underflows with
unchecked in preparation of turning on CheckForOverflowUnderflow for
all projects (issue dotnet/corefx#3140)


Commit migrated from https://github.com/dotnet/corefx/commit/05c544cb5fe109357d61d1391b3ab4860a5b2eaf
2017-02-10 01:47:19 +01:00
Stephen Toub 7b96d293ad PLINQ - Fewer/Faster tests (dotnet/corefx#8451)
Peome earlier discussion, I've cut down on the number and running time of the PLINQ tests.

The majority of the cases are still/should be covered, the reductions have generally been in sizes and source types for unordered tests.  Overall, OuterLoop tests on my machine are running about 40% faster. The number of tests is down, but the combinatorial tests still represent the majority of the count.

There are also some minor fixes here and there - dealing with an instance of integer overflow in a helper method, for example.  some earlier discussion, I've cut down on the number and running time of the PLINQ tests.

The majority of the cases are still/should be covered, the reductions have generally been in sizes and source types for unordered tests.  Overall, OuterLoop tests on my machine are running about 40% faster. The number of tests is down, but the combinatorial tests still represent the majority of the count.  There are also some minor fixes here and there - dealing with an instance of integer overflow in a helper method, for example.

Commit migrated from https://github.com/dotnet/corefx/commit/bfabc65b3123dee76406dfce6a0ce16a3b89b0c8
2016-05-11 12:35:17 -04: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
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
dotnet-bot 39d1eab950 Update licensing headers
Commit migrated from https://github.com/dotnet/corefx/commit/7cad8486cbabbce0236bdf530e30db7036335524
2016-01-27 08:02:28 -08:00
Stephen A. Imhoff bf547ac81f Correct Test namespace.
Commit migrated from https://github.com/dotnet/corefx/commit/c9e780fd0d5f8868ba9975616ca895a6a17db79d
2015-09-17 16:54:05 +09:00
Clockwork-Muse 6952087b0e Initial cleanup of System.Linq.Parallel test.
Reorganize folders and files.
Update tests to use Theory and MemberData attributes.
Greatly expand source types used.
Add tests against pre-cancelled tokens and exceptions thrown
against output methods.


Commit migrated from https://github.com/dotnet/corefx/commit/6204cf2c3444f5c6aa42b08baaaca5c350dd4317
2015-06-08 07:06:07 +09:00