Commit Graph
115 Commits
Author SHA1 Message Date
Wes Haggard a3e67fdf73 Update .builds files to include OSGroups
This these .builds files were updated and generated from a script
based on the configurations defined in the matching csproj files.

This updates the builds files to specify OSGroup and TargetGroup
as metadata instead of using AdditionalProperties and also sorts them by
TargetGroup followed by OSGroup.


Commit migrated from https://github.com/dotnet/corefx/commit/95efe37475916016a5fc6ee6f0ba584d990c4196
2016-01-02 23:50:23 -08:00
Wes Haggard f27c7dc024 Update project files adding default configurations
This add a default configuration before the Import of dirs.props
for any projects that don't have Debug as the default configuration.

Removed Configuration and Platform properties set after dirs.props
as they would have no affect and just cause confusion.

Removed OutputType=Library property as it isn't necessary.


Commit migrated from https://github.com/dotnet/corefx/commit/9e1da13cf6d5ff4b37b1867beb3411a2fe61da6a
2016-01-02 23:50:21 -08:00
Eric St. John a18fc5f8ca Enable packaging task and targets from dotnet/buildtools in TFS
This change switches the TFS package buid to use the packaging
infrastructure from the buildtools package.  For any package
project that exists in corefx/wcf we will use that in place of the
closed source package.

As we move more package projects to the open they will
automatically be preferred over the closed source projects.

[tfs-changeset: 1559910]


Commit migrated from https://github.com/dotnet/corefx/commit/1b77984dd736f848e39808df7802aae77b02f975
2015-12-23 19:53:16 -08:00
Eric St. John 440c1d2195 Initial integration of packaging support
Adds packages for a few libraries and integrates
package build into the binary build process.


Commit migrated from https://github.com/dotnet/corefx/commit/fa811f379c45504a4b5fdae5b08a22a31202bea9
2015-12-15 16:51:34 -08:00
dagood fbfb82cc8c Change all project.json files to validate. Remove lockfiles from source control and add to gitignore.
A few new references to pick up changes that happened over time.


Commit migrated from https://github.com/dotnet/corefx/commit/0d881222d8c3269157639e2e67056e5a83aad834
2015-12-09 16:25:26 -06:00
Deepak Shankargouda f5284f6fcc Created initial set of .builds files
Commit migrated from https://github.com/dotnet/corefx/commit/a20fd22b1e44d13e437c235a957a47a2af52838d
2015-12-02 14:38:03 -08:00
stephentoub f3b77661d3 Fix faulty dataflow DebugAttributeTests
The dataflow blocks have debugger attributes providing displays and views.  These invoke functionality that examine the state of the block, and that examination expects to be done when everything is paused under the debugger, in particular for the views.  This is because properties on the views may end up enumerating collections that are being modified concurrently by asynchronous operations internal to the block.

We have tests that exercise these debugger views, and do so without the pause-the-world-first semantics provided by the debugger.  As such, every once in a while, we get an InvalidOperationException stemming from trying to examine one of these collections while it's being modified.

This commit simply disables testing the views in the few cases where we've kicked off asynchronous operations on the objects being analyzed.


Commit migrated from https://github.com/dotnet/corefx/commit/c4e7374dc43abdb707f66411d48ac2df75533a95
2015-11-12 12:49:05 -05:00
Eric St. John 65210efd31 Update project.lock.json to latest and lock
Commit migrated from https://github.com/dotnet/corefx/commit/6aeea5eabf2aff3baf15f501cabd156dfc5b3f8f
2015-11-09 22:38:10 -08:00
Eric St. John cddddd29f5 Remove unused dependencies
Commit migrated from https://github.com/dotnet/corefx/commit/78fd45ec74afc507a40df519b4df650ac9bd4c42
2015-11-09 22:37:37 -08:00
Eric St. John 8cc3c24b51 Update lock files that were missed in previous restore.
A change was made to DNX to no longer restore project.jsons
that are in nested folders.  This caused my batch update to miss
a number of tests and reference assembly projects.

