Commit Graph
16 Commits
Author SHA1 Message Date
stephentoub 38c5b4681a Rewrite ConcurrentQueue unit tests
Some cleanup to:
- Remove non-xunit-isms
- Improve line code coverage from ~70% to ~90%


Commit migrated from https://github.com/dotnet/corefx/commit/2f91db28c8b5c86cf67a3d8e9b4d38f74dbc7161
2015-12-01 22:24:47 -05: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
Stephen Toub e4fe1e6b55 Add tests for System.Collections.* debugger attributes
Our collection types are some of the biggest users of DebuggerDisplayAttribute and DebuggerTypeProxyAttribute.  In the past as we've done refactorings, we've broken these on multiple occasions, and such breaks are often only discovered later on by someone using the types in the IDE.

This change adds some basic tests to exercise these debugger attributes, verifying their existence, that fields/properties they refer to exist, that properties on type proxies don't throw exceptions, etc.  We already had some debugger attribute tests in the System.Threading.Tasks.Dataflow library's tests; I've extracted those into some common helpers which I then use in the various test projects.

These helpers could be used in more test projects in the future.  They could also be expanded to cover more scenarios, as desired.


Commit migrated from https://github.com/dotnet/corefx/commit/f98612e1278908ad3998c90f982e8d1b4c44c320
2015-03-16 16:40:07 -04: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
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
dotnet-bot cc576e91bb Enable more System.Collections.Concurrent tests which were hanging before (fix threading issue by using default TaskSchedular rather than current schedular)
Commit migrated from https://github.com/dotnet/corefx/commit/109d0243d10bdb0b20cd93bbb556209f7f414712
2015-01-16 15:02:36 -08:00
Ying Peng 88cea79c67 Update System.Collections.Concurrent.Tests.csproj
Fix bad merge

Commit migrated from https://github.com/dotnet/corefx/commit/cfdbedefc890762af5d88bb14edd30ba34104e54
2015-01-12 18:45:18 -08:00
dotnet-bot 57556f23b9 Use local file
Merge branch 'concurrent' of https://github.com/YingP99/corefx into concurrent

Conflicts:
	src/System.Collections.Concurrent/tests/System.Collections.Concurrent.Tests.csproj


Commit migrated from https://github.com/dotnet/corefx/commit/b989e09ec6034880646550cecb227685a1f6540a
2015-01-12 17:47:02 -08:00
dotnet-bot f39f6de713 Update tests
Commit migrated from https://github.com/dotnet/corefx/commit/9e79f619a7f875843eac8aa93bcb48ab8a5887ef
2015-01-12 17:31:06 -08:00
Ying Peng 695e69a12d Update System.Collections.Concurrent.Tests.csproj
Temporarily comment out tests that might cause build failed (timeout)

Commit migrated from https://github.com/dotnet/corefx/commit/d8bb8cddf5c4bddd7cc997f187df11e644c75017
2015-01-10 20:11:15 -08:00
dotnet-bot 2f814739d4 Add System.Collections.Concurrent source and basic tests
Commit migrated from https://github.com/dotnet/corefx/commit/213438ae8894acf711351aeaf700c609e5b2838d
2015-01-10 15:59:40 -08:00