|
I was able to get Andr Unit and NUnitLite up and running.
I cross compiled the testing framework defined in Microsoft.Reactive.Testing as Mono.Android.Reactive.Testing by using compiler directives where there were references to the visual studio testing framework. I modified the build of NUnitLite so that
the attributes aligned with the MSTest naming conventions.
To make NUnitLite work with the MSTest API I added and renamed some functions in NUnitLite. For example Assert.Equal becomes Asser.AreEqual
That was the easy part.
Tests.System.Reactive has proven to be more difficult to cross compile.
I had to bring in System.Reactive.Experimental and System.Reactive.Runtime.Remoting. However I've still got 79 errors, with many errors of this type:
Error 472 The type 'System.Reactive.Observer' exists in both 'c:\DEVGIT\RxM4A\RxM4A\RxMonoForAndroid\System.Reactive.Linq\bin\Release\System.Reactive.Linq.dll' and 'c:\DEVGIT\RxM4A\RxM4A\RxMonoForAndroid\System.Reactive.Core\bin\Release\System.Reactive.Core.dll'
C:\DEVGIT\RxM4A\Rx.NET\Tests.System.Reactive\Tests\ObservableSingleTest.cs
1806 Mono.Android.Tests.System.Reactive
When I check the Rx.NET project, I do see references to both libraries... and if I remove one or the other it causes even more errors.
Does anyone have any ideas on how to approach this problem?
|