This fixes the stale lock files, but restore is still broken.

[tfs-changeset: 1540448]


Commit migrated from https://github.com/dotnet/corefx/commit/3622cccc1b22fa1947a72d5126b59864e9d2fd0d
2015-10-21 18:59:09 -07:00
Eric St. John 543808303a Update dnx to v1.0.0-rc1-15838, update dotnet projects to generations
We need a new DNX to understand the latest packages.

We also need to move all "dotnet" projects to use dotnetX.X (generations)
now that the packages no longer have "dotnet" assets.

The new version of DNX dropped support for the aspnetcore
so I needed to update a few projects/packages that depended
on old package versions that had this moniker.

[tfs-changeset: 1540388]


Commit migrated from https://github.com/dotnet/corefx/commit/38f8d7a3ca1ee819c2b8eabb1c07ee4e99683c97
2015-10-21 17:03:48 -07:00
bartonjs a768025131 Update all project.lock.json files
Built Windows_NT, Linux, OSX with /p:LockDependencies=true.

CoreFX beta-* => 23419
xunit.netcore.extensions => 00107


Commit migrated from https://github.com/dotnet/corefx/commit/a14b22705df253508bd5f2dab0407bd2c7e4d639
2015-10-19 16:00:44 -07:00
Eric St. John 8cd3109d56 Switch from using "dotnet" to using "dotnet<generation>"
All projects that previously used dotnet have been updated to specify the appropriate generation of the surface area they depend on or in the case of desktop inbox contracts, the generation that includes the set of platforms they can support.

Now all packages contain all generations of API that they have ever shipped.

In doing this I needed to change how we determine package version.  Before we ensured all assemblies would have the same version and used that.  Now we choose the max.

Additionally I needed to change how we chose which asset to use for netcore50 when the dotnet asset was obscured by a placeholder for a previous netcore release (eg System.Runtime will have placeholders for Win8 since it was inbox there).  To do this I wrote a task that uses nuget to evaluate the package assets with and without the placeholders.  In this way it chooses the "best" dotnet implementation and reference assembly to use for netcore50.

This new model made my old MSBuild-based validation impossible to carry forward, so I wrote better validation in a task that actually uses Nuget's asset resolution algorithm.  This uncovered many existing issues in packages that I have cleaned up.  The validation algorithm could use some polish but its working now.  Perf is not great, package build went from 15s to ~2 minutes.  I'll work on this some more by making it incremental (input: nuspec, output: marker created on success).  Profiling shows that most of the time is spent in calling the nuget APIs.  I'll see if I can reduce some of this with caching for things that don't change (eg: RID graph).  Ultimately I think its a reasonable tradeoff for the types of bugs I can find this way.

[tfs-changeset: 1539216]


Commit migrated from https://github.com/dotnet/corefx/commit/0931c347eb836c9da94d0d5ff9ad7a14403b9738
2015-10-18 21:12:23 -07:00
Peter Jas a29604278c code: Fixes occurred spelling.
Fixes dotnet/corefx#3661.


Commit migrated from https://github.com/dotnet/corefx/commit/544a3885ff51e04db89b70e3f155be1a5c64f166
2015-10-06 15:27:09 +00:00
Stephen Toub af92e38053 Merge pull request dotnet/corefx#3585 from ellismg/run-test-copy-exclusions
Don't copy WP8 aseemblies to test overlay

Commit migrated from https://github.com/dotnet/corefx/commit/bf2545562bda1c1b7d38bd7c1177722429c17633
2015-10-02 11:58:21 -04:00
Ian Hays 0f8197a86c Update CoreFX to xunit 2.1.0
Commit migrated from https://github.com/dotnet/corefx/commit/87b48c58936d66fcb201b3a8ad0961fa055f23b9
2015-10-01 19:56:49 -07:00
Matt Ellis c59a0ef916 Don't copy WP8 aseemblies to test overlay
Before we moved to using packer to slim down our test drop, we had
Jenkins exclude the System.Threading.Tasks.Dataflow.WP8 assemblies when
uploading build artifacts. This meant that the OSX and Linux jobs would
never copy them down and hence they could not be picked up by
run-test.sh (and overwrite the correct version of
System.Threading.Tasks.Dataflow when building the test overlay).

