* 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
Now that we've shipped the NETStandard support package we will no longer build its content
from `master`.
It will be serviced from the `release/2.0.0` branch and the only netfx builds in `master` will
correspond to package content.
Commit migrated from https://github.com/dotnet/corefx/commit/eade3b36725c8d463a40589ff749af5bb0cab8f4
* Add SGEN Automation.
* update version.
* update
* delete tfm
* print out version
* Update version
* update version
* Update tests.
* Add dummy class for UWP run.
* Disable SGEN on uap.
* add casesensitive parameter for linux run.
* use dotnet instead of dotnet.exe
* update argument.
* Copy existing json file.
* add message
* Copy json to test project
* fix casesensitive
* disable running on Linux and OSX
* Add constants.
* Update condition.
* Add more condition.
* add condition
* Update condition.
* Solve the conflict and make some fixes based on feedback.
* Remove the commented code.
* Remove OSX condition.
* Remove dummy class
* Remove osx from configuration. Add condition on the ItemGroup.
Commit migrated from https://github.com/dotnet/corefx/commit/c69764406ef2450bbf0499aa3c982972676756f3
* 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
* add common file
* Add test case with IObjectReference
* reflectiononly add files
* left a file
* update reference
* Organize the code
* Revert "Organize the code"
This reverts commit dotnet/corefx@6d5299e6e2.
* Organize the code
* Add test case DCS_BasicPerSerializerRoundTripAndCompare_SampleTypes
* remove unuseful code
* format code
* update baseline
* Put the fail scenarios in new cases
* Fix failed nativecase
* Change string content
* Update
* Change assembly name in baseline.
* Enable test case DCS_BasicPerSerializerRoundTripAndCompare_SampleTypes_FailInReflectionOnly
* With fixdotnet/corefx#22286 the failed case can pass
* Change test case with SampleICollectionTExplicit
* Refactor the code
* Update
* Add failed case targeting uapaot
* Add issue number for the failed case when targeting uapaot.
* Remove unuseful code.
Commit migrated from https://github.com/dotnet/corefx/commit/6480490953295e85f4c8c7b7c05449c6a799d42b
* Add native test case
* Add native testcase
* netnative cases
* modify project file
delete file DataContractSerializerTestData.cs because the code is included in other file.
* Update XmlSerializerTests.cs
Update
* Update XmlSerializerTests.cs
remove failed case
* Update code to not check exception message
* Address review feedback.
* Update
Commit migrated from https://github.com/dotnet/corefx/commit/62b211eaedcf704d8a57102fb6304e77c41ec369
* When a property in internal in derived type but public in base type, the GetMember need read from base type.
* change from fact to Fact
* Support multiple level base class.
* Revert the type change since it will impact the dcs test.
* Support multiple derived level for IL gen XmlSerializer. Add more test coverage.
* Update dcs test baseline due to the changes in the type.
* update the condition
Commit migrated from https://github.com/dotnet/corefx/commit/603cb4ce94eaf41cd64af7721e7e2f3d4e983859
* Move Entries from Library Rd.xml to Test Rd.xml.
XmlSerializer.Mode iss marked as required by the System.Private.Xml.rd.xml.
Unfortunately, it pulls in the XmlSerializer type itself (has to), which
in turn pulls in a whole lot of code through its static ctor dependencies.
This caused some size-on-disk regressions.
As the property is used by our test project only, the fix is to move the
entry from the library rd.xml to the test rd.xml.
Fixdotnet/corefx#21667
* Minor changes.
Commit migrated from https://github.com/dotnet/corefx/commit/f4d12ffbef7ea1c4142f5e039602089b16bb73be
* The PR addressed the following issues,
1. Fixed the build of XmlSerializer tests on UWP.
2. Fixed a bug that caused pre-generated XmlSerializers being used in reflection only mode.
3. Fixed the incorrect usage of uap/uapaot in Configrations.props across all serialization test projects.
Fixdotnet/corefx#19804.
* Made XmlSerializer.Mode public.
Made XmlSerializer.Mode public so that we can set the property using reflection on UWP.
* Refactor the fix.
Commit migrated from https://github.com/dotnet/corefx/commit/00829fcf72f3c6160baaaf05fd2333d55cddd5fb
* xml canonicalization test V1
* Include test in ReflectionOnly project.
* make test with activeissue 18910
* Code format fix.
* Remove unneeded change.
* Add new project for Canonicalization Test.
* Review feedback.
* Fix build error.
* Add netcoreapp to Configurations.props fixed the build error for not-yet supported Object reference.
* Try to fix Vertical netfx Build failure in CI
* Rename test project, remove unneeded netfx prop
* Remove netstandard fix build error locally.
* Use TempFile.Create so it can be deleted after test completes
* Add netstandard to props.
* keep just netstandard and uap in the props file
Commit migrated from https://github.com/dotnet/corefx/commit/a1ceee749690012d09a0c4cab7b0901be35a5389