Commit Graph
14 Commits
Author SHA1 Message Date
Viktor Hofer f8a8530d0f Project msbuild syntax cleanup (dotnet/corefx#35686)
* Remove license header from non-shipping files

* Remove obsolete Project attributes

* Remove xml header and remove DefaultTargets


Commit migrated from https://github.com/dotnet/corefx/commit/c390ce7df50252e11f5d322276e9d19e046d1332
2019-03-03 18:55:25 +01:00
Viktor Hofer 42935a78b0 Remove old TestCategories property (dotnet/corefx#35397)
Commit migrated from https://github.com/dotnet/corefx/commit/18452453fe8de55a065841798eb5e7a56c3436cb
2019-02-18 21:40:02 -05:00
Viktor 993a0c2ef2 Change test data file paths to respect Content TargetPath
Commit migrated from https://github.com/dotnet/corefx/commit/fdc9de8db8785331749a985501fd05e2cc3673db
2018-10-17 01:04:44 +02: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
Eric Erhardt 70091b9c8b Merge master into SdkProj
Commit migrated from https://github.com/dotnet/corefx/commit/ad505eb98c6a887db2d2932fec256d9e4e394169
2018-06-11 17:20:10 -05:00
Alexander cf3a78d05d Null value in string array in DataRow causes DataRowComparer to throw NRE, but only if it is the first parameter (dotnet/corefx#27251)
* Null value in string array in DataRow causes DataRowComparer to throw NRE, but only if it is the first parameter (dotnet/corefx#22855)

* Avoid boxing in case of compare value types (dotnet/corefx#22855)

* Ignore test for full framework


Commit migrated from https://github.com/dotnet/corefx/commit/dff80dc05a5d4f67fcef065aa9e625860ad71cd2
2018-05-29 19:18:52 -07: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 504fca1427 Add BinPlaceConfiguration for test projects to have a working directory per BuildConfiguration (dotnet/corefx#23633)
* With this change we will have the next behavior when building/running tests:

-When building the tests we will still bin place the test assets to the OutputDirectory (corefx\bin\OSGroup.Configuration\TestProject\TargetGroup/)

-When running the tests we will bin place the tests assets to this new TestPath which will be the TestPath. This new path will be the test's working directory where we will bin place the RunTests.cmd and necessary dependencies in tests.targets. Also the testResults.xml will be found here after the test execution.

-TestPath is set to be bin/tests/<TestProject>/<BuildConfiguration>/ (i.e corefx\bin\tests\System.Collections.Immutable.Tests\netcoreapp-Windows_NT-Debug-x64) in dir.props

-This TestPath will be added to the BinPlaceDir in FrameworkTargeting.targets when BinPlaceTest is set to true. Then in the BinPlaceFiles target the test assets will be hardlinked to the TestPath.

This will isolate every test execution per build configuration and will allow people to run the same test project for all of the supported configurations on the same repo without having to clean the repo.

Commit migrated from https://github.com/dotnet/corefx/commit/664ca9508a03483a7fb2714b55b9cba885593d90
2017-09-05 13:30:09 -07:00
Nina Chikanov dd28cd8062 Force System.Data.DataSetExtension tests to build in chk (dotnet/corefx#23408)
Commit migrated from https://github.com/dotnet/corefx/commit/6e536f37914f4067904562c39db6dda69c93ac53
2017-08-18 18:21:38 -07:00
Tarek Mahmoud Sayed 3765a6069b Moving PlatformDetection to Corefx.Private.TestUtilities assembly (dotnet/corefx#23109)
* Moving PlatformDetection to Corefx.Private.TestUtilities assembly

The purpose of this change is to clean up all test projects instead of including the PlatformDetection code inside every test project, we’ll have it in the Corefx.Private.TestUtilities.
I have refactored the PlatformDetection to split the different implementation of Windows and Linux. If we need to do more refactoring there we can do it later as needed.

* Fix Linux BB

* Update the xunit package reference

* Fix wrong condition on one of the tests

* Update the ConditionalFact/Theory to use Type as a parameter


Commit migrated from https://github.com/dotnet/corefx/commit/878e2fcf5a9f1068015e5fada9231088663e3490
2017-08-10 22:37:36 -07:00
Nina Chikanov aa931af328 Add initial tests to System.Data.DataSetExtensions (dotnet/corefx#22892)
* Add tests from mono and more to existing tests

* Clean up tests for Mono

* Fix up some tests, add necessary XML file

* Add more tests, add XML to correct location

XML will automatically compile when moved to right location that is in
the project, not on local desktop.

Add tests for TypedTableBaseExtensions and
EnumerableRowCollectionExtensions

* Fix path of testdataset1.xml

So tests can find doc


Commit migrated from https://github.com/dotnet/corefx/commit/73f62d06803d086ee7f6745b55dfde63e27be779
2017-08-09 08:53:57 -04:00
Hugh Bellamy 9089fc20c9 Fix porting bug for incorrect exception thrown
Commit migrated from https://github.com/dotnet/corefx/commit/ae9d50018281ef451d21849d45683e675c191c17
2017-08-02 18:33:15 +07:00
Hugh Bellamy a64882c2ca Add DataRowComparer tests
Commit migrated from https://github.com/dotnet/corefx/commit/4545c892576527d1e063a3dc69e5b4ba370a0498
2017-08-02 18:17:37 +07:00
Nina Chikanov 6bb958aa2b Port System.Data.DataSetExtensions from desktop to Core (dotnet/corefx#22669)
* Initial port from desktop

* Remove Linq class & other internal dependencies, add smoke test

* Modify Configurations for src, ref, tests

Configurations only for netcore and netstandard right now, on Windows_NT
and Unix. Removed UAP for now.

* Clean up missed files

* Change ref to netstandard configuration

* Reduce references in /src and /ref .csproj files, remove unused strings, change to netstandard

* Stephen's Nits fixed

* Rename to System.Data.DataSetExtensions

* Remove SecurityCritical Assembly


Commit migrated from https://github.com/dotnet/corefx/commit/9a8228328bd4ad26e2eeb41198bfdad24aa4d5fe
2017-07-31 15:46:20 -07:00