Commit Graph
9 Commits
Author SHA1 Message Date
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
Tarek Mahmoud Sayed d52779a137 Cleanup project files from empty items with resource comments
Commit migrated from https://github.com/dotnet/corefx/commit/47b1663630ab0a6089d1a95c8d9934af3c6bc92b
2015-03-04 11:34:17 -08:00
Tarek Mahmoud Sayed 12598db216 Cleanup resources across all projects
After this change we are going to have unified model for handling resources which is we always use resx files placed under Resources folder and the code will be automatically generated in SR.cs file.
We’ll access ant string resource using the SR class (e.g. SR.ArgumentException).


Commit migrated from https://github.com/dotnet/corefx/commit/db7180f04ef9789a7f199fcd9f8c527990e14673
2015-03-04 11:34:16 -08:00
Nick Guerrera f022d5bba7 Bump package versions to latest
Commit migrated from https://github.com/dotnet/corefx/commit/a4d211e9a250c5975022f32d3d7b036e2ba12488
2015-03-04 11:02:12 -08:00
Pallavi Taneja 7f18e72a0c Update resource generation for libraries.
[tfs-changeset: 1422400]


Commit migrated from https://github.com/dotnet/corefx/commit/3ad583086b7b5eebfaca535fea861b871776cc3d
2015-02-26 17:55:48 -08:00
Stephen Toub 8a1f50de19 Fix ObjectModel tests to use P2P reference
The ObjectModel tests were pulling in System.ObjectModel from NuGet, not via a P2P reference.  This not only meant that the tests were testing an older version of the library, it also broke code coverage due to the System.ObjectModel.pdb not being copied to the tests directory.

This commit fixes the tests project file to use a project-to-project reference for System.ObjectModel.  It also updates the test project's packages.config to use the same versions of assemblies as System.ObjectModel is defined to use, as failures otherwise result.


Commit migrated from https://github.com/dotnet/corefx/commit/472e220b9a514ffd4dab7accec0645eab2049da5
2015-02-22 09:23:12 -05:00
Maxwe11 6a98eb9ef5 Move *.sln files to the appropriate projects folders
Commit migrated from https://github.com/dotnet/corefx/commit/fb8fb441b3e5414590b8d1af4ec5f52ca52c0dff
2015-02-20 19:52:00 +02:00
Alexander Köplinger e71f42e3cc System.ObjectModel: Add System.Threading to packages.config for tests
Needed for the Mono mcs compiler, see dotnet/corefx#774.


Commit migrated from https://github.com/dotnet/corefx/commit/70950d536821fa24bd4144dce630dd6268b44639
2015-02-19 23:37:56 +01:00
dotnet-bot 52128f570e Add System.ObjectModel source and tests
Commit migrated from https://github.com/dotnet/corefx/commit/734dfcf6d3c31acb5c8103c904fb0554d4942f2f
2015-02-18 16:19:06 -08:00