Repository navigation
Conversation
…stable value types
…get overridden methods
There was a problem hiding this comment.
We cannot set the CurrentCulture in this profile. If anyone knows another way...
|
@rprouse I'll pull and test either tonight or in the morning. I'll have to do some installing first. |
There was a problem hiding this comment.
Uninstalling BCL.Async from the portable projects caused the other projects to update, thus these changes.
|
Code looks good and tests pass (I have not yet run CF) so I'll just make general comments.
|
|
The portable in the name was intentional since there are no other equivalent projects. We can rename? |
|
I see. I just saw the name nunit.portable.tests.exe and thought it was some kind of tests. It's actually a single-line runner. If you can think of a name that won't confuse me, feel free to change. :-) If not we can wait till we think of one. |
|
A number of your ReflectionExtensionTests fail in CF. I'll fix and push but probably not before tomorrow. Also, the "reversing" of the console display doesn't work well when viewing it in a scrollable box - that is in CF and Silverlight. You have to scroll down to see the result. We might want it to be in a different order in those platforms. This is minor and could wait for another PR though. |
|
It is interesting that the reflection tests fail on CF. Those test all pass on the desktop framework so to me that means that some of the reflection APIs behave differently on CF than they do on desktop, so we might end up having different behaviour on that platform. None of the extensions are used except on portable, so test failures are just differences in the frameworks 😦 |
|
CF Reflection is big-time-different! |
|
Maybe just #ifdef out all those tests for CF? They are mainly intended to
|
|
If there are no references to the extensions, I could #ifdef them out as On Thu, Oct 22, 2015 at 7:43 PM, Rob Prouse [email protected]
|
|
The extensions are already #ifdef'd out for all platforms except portable
|
|
I think this is ready to merge. |
|
Your additional changes look good to me. |
Merge .NET Core support into the portable libraries
|
This is really great to see coreclr support! I'm really looking forward to a new NuGet build with this so that we can get the Visual F# tests working for coreclr. dotnet/fsharp#697 |
|
@ctaggart, if only we were pushing NuGet packages to MyGet.org from CI builds! One of too many things on our ToDo list and not enough hands 😄 I am testing the NuGet now with Xamarin and DNX. If everything looks good, I can get you a copy for testing. |
|
You can have your AppVeyor builds create a NuGet feed. You could easily create: |
|
I'm working on setting this up. I may have have a pull request ready in about an hour. |
Fixes #575 and #876
Based on his work with XUnit, @bradwilson recommended in #575 that we switch to using portable profile 259 which will allow the portable version of the framework to be used in the following platforms,
I have removed the existing DNX solution and projects and merged the NETCORE changes into the existing portable framework. This is a large pull request, but the majority is just merging the various
PORTABLEandNETCORE#definesThis also resulted in the removal of SilverLight from the portable framework, thus the fix for #876.
Many of the reflection API's that we rely on are not available in this profile. To keep as much of our existing code from changing, I created extension methods for everything that we use that is missing and added an extensive test suite to ensure they behave the same as their counterparts in the desktop framework.
Portable now has an NUnitLite package. It doesn't use Console, but you can create a console runner from it by passing Console.Out/In into AutoRun. On platforms without a console, you can pass in a TextWriter/TextReader. The portable assembly was added to the NUnitLite nuget package.
The portable version of NUnitLite drops support for a color console, but it could be re-added in the future if we switched NUnitLite to use an interface that wraps the console.
I also added the NUnitLite.Tests to the portable project. NUnit.proj has been updated to build and run all portable projects and their tests.
@CharliePoole, could you pull this branch and see if you can build it? I think it requires updating to VS 2015. The changes also need testing on CF. I am currently on a machine without VS2008.
I still want to do some testing with the NuGet packages and different platforms, but this is ready to merge. Any additional problems can be fixed in subsequent issues.