Commit Graph
26 Commits
Author SHA1 Message Date
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
stephentoub bab02c72eb Ensure all Common includes use a <Link/>
Modifies various .csproj files to ensure that all Includes for files under Common use a <Link/> so that Visual Studio shows the files under a Common folder rather than flattened in the root.

Fixes dotnet/corefx#144


Commit migrated from https://github.com/dotnet/corefx/commit/264d92084d6c6366c3c23edaaab54a32f61d501b
2015-07-15 10:21:33 -04:00
Clockwork-Muse e6de1ce75b Parcel out PlinqDelegateExceptions.cs contents, remove.
Update ExchangeTests

Update PlinqModesTests.

Remove file (contents covered more thoroughly by other tests).

Change Union tests to use custom Comparator similar to other set operations.

Add List to sources used for OuterLoop

Change how empty tests are handled.

Add tests for non-comparable types.

Add tests checking for duplicate compared items.

Describe behavior of common range sources

Describe Zip member data functions.

Describe Union member data functions.

Describe OrderBy member data functions

Describe Max/Min member data functions.


Commit migrated from https://github.com/dotnet/corefx/commit/1c3ecb33008d93d47b2e9a42480ebac50821b617
2015-07-11 09:26:58 +09:00
Chad Nedzlek 3e670d36e1 Remove SignAssembly=false from test assemblies
Setting SignAssembly to false breaks loading our test assemblies
in XUnit using the current folder structure we use.  It doesn't show
up in the open, because we always sign the assemblies, ignoring
this setting. But in our official drops, we respect the property, and
then are unable to run these 12 tests.


