Commit Graph
32 Commits
Author SHA1 Message Date
Viktor Hofer b661c58b1c Replace netstandard test projects with tfms
Netstandard test projects are broken by design and don't support the
Microsoft.Net.Test.SDK. Replacing the netstandard tfm with the concrete
implementation tfms.


Commit migrated from https://github.com/dotnet/corefx/commit/d29c16c99c6045ee67444a7a693dd4476861c463
2019-05-30 16:18:41 +02:00
Hugh Bellamy 999359d762 Increase code coverage of System.ComponentModel.Primitives to 100% (dotnet/corefx#35055)
* Increase code coverage of  System.ComponentModel.Primitives to 100%

* Move files to right folder


Commit migrated from https://github.com/dotnet/corefx/commit/81c116a55d8788f563a8e02c21c9388bdf681647
2019-02-04 09:55:42 -05:00
Stano Peťko 2dcd694376 TypeConverters for System.Drawing (dotnet/corefx#33092)
* Moved InvalidAsynchronousStateExceptionTests to the InvalidAsynchronousStateException project.

* Added Font, Icon, Image and ImageFormat converters.

* Source code in "ref" is in one file

* Converters are only for Windows.

* TypeConverter attribute is only for netcoreapp.

* Icon can be converted to Bitmap, some tests skipped on NETFX.

* Bitmap as not supported conversion removed from tests.

* Typo

* TypeConverterAttribute in ref project

* TypeConverterAttribute is with full name in ref project

* IconConverter added to unix Icon

* Add netcoreapp3.0 ref assembly containing TypeConverters in windows.extensions

* Addressed comments: project reference, invalid cast.

* Make all references for netcoreapp project references, delete references for netstandard


Commit migrated from https://github.com/dotnet/corefx/commit/78cf4e450180c62ebbdb8b306b757103bea0cfc5
2018-11-09 11:45:45 -08:00
Eric Erhardt 8b6d5baf20 Change .csproj to new Configurations property
Change .sln to use the managed C# project system GUID.


Commit migrated from https://github.com/dotnet/corefx/commit/e05508a62d28f4807f85abe9cb7adf8382f792b4
2018-06-28 17:49:22 -05:00
wtgodbe f38ceb30be Convert all .csproj files in src to SDK-style projects
Commit migrated from https://github.com/dotnet/corefx/commit/91d7e62bbf28094a2b419b87847bcd6a7658564d
2018-05-21 11:53:46 -07:00
Santiago Fernandez Madero b9d768589e Fix System.Data.Odbc configurations for support package and run UpdateVSConfigurations (dotnet/corefx#24752)
* Fixed odbc configurations for compat package

* Run UpdateVSConfigurations

* Remove Default Configurations to help VS... comment from csproj's

* Remove from System.Buffers as well


Commit migrated from https://github.com/dotnet/corefx/commit/bcc59b2e74090cfbcc4d6e7c245c172744e9d46b
2017-10-23 18:24:28 -07:00
Eric Mellino 1f8814abbd Merge pull request dotnet/corefx#20914 from hughbe/invalidenumargument-move
Move InvalidEnumArgumentException to System.ComponentModel.Primitives

Commit migrated from https://github.com/dotnet/corefx/commit/76449481b32ed1a7ae0ae46dd596810f6cf11fb5
2017-06-13 09:31:40 -07:00
Hugh Bellamy a8e161f108 Add Component/ComponentCollection tests (dotnet/corefx#20928)
* Add Component tests and cleanup some code

* Add ComponentCollection tests and cleanup some code


Commit migrated from https://github.com/dotnet/corefx/commit/9e815edd69de5169c8febecd42b34907bb6971f6
2017-06-12 14:11:20 -04:00
Hugh Bellamy 4ba111ffe2 Move InvalidEnumArgumentException to System.ComponentModel.Primitives
Commit migrated from https://github.com/dotnet/corefx/commit/88a1319869297ebb35d9e34fe59934b74b8e8c86
2017-06-12 16:30:34 +07:00
Jan Kotas 9af9e339e2 Cleanup netstandard ifdefs and conditions (dotnet/corefx#16072)
* Cleanup netstandard conditions in csproj files
* Cleanup netstandard17 ifdefs
* Disable failing tests

Commit migrated from https://github.com/dotnet/corefx/commit/608267af43311b131d20e4111477ffb1109233a0
2017-02-11 21:40:35 -08:00
Tarek Mahmoud Sayed 77cad86b1e Remove versioned configuration from test projects (dotnet/corefx#15879)
The changes onclude some other minor clean up in the test project files

Commit migrated from https://github.com/dotnet/corefx/commit/62212cca900081173fce70991c3a0b30393994a3
2017-02-06 13:52:11 -08:00
Karthik Rajasekaran 4bbdadd88a Update project configuration and sln files (dotnet/corefx#15182)
* Add ValidateVSConfigurations

* Update project config and sln files.


Commit migrated from https://github.com/dotnet/corefx/commit/f6ab339f446e37505f93ef9f430801fa1dcc05b8
2017-01-17 14:31:23 -08:00
Alex Perovich 573869c47f Automated update of ns1.7->ns2.0 and nca1.1->nca2.0
Commit migrated from https://github.com/dotnet/corefx/commit/1f8b5264a8156f91c48b2dc344d5410ee6f574cb
2017-01-10 16:20:42 -08:00
Alex Perovich c3087a2ed5 Manual changes for ns2.0 rename
Commit migrated from https://github.com/dotnet/corefx/commit/7bba15c1d2518d3f0bb85c40ed87322edfdf87eb
2017-01-10 16:20:29 -08:00
Eric Mellino da3c47cf33 Port first third of tests to build against the targeting pack / runtime (dotnet/corefx#14450)
* Change first third of test projects to compile against targeting pack.

* Add supplemental test data into an external project


Commit migrated from https://github.com/dotnet/corefx/commit/65780ef192c4f2214e65816e7ac90899be6a5557
2016-12-12 14:19:07 -08:00
Karthik Rajasekaran 9255a2e649 Combine test dependencies into a common project.json.
Restore this common project.json upfront to improve sync time and avoid download contention from nuget.


Commit migrated from https://github.com/dotnet/corefx/commit/654f5548f946659c694d110a4bbce8aa33f1a7a1
2016-10-18 11:39:53 -07:00
Alex Perovich 674bb7a0f8 Update project ToolsVersions to 14.0 (dotnet/corefx#12355)
Commit migrated from https://github.com/dotnet/corefx/commit/71de1aac5cf3e5dc87714ae0cc829e1fa98f7c5d
2016-10-05 12:50:37 -07:00
Jose Perez Rodriguez a04cc5f428 Changing test projects to default to netcoreapp1.1 instead of netcoreapp1.0
Commit migrated from https://github.com/dotnet/corefx/commit/d56046ba2a740409006dfe94f1043c5f32a0339d
2016-10-01 11:08:50 -07:00
Alex Ghiondea 91e0e0df60 Move the Component type into System.ComponentModel.Primitives.
This change allows types higher in the stack to use the type.
The build is also adjusted to allow for building and testing against netstandard1.7


Commit migrated from https://github.com/dotnet/corefx/commit/52f8b5d57842ee72ed8f648edc2919afd7812d85
2016-09-30 07:20:03 -07:00
Stephen Toub b3664fa40d Fix EventHandlerList indexer
It was ported incorrectly from desktop, and as legacy code with no tests, the mistake went unnoticed.  Fixed the bug and added tests to bring EventListHandler code coverage up from 0% to 100%.


Commit migrated from https://github.com/dotnet/corefx/commit/d9b6b51d07a9256fb81e5038d021d8da9f30c78a
2016-08-30 09:13:08 -04:00
Karthik Rajasekaran 5c93b350d3 Add NugetTargetMoniker to test projects and update remaining project references to pkgproj
Commit migrated from https://github.com/dotnet/corefx/commit/13e03705ced065850dc65900fccfd930426e87d7
2016-06-29 12:30:05 -07:00
Karthik Rajasekaran d73f6518c3 Update CoreFX tests to compile against a minimum of netstandard1.3 and add supports clauses for tests
CoreFX tests will now compile against netstandard1.3 as references and will now deploy for the platforms listed in their respective supports clause, provided the appropriate TestTFM is passed in.  The supports are fully listed inside runtime.json in the new TestSuite metapackage in buildtools. The tests will default to netcoreapp1.0 as their TestTFM.

CoreFx test projects now utilise a test csproj to pkgproj reference which determine the appropriate compile time and runtime assets needed.

Dependent on https://github.com/dotnet/buildtools/pull/770


Commit migrated from https://github.com/dotnet/corefx/commit/b4841454de7ddcd75e92e2bb24ebb238a82df43f
2016-06-15 11:23:11 -07:00
dotnet-bot a4fe352256 Add DesignerCategoryAttribute to System.ComponentModel.Primitives
Commit migrated from https://github.com/dotnet/corefx/commit/c57dd2996cedba55bbbb108a039c9b09cc77b73c
2016-05-16 06:59:14 -07:00
Charles Lowell 05b47ab2de Move DesignerSerializationVisibility to S.C.Primitives
Commit migrated from https://github.com/dotnet/corefx/commit/fdb89694b16663fc314eb979b722db76fb1c73f3
2016-05-13 13:57:16 -07:00
Charles Lowell 545b0c83e4 Include DesignOnlyAttribute
Commit migrated from https://github.com/dotnet/corefx/commit/79a3ffb7a0c9ebcca764e0fa67fbdb6e065f1439
2016-04-05 10:50:12 -07:00
Charles Lowell 22e9a3dd75 Add attribute types to System.ComponentModel.Primitives
Commit migrated from https://github.com/dotnet/corefx/commit/40206cccc087219c3a0c8282270e349eb48bfbfe
2016-03-18 14:31:25 -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
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
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 d0ba983dbb Add System.ComponentModel.Primitives library
Commit migrated from https://github.com/dotnet/corefx/commit/97964e919b3218c957c3d17de5226177b9c33d6f
2015-01-22 13:51:09 -08:00