With packer, we now archive everything, so depending on the order in
which find discovered files, we may have copied over the WP8 version,
which does not have ETW support.

For now, update run-test.sh to exclude this folder when copying stuff
over. The correct long term fix is to just do what we do on
Windows (have the build produce the correct test layouts and get out of
this run-test.sh test overlay game).

Fixes dotnet/corefx#3520


Commit migrated from https://github.com/dotnet/corefx/commit/cb1788525cffc0bf5d2eacc7356b53d17a633340
2015-10-01 11:27:59 -07:00
Stephen Toub 340356c394 Merge pull request dotnet/corefx#3521 from ellismg/disable-failing-osx-tests
Disable OSX tests failing in CI

Commit migrated from https://github.com/dotnet/corefx/commit/a8c301e2940f423c99443cb7ec056e795587c946
2015-10-01 09:02:27 -04:00
bartonjs a52f41057c Update all CoreFx package references to 23328 build.
`build.cmd /p:LockDependencies=true` was the start of this change, but some errors with xunit build numbers led to all xunit upgrades being reset back to what they had in master.

project.json changes:
* System.Net.Security\src Switch off of explicit beta versioning, use the same baseline as everyone else.  The S.S.C.Algorithms explicit upgrade is no longer required.
* System.Net.Requests\tests didn't build.  Looking at the project.lock.json change, it appeared that a System.Net.Http reference was lost, restored it.
* System.Net.Http\tests didn't build. Looking at the project.lock.json change, it appeared that a System.IO.FileSystem reference was lost, restored it.
* System.Net.WebSockets.Client\src didn't build. Looking at the project.lock.json change, it appeared that a System.Collections (4.0.10) reference was lost, restored it.
* System.Diagnostics.TextWriterTraceListener\tests needed the runtime reference to load the correct System.Diagnostics.TraceSource binary.


Commit migrated from https://github.com/dotnet/corefx/commit/cec3a0f2db542bfa9d9c56bf988d966eacc35ad9
2015-09-29 11:40:37 -07:00
Matt Ellis 828d651bc5 Disable OSX tests failing in CI
Commit migrated from https://github.com/dotnet/corefx/commit/a0d361d142399845eca08cc754157d4892af6d2c
2015-09-28 18:47:50 -07:00
Stephen A. Imhoff 7c088fcd28 Remove most instances ofcustom error checking from tests.
Patterns mostly were of the form:

```
if (someBooleanCondition)
{
    Assert.True(false, ....);
    // Or sometimes Assert.False(true, ....);
}
```
or
```
try
{
    SomeErrorThrowingOperation
    Assert.True(false, ....);
    // Or sometimes Assert.False(true, ....);
}
catch (ExpectedExceptionType e)
{
}
```
This replaces most instances with calls to the proper Xunit.Assert#### .
Some additional minor work was performed as noted with the affected package.

Add common ShouldNotBeInvokedException
System.Collections
 - Partially unwind edges of internal test framework.
System.Collections.Concurrent
 - Switch some tests to use InlineData instead of delegated method calls.
System.Collections.Immutable
 - Use ShouldNotBeInvokedException to state some lambdas should not be called.
System.Collections.NonGeneric
System.Composition
 - Partially unwind internal test famework.
 - Switch to using xunit asserts where possible.
System.Diagnostics.Contracts
 - Use ShouldNotBeInvokedException to state some lambdas should not be called.
 - Update project file to use upper case letter in hash.
System.Diagnostics.FileVersionInfo
 - Switch to direct equals comparison.
System.Diagnostics.Process
 - Use ShouldNotBeInvokedException to state a task should exit.
System.Diagnostics.Tracing.Telemetry
 - Use ShouldNotBeInvokedException to state an overridden method should not be called.