Commit migrated from https://github.com/dotnet/corefx/commit/b35fe3ea32926cc4fefe1ef3945029f893921e6e
2015-06-29 11:42:11 -07:00
stephentoub 8eeec0143e Remove <AllowUnsafeBlocks/> from various test projects
Most test projects don't need unsafe code, but many were forced to allow unsafe blocks due to Interop.PlatformDetection.cs using pointers, and others were allowing it for no apparent reason.  I've modified Interop.PlatformDetection.cs to not use unsafe code, and updated the relevant test projects accordingly. (Eventually we'll switch it over to using the new RuntimeInformation assembly, anyway.)


Commit migrated from https://github.com/dotnet/corefx/commit/3ae04f6ec948331c85c5f8441cd6d9eda868603f
2015-06-16 09:59:32 -04: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
Alexander Köplinger b46f878f13 Remove outdated comment about packages.config from csproj's
Since the move to project.json we no longer use packages.config


Commit migrated from https://github.com/dotnet/corefx/commit/1d489b12d2f6b7b7128888d525dc2e49fe2f1782
2015-05-15 20:10:42 +02:00
Lakshmi Priya Sekar 2a499c5cbf Remove XunitTraitDiscoverers from corefx and reference the nuget package xunit.netcore.extensions.
Commit migrated from https://github.com/dotnet/corefx/commit/03e32211d668ee215f32c599849987cb7d9d4e2a
2015-05-07 16:15:32 -07:00
Eric StJohn 5db3ae33bf Convert all remaining package dependencies to project.json
DNX and BuildTools now support all of the nuget v2 conventions that we depend on so we can
move all remaining nuget v2 packages to the project.json file and eliminate packages.config.

This change also adds "frameworks" to the project.json so that dnu restore can calculate
applicable assets.  I am not yet using "runtimes" in the project.json since we are still resolving
our runtime assets manually (eg: build tools copies known files from packages).  A future
change will move us to using our runtime packages and add runtimes sections to projects
as appropriate.


Commit migrated from https://github.com/dotnet/corefx/commit/eb35a304c7e89e8b4335ed13c5d23706360d49a4
2015-05-05 12:36:57 -07:00
Lakshmi Priya Sekar aa951a667e Remove testcategories from csproj, in relation to the recent changes in buildtools.
Commit migrated from https://github.com/dotnet/corefx/commit/30b9b8d87605f17dbb94ccf7785da1fde8f11329
2015-04-21 16:36:05 -07:00
Eric StJohn c0e430ddf5 Update to latest CoreFx packages, convert to project.json
This change updates all projects to the latest CoreFx packages which make use of nuget v3 features and thus require project.json.  Packages.config remains for the packages which are not yet compatible with the new build task (mainly because we need to resolve to PCL folders).
The entire change was done by a tool in order to not miss any dependencies, and ensure we have project items for the packages.config/project.json.  One side effect of using the tool is some reformatting of whitespace in the projects.


Commit migrated from https://github.com/dotnet/corefx/commit/e729c5353070b71aedff8f1300ae838573813faf
2015-04-15 12:47:43 -07:00
Christopher Costa 7e2dd3ad7b Delete closed libraries sources and reference open sources.
This change removes the closed libraries sources for libraries which we are now building in the open.  Stub project files are left in the closed libraries which improt sources from the open for various build configurations.

Also includes these two changes which were not yet ported to open:
- [Serialization]: DCS/DCJS fails to serialize/deserialize XElement type - regression
- Change namespace of System.Xml.XPath.XmlDocument extensions

Validated by pre-checkin gauntlet build dotnet/corefx#150320.14337

[tfs-changeset: 1437136]


Commit migrated from https://github.com/dotnet/corefx/commit/89881048ba6bb6adca5253024ea59e8aa8790a6a
2015-03-20 17:07:34 -07:00
Krzysztof Wicher b84c7a24c1 Add tests categories to projects
Commit migrated from https://github.com/dotnet/corefx/commit/9a4eda2952be4ad27111be79be769b1072c450c5
2015-03-06 10:56:33 -08:00
Stephen Toub 1184cf3f93 Add ETW tests for remaining providers
Commit migrated from https://github.com/dotnet/corefx/commit/621d4cfa09623b8a0bebdd8d4d615b526c860151
2015-02-22 12:15:34 -05:00
Stephen Toub 150a2f4e75 Re-enable code coverage for (most) disabled libraries
Several libraries had their code coverage disabled due to unknown problems.  The change to a more recent version of OpenCover appears to have addressed whatever those issues were, as the problems no longer repro.  This commit just re-enables the code coverage for those libraries.

The only remaining library with its code coverage disabled is System.Diagnostics.Process.dll.  It's either hanging or just taking a really long time to complete.  Investigation still needed.


Commit migrated from https://github.com/dotnet/corefx/commit/01c18f27d5a6c383701e0407b55e6edfae203309
2015-02-17 16:44:44 -05:00
Matt Ellis dd1f649de4 Add back some Xunits attributes that got dropped
As part of dotnet/corefx#771, we redid how AssemblyAttributes were generated, this
caused us to lose some Xunit directives for some of our test
assemblies. This change just adds them back in.


Commit migrated from https://github.com/dotnet/corefx/commit/91672e631cc09abab7d9895807e132953d2f1b68
2015-02-16 10:55:26 -08:00
chcosta d1620100c8 Sync changes from TFS as of 2015/02/16 9:30:00 AM
[tfs-changeset: 1416076]


Commit migrated from https://github.com/dotnet/corefx/commit/67bd740c6c732e141835521ff34b2cc18591a9cc
2015-02-16 09:51:49 -08:00
Maxwe11 2d635dae1c Replace relative path to common tests with a variable
Replace relative path "..\..\Common\tests" with $(CommonTestPath) variable.


Commit migrated from https://github.com/dotnet/corefx/commit/56dbc6abc6dcde5874c99c67f379d788c8dd4420
2015-02-08 15:05:37 +02:00
Matt Mitchell b2149f1c80 Enable code coverage for the corefx repo
This change enables code coverage for the corefx project using OpenCover.

 * When /p:Coverage=true is passed, we wrap the xunit call in the OpenCover command.
 * OpenCover filters test assemblies but no other default filters.
 * We disable parallel execution of tests within xunit and parallel project building when running coverage. This appears to cause issues with OpenCover (I see spurious failures in tests) and is actually slower than just running execution serially.
 * A few assemblies still have issues even after this.  These have coverage disabled with CoverageEnabledForProject.  Will open an issue for future investigation.
 * After execution is complete, we run the ReportGenerator tool over the set of generated coverage data, creating a full report in bin\tests\coverage.


Commit migrated from https://github.com/dotnet/corefx/commit/60a0bdd4125e39aa1653f2aeffc9eea02f348531
2015-02-05 13:11:18 -08:00
Nick Guerrera 18d59d59f1 Remove PLIB ProjectTypeGuids to allow editing debug options in VS
We control the targeting centrally and we shouldn't be retargeting
from VS. With the new support for running tests on F5, it is best
to be able to see and edit the command line in the property pages.

Before this, we had an arbitrary mix of the guids being present or
not anyhow. At some point, if we need to set it, we can put it back
across the board and hopefully by then we'll have proper VS test
integration anyhow.


Commit migrated from https://github.com/dotnet/corefx/commit/da9663498c4f5e6bb663e97531afc48964ffbdd0
2015-01-22 16:30:00 -08:00
Stephen Toub 4045d1153f Adjust DOP in PLINQ tests
Move to OuterLoop several tests that exercise a high degree of parallelism and thus could result in delays waiting for the thread pool to inject threads.

Also annotate the assembly to DisableTestParallelization; if multiple PLINQ queries run concurrently, they might similarly experience delays as they compete for the thread pool's threads and force more to be injected.


Commit migrated from https://github.com/dotnet/corefx/commit/5b23beba7c80e291117cf05925b052edad6090ba
2015-01-18 14:16:55 -05:00
Wes Haggard 27cb98e29a Switch all projects to resolve references from packages.config.
Commit migrated from https://github.com/dotnet/corefx/commit/08503d51d2c61861bf11c5e36da53c69aca092e1
2014-12-19 17:44:16 -08:00
Wes Haggard e6b880e80d Fix up a few bad merges and add settings that moved across files.
Commit migrated from https://github.com/dotnet/corefx/commit/932a43839ac6d6bf2a38934f3b5fde42b7629118
2014-12-17 22:02:10 -08:00
Wes Haggard 9e1b10e6f4 Switch to importing dir.props/dir.targets using GetDirectoryNameOfFileAbove.
This commit also updates the new System.IO.Pipes.csproj to follow the pattern.


Commit migrated from https://github.com/dotnet/corefx/commit/5d7072c5caa5cd9aef476221613c78bcc60a003b
2014-12-17 21:01:52 -08:00
Wes Haggard 6ed4d92fdb Remove mscorlib reference from System.Linq.Parallel.Tests.csproj.
The mscorlib reference is no longer needed as it is automatically added
by dir.targets now.


Commit migrated from https://github.com/dotnet/corefx/commit/e6a02d9f3c61d9af66d0de284b501f8f96835cfa
2014-12-17 20:54:41 -08:00
Wes Haggard f97970f38c Rename the System.Linq.Parallel test folder from "test" to "tests" to follow
the convention.


Commit migrated from https://github.com/dotnet/corefx/commit/cba1b5d4af9bf043c885465aaa5c7ea6a7749f5c
2014-12-17 20:53:03 -08:00