Commit Graph
20 Commits
Author SHA1 Message Date
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
Jose Perez Rodriguez 2b978b922f Updating the package index for UAP and updating buildtools (dotnet/corefx#27787)
* Updating the package index for UAP and updating buildtools

* Having System.Reflection.DispatchProxy crosscompile for uap RS3

* Updating buildtools and fixing PR feedback

* Re-add support for uap to the assemblies that already had a netcoreapp2.0 config for Windows


Commit migrated from https://github.com/dotnet/corefx/commit/7be44d2de8661cd925955e540d940b4eb47e5753
2018-03-08 09:43:06 -08:00
Santiago Fernandez Madero 970144797a Add netfx placeholder configuration to System.Data.DataSetExtensions (dotnet/corefx#26576)
* Add netfx placeholder configuration to System.Data.DataSetExtensions

* Update System.Data.DataSetExtensions key to match Desktop public key


Commit migrated from https://github.com/dotnet/corefx/commit/451824f7d2c0679888b2d4acd541795de9f8a7f7
2018-01-30 10:10:58 -08: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
Brian Chavez 232a1dfac0 Grammar check - "a [a,e]" rule. (dotnet/corefx#23697)
* Grammar check - "a [a,e]" rule.

* Corrected "a attributes" to "an attribute"


Commit migrated from https://github.com/dotnet/corefx/commit/be75987c628347e1d44bba15c5272ade3dcfa65c
2017-08-31 09:29:39 -04:00
Eric StJohn 93a519b14b Merge pull request dotnet/corefx#23611 from ericstj/removeNetFxSupportLibs
Remove NetFx support libs

Commit migrated from https://github.com/dotnet/corefx/commit/70201d1f97465882eda716c66da09d22c3933edc
2017-08-30 11:24:25 -07:00
Brian Chavez 88875187b0 XML doc spelling corrections - D through H. 🚿 (dotnet/corefx#23638)
Commit migrated from https://github.com/dotnet/corefx/commit/a27929935d2782cdc3e7be21653e8c4530274c6f
2017-08-29 17:10:01 -07:00
Brian Chavez f866987b74 XML doc spelling corrections - I through P. 🚿 (dotnet/corefx#23651)
Commit migrated from https://github.com/dotnet/corefx/commit/b09fab5799bb1ca4bea4b4bb086d2c9870dd5191
2017-08-29 15:42:23 -07:00
Brian Chavez caeee5a506 XML doc spelling corrections - Q through Z. (dotnet/corefx#23655)
Commit migrated from https://github.com/dotnet/corefx/commit/723c7feed515abbeece068e05fdf2f918a74ca85
2017-08-29 15:40:48 -07:00
Eric St. John b2dae07f2b Update VS configurations
Commit migrated from https://github.com/dotnet/corefx/commit/238bf3302817a910fac3968f4ac826424294ab0c
2017-08-29 08:49:24 -07:00
Brian Chavez ba2326f831 XML doc spelling corrections - A through C. (dotnet/corefx#23634)
Commit migrated from https://github.com/dotnet/corefx/commit/afcbd9a5b9e4ecde2db3a69afd093631f1db91c5
2017-08-28 23:42:20 -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
Nina Chikanov 71e10db98d Add PkgProj for System.Data.DataSetExtensions (dotnet/corefx#23087)
Add PkgProj for System.Data.DataSetExtensions


Commit migrated from https://github.com/dotnet/corefx/commit/971d6605f7bf5ef16db3d138b8256cede2731d36
2017-08-15 11:30:44 -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
Atsushi Kanamori 4976bfdc6e Fix MonoTests.System.Data.DataRowExtensionsTest on ILC (dotnet/corefx#23111)
* Fix MonoTests.System.Data.DataRowExtensionsTest on ILC

Fixes https://github.com/dotnet/corefx/issues/23096

Unbox utility used Reflection on private members
to unbox a Nullable.

It's really a lot simpler just to... unbox it.

* Simplify this even more.


Commit migrated from https://github.com/dotnet/corefx/commit/2a10669cb24e879553811d344e26fd92072de059
2017-08-10 15:49:53 -04: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 b4a436c0d7 Remove dead code in DataRowComparer
These are already handled:
- `ReferenceEquals(a, b)`: 1st check in `AreEqual`
- `if (ReferenceEquals(a, null) || ReferenceEquals(b, null)`: 1st check
in `CompareArray`
- `a.Length != b.Length`: 1st check in `CompareArray`


Commit migrated from https://github.com/dotnet/corefx/commit/6ab3f8db2fb34e2c8b505b8a42c3b4ac71df46c0
2017-08-02 18:34:45 +07: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