Note that methods with a out input are now working BUT the out parameter is still an input, not an output. There is a separate issue for that here: https://github.com/BHoM/BHoM_UI/issues/313
I recommend testing with the PR on SharePoint that fixes some invalid object to reduce the amount of noise you getting in the results of TestRunner
Personally, I now get this resut from the testRunner:
PS C:\ProgramData\BHoM\Assemblies> .\TestRunner.exe UI
Testing input and output handling of the 7157 available BHoM components.
0 errors and 0 warnings reported.
Testing copy of the 7157 available BHoM components.
4 errors and 0 warnings reported.
Inner results:
BH.Engine.Adapter.Query.AdapterId(IBHoMObject bHoMObject, Type adapterIdFragmentType)
Error: Incorrect copy of BH.Engine.Adapter.Query.AdapterId(IBHoMObject bHoMObject, Type adapterIdFragmentType).
BH.Engine.Rhinoceros.Convert.FromRhino(Object geometry)
Error: Incorrect copy of BH.Engine.Rhinoceros.Convert.FromRhino(Object geometry).
Inner results:
Method IFromRhino from { "_t" : "System.Type", "Name" : "BH.Engine.Rhinoceros.Convert, Rhinoceros_Engine, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null" } failed to deserialise.
BH.Engine.Rhinoceros.Convert.FromRhino(Object obj)
Error: Incorrect copy of BH.Engine.Rhinoceros.Convert.FromRhino(Object obj).
Inner results:
Method FromRhino from { "_t" : "System.Type", "Name" : "BH.Engine.Rhinoceros.Convert, Rhinoceros_Engine, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null" } failed to deserialise.
BH.Engine.Rhinoceros.Convert.ToRhino(CompositeGeometry geometries)
Error: Incorrect copy of BH.Engine.Rhinoceros.Convert.ToRhino(CompositeGeometry geometries).
Inner results:
Method ToRhino from { "_t" : "System.Type", "Name" : "BH.Engine.Rhinoceros.Convert, Rhinoceros_Engine, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null" } failed to deserialise.
BH.UI.Base.Components.ConvertCaller failed to deserialise itself.
Testing instantiation of the 7157 available BHoM components.
0 errors and 0 warnings reported.
The Rhino stuff is working when tested in Grasshopper as it is just a question of missing referenced dlls. I'll add the exception to the UI verification later.
Issues addressed by this PR
Closes #368
See issue for more details.
Test files
./TestRunnre.exe UI
Additional comments
The Rhino stuff is working when tested in Grasshopper as it is just a question of missing referenced dlls. I'll add the exception to the UI verification later.