System.Globalization
 - Switch to direct equals comparisons in some cases.
System.Globalization.Extensions
 - Switch to direct equals comparison in some cases.
System.IO.Compression.ZipFile
System.IO.FileSystem
 - Partially unwind internal test framework.
System.IO.Packaging
 - Correct test T006 to check that adding absolute Uri part in internal mode is invalid.
System.ObjectModel
 - Use ShouldNotBeInvokedException to state some observables should execute.
System.Reflection
 - Update readonly-set test to verify that the field is set (previous test implied it was not).
System.Reflection.Extensions
System.Reflection.Metadata
 - Partially remove internal test framework.
 - Switch to xunit asserts where possible.
System.Reflection.TypeExtensions
System.Runtime
System.Runtime.Extensions
 - Switch to xunit bounded equals for doubles.
 - Switch to verifying non-varags Path.Combine override.
System.Runtime.Numerics
 - Switch to xunit Assert.Throws from internal version.
System.ServiceProcess.ServiceController
System.Text.Encoding
System.Text.Encodings.Web
System.Threading
System.Threading.Tasks.Dataflow
System.Threading.Tasks.Parallel
System.Xml.ReaderWriter
 - Switch to form verifying exception is thrown.
System.Xml.XmlDocument
 - Use ShouldNotBeInvokedException to state some handlers should not be called.


Commit migrated from https://github.com/dotnet/corefx/commit/ab1743b45213e88295a38e2bf9d80ded09058b18
2015-09-24 20:17:38 +09:00
Alexander Köplinger 3e20a867b2 Update build to use DNX beta7 instead of beta5
The corefx build used an older beta5 version of DNX which hardcoded the path to bash in dnu, breaking the build on FreeBSD.
Updating DNX to the latest "stable" beta7 release fixes this.

After updating I noticed a few test projects didn't build anymore as they were missing some dependencies in project.json, added those.

Fixes dotnet/corefx#3173


Commit migrated from https://github.com/dotnet/corefx/commit/6df77fdbb6cf8e0d35a3074bb325f7810085daa3
2015-09-16 02:12:26 +02:00
Eric St. John d7a0ae297b Update corefx packages to latest
Commit migrated from https://github.com/dotnet/corefx/commit/23f0b695bd162e0f665427c95180dc21931e5c70
2015-08-14 15:43:23 -07:00
Eric St. John 77309d4821 Update the version of all assemblies
This change updates the assembly versions of all of the corefx assemblies
as needed after we shipped stable versions.  Assemblies with API differences
get a minor version bump.  Assemblies with only bugfixes get a build version
bump.

In order to facilitate this I had to update the reference assemblies, so I took
the opportunity to port them all to the open.

[tfs-changeset: 1514419]


Commit migrated from https://github.com/dotnet/corefx/commit/40723b795917f2e98b64d45c17effb2546dd0cae
2015-08-13 17:07:57 -07:00
Eric Mellino 66969e748b Re-lock dependencies with latest xunit
Commit migrated from https://github.com/dotnet/corefx/commit/795cbc75f8e167047a7c19cd7e21e99b9b9f4308
2015-08-03 16:40:33 -07:00
Eric Mellino c0015fc582 Move all tests to latest xunit beta
Commit migrated from https://github.com/dotnet/corefx/commit/7c12b0120834f92d5c591124f692ea1b64c6a877
2015-08-03 11:27:48 -07:00
Eric St. John 47aaf9fcf8 Use stable package dependencies and move our packages to post-stable versions
This change modifies the build to consume the stable version where available.

This disables building the dowlevel packages since we shipped them once as stable and we're done.
From here on out, we'll only build the latest version (except for a servicing event, which would
be handled by syncing to a hash).

I can't rev the package versions in the normal way yet (by modifying the assembly version of the contents)
because that turned out to be too big of a problem to tackle in this change. Instead I added a
parameter to the task that calculates package versions to do the rev for anything that was
stable, but only when building the package itself, not when calculating the dependencies.
This has the downside of not permitting a dependency on a incremented pre-release version if we've
shipped a stable version, but that is a small point in time problem until I can rev the assembly
versions.

[tfs-changeset: 1508664]


Commit migrated from https://github.com/dotnet/corefx/commit/ee1ec2891c7c65b46fa9dfb078636be503bb2a60
2015-07-31 15:47:51 -07:00
Nick Guerrera 4c28436d2e Update package dependency versions
Commit migrated from https://github.com/dotnet/corefx/commit/0c6b87e4e67e80b5d751bcd6883ca6e89fb68157
2015-06-24 14:04:15 -07:00
Matt Mitchell 9d11745057 Update build tools. Contains changes to support FreeBSD in xunit.
Float package versions to get the latest version of the netcore extensions (has FreeBSD support)


Commit migrated from https://github.com/dotnet/corefx/commit/c760824a531ffc3981148a8ef9b97f56af9ff643
2015-06-23 16:06:50 -07:00
Eric StJohn 1a58e04134 Update corefx packages to version 23011
Commit migrated from https://github.com/dotnet/corefx/commit/3bb2f035a7c1f6168a6bd34fbf3851f7eedf76bf
2015-06-19 16:33:53 -07:00
Eric St. John 18b54485f7 Adding packages for Immutable, Metadata, and Dataflow
[tfs] Previously these assemblies shipped in nuget v2 packages built from the OOB branch.  This change adds nuget v2 packages that support all the existing targets supported by the old packages.
[corefx] Add support to corefx github targets to enable packaging their output directly.
[corefx] I made the assembly version of these projects consistent with what was previously shipped from our OOB branch.

[tfs-changeset: 1489213]


Commit migrated from https://github.com/dotnet/corefx/commit/e30a432dd6e7fd06dd3afe7478cb4cfb368a6c12
2015-06-16 14:06:14 -07:00
stephentoub 68b0c18d2d Update all project.lock.json files
Used:
build.cmd /t:RestorePackage /p:LockDependencies=true


Commit migrated from https://github.com/dotnet/corefx/commit/76fcb7ab9444f68577ca0ec17055ca8c4e574b75
2015-06-10 10:19:11 -04:00
Eric StJohn e8454e28a5 Update projects to latest CoreFx packages
This is the result of build /t:RestorePackages /p:LockDependencies=true from the root.

This adds all missing project.lock.json files and updates existing ones to the latest package versions.


Commit migrated from https://github.com/dotnet/corefx/commit/38e0d2a0f8513afe6dc7d86a67e5776ab7b99df1
2015-05-27 12:18:06 -07:00
Eric Mellino 1d600c2909 Merge pull request dotnet/corefx#1809 from dotnet-bot/from-tfs
Merge changes from TFS

Commit migrated from https://github.com/dotnet/corefx/commit/e9b144e6882b972fbca043f5f5b156ff45813c5f
2015-05-21 20:46:11 -07:00
Eric St. John a8788d6383 Lock dependencies to ensure we build against a predictable package version
This change adds the lock files to repo to ensure we build against a stable set of dependencies.  To explicitly update dependencies use build.cmd /T:RestorePackages /P:LockDependencies=true and this will pick up the latest depenedencies.

Existing projects adding new dependencies will automatically update the lock file incrementally.

New projects should make sure to check their lock file in with locked set to true.

[tfs-changeset: 1474296]


Commit migrated from https://github.com/dotnet/corefx/commit/d2fbc005707933db1cebca035d6cd6073af6cae4
2015-05-21 15:23:27 -07:00
Jeremy Kuhne e5f55716db Make tools packages.config host platform specific.
Commit migrated from https://github.com/dotnet/corefx/commit/13f9e121ad8e1c6a7d7cb0e4be4a9c5cdc814094
2015-05-20 14:09:51 -07:00
Alexander Köplinger 68d2e417e8 Dataflow: Use forward slashes in path of included XML doc file
The previous path resulted in a bunch of warnings when building corefx on Linux,
since the XML doc file couldn't be found due to backslashes.

The fix is to change the path to forward slashes as those work on Windows as well.


Commit migrated from https://github.com/dotnet/corefx/commit/59d9e25a5437fb409342cb91522884268791fb5b
2015-05-17 17:24:22 +02:00
Eric StJohn cf2c4f1427 Clean up remaining conflicting version warnings
We have a number of MSB3277 warnings from ResolveAssemblyReferences.  These are due to a ProjectReference pulling in a higher version of a nuget package than the referencing project.  Nuget handles this case and flows the references to the referencing project during restore from Visual Studio, but not from the command line yet.  These warnings have been causing many folks grief so I am checking in a workaround.  The workaround is to reference the package representing the project, then rely on the build targets preferring the ProjectReference over the package reference.


Commit migrated from https://github.com/dotnet/corefx/commit/1e53ad8483c1f7ee8c1489ebb7976fb88f80a937
2015-05-16 14:39:36 -07:00
Matt Ellis 771502f50b Merge 'upstream/master' into from-tfs
Conflicts:
	dir.props
	src/.nuget/packages.config


Commit migrated from https://github.com/dotnet/corefx/commit/eb58e5b84672c7a0b82ee6b241577134d36c1401
2015-05-15 15:26:03 -07:00
Eric St. John de6614c63a Update to latest CoreFx packages
Latest packages are now on dotnet-core myget feed.

This should address a many of the warnings in the build.  I will follow up with another change to address the rest.

This change brings in the latest build tools with updates to consume "latest" packages (* versions).

I've updated every project in the repo to use * versioning for dependencies.

The new packages can be used to resolve runtime assets as well (like clrcompression.dll) so I have removed the custom code in System.IO.Compression to copy this dll.  Instead the test project references the actual System.IO.Compression package and sets the correct runtime IDs to pull out the resources.  The System.IO.Compression.dll from the package is not used since the project reference takes precedence.

I had to workaround an issue in System.Xml.XmlSerializer with the current packages: System.Runtime.WindowsRuntime 4.0.0 has a depedendency on "windows" package which doesn't exist.  This was caused by our auto-generation task not filtering the winrt reference in the reference assembly's surface area.  I've fixed this in a separate change and we can remove the workaround once we have a new set of packages.  https://github.com/dotnet/corefx/issues/1761

I also had to add a dependency to System.Security.Cryptography.Hashing.Algorithms\tests due to an issue with DNX.  It's not honoring the dependency group with no targetFramework when another dependency group exists in the nuspec.  This is inconsistent with nuget v2 and should be fixed in DNX.  https://github.com/aspnet/dnx/issues/1881

[tfs-changeset: 1471885]


Commit migrated from https://github.com/dotnet/corefx/commit/08c0d8628ef621fbd44d7aaa85b3239616a6b108
2015-05-15 12:40:33 -07: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
Matt Ellis 5e8bddfa7e Update LocalizationResources for Dataflow
The build tools update 8989a2b from causes the embeded resources to
have new names, so the metadata for our EventSources needs to be
updated.


Commit migrated from https://github.com/dotnet/corefx/commit/c71f5e6e39722ae5b71e3d9f4a0eadc6b26b5eca
2015-04-15 00:10:14 -07:00
Matt Cohn d0bb690ea6 Update xunit dependency to xunit.core.netcore.1.0.1-prerelease
Update xunit dependency.  New package corrects its dependency on
xunit.abstractions to version 2.0.0-beta5-build2785.


Commit migrated from https://github.com/dotnet/corefx/commit/a50ce00294851a60b177f14785f1af9f50f5e344
2015-04-09 16:24:18 -07:00
Tarek Mahmoud Sayed b3120f73dd Remove checked in resources generated code file (SR.cs)
After this change it is no longer required to include the resources
generated code file SR.cs inside the project tree as such files
will get automatically generated in the intermediate folder


Commit migrated from https://github.com/dotnet/corefx/commit/e7513c213c16f5ca4bd35c6c4eace534b4d94ed5
2015-03-17 16:24:08 -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