Structure_Engine: Update UT for CellularSection #3381
Merged
BHoMBot-CI / unit-tests
succeeded
Jul 26, 2024 in 17h 4m 37s
Check Unit Tests
This check has failed following the running of unit tests
Annotations
Check failure on line 1 in /.ci/unit-tests/BHoM_Engine_Tests.sln
bhombot-ci / unit-tests
/.ci/unit-tests/BHoM_Engine_Tests.sln#L1
Passed: 24
Failed: 2
Inner results:
BH.Tests.Engine.Serialiser.AllTypesIObject.CheckAllTypesIObject
BH.Tests.Engine.Serialiser.SystemTypesToFromJson.SystemTypesToFromJsonBitMapObjectProperty
System.PlatformNotSupportedException : System.Drawing is not supported on this platform.
at System.Drawing.Bitmap..ctor(Int32 width, Int32 height, PixelFormat format)
at BH.Tests.Engine.Serialiser.SystemTypesToFromJson.RandomBitmap(Int32 index)
at BH.Tests.Engine.Serialiser.SystemTypesToFromJson.SystemTypesToFromJsonBitMapObjectProperty()
BH.Tests.Engine.Serialiser.SystemTypesToFromJson.SystemTypesToFromJsonHashSetObjectProperty
Expected type to be System.Collections.Generic.HashSet`1[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], but found BH.oM.Base.CustomObject.
at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
at FluentAssertions.Types.TypeAssertions.Be(Type expected, String because, Object[] becauseArgs)
at FluentAssertions.Primitives.ReferenceTypeAssertions`2.BeOfType(Type expectedType, String because, Object[] becauseArgs)
at BH.Tests.Engine.Serialiser.SystemTypesToFromJson.SystemTypesToFromJsonCustomDataProperty[T](T value)
at BH.Tests.Engine.Serialiser.SystemTypesToFromJson.SystemTypesToFromJsonHashSetObjectProperty()
BH.Tests.Engine.Serialiser.Versioning.A_MethodsFromJsonVersioning
BH.Tests.Engine.Serialiser.Versioning.A_ObjectFromJsonVersioning
BH.Tests.Engine.Serialiser.Versioning.B_FromJsonMethodsFailuresVersioning
BH.Tests.Engine.Serialiser.Versioning.B_FromJsonObjectFailuresVersioning
Check warning on line 1 in /.ci/unit-tests/BHoM_Engine_Tests.sln
bhombot-ci / unit-tests
/.ci/unit-tests/BHoM_Engine_Tests.sln#L1
Passed: 15
Failed: 0
Inner results:
BH.Tests.Engine.Base.Query.UnpackTests.Unpack<BHoMObject>(BH.Tests.Engine.Base.Query.Objects.Container`1[BH.oM.Base.BHoMObject],3)
Loading