Re-Added VisualSlot registration. #61
This check has been archived and is scheduled for deletion.
Learn more about checks retention
GitHub Actions / Test results
failed
Sep 6, 2023 in 0s
Test results ❌
❌ test-results.trx
62 tests were completed in 176s with 61 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
TestProject.CommonnessInfoTests | 2✔️ | 102ms | ||
TestProject.CoordinateSpace2DTests | 1✔️ | 76ms | ||
TestProject.EndpointComparisonTests | 1✔️ | 1ms | ||
TestProject.EndpointParseTests | 5✔️ | 57ms | ||
TestProject.GenericToolBoxTests | 1❌ | 525ms | ||
TestProject.INetSerializableStructImplementationChecks | 1✔️ | 81ms | ||
TestProject.INetSerializableStructTests | 22✔️ | 3s | ||
TestProject.LuaCs.HookPatchTests | 23✔️ | 169s | ||
TestProject.MathUtilsTests | 2✔️ | 16ms | ||
TestProject.NetIdUtilsTests | 1✔️ | 12ms | ||
TestProject.SerializableDateTimeTests | 3✔️ | 135ms |
✔️ TestProject.CommonnessInfoTests
✔️ TestInheritedCommonness
✔️ TestPathCommonness
✔️ TestProject.CoordinateSpace2DTests
✔️ TestLocalToCanonical
✔️ TestProject.EndpointComparisonTests
✔️ TestLidgrenAddress
✔️ TestProject.EndpointParseTests
✔️ TestLidgrenAddress
✔️ TestLidgrenEndpoint
✔️ TestLidgrenEndpointHostName
✔️ TestSteamP2PAddress
✔️ TestSteamP2PEndpoint
❌ TestProject.GenericToolBoxTests
❌ MatchesStatIdentifier
System.Exception : Falsifiable, after 100 tests (0 shrinks) (StdGen (29871893,297229560)):
Original:
TestProject.GenericToolBoxTests+DifferentIdentifierPair
with exception:
Xunit.Sdk.XunitException: Expected ToolBox.StatIdentifierMatches(pair.First, $"{pair.Second}~{pair.First}".ToIdentifier()) to be false, but found True.
at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args)
at FluentAssertions.Primitives.BooleanAssertions`1.BeFalse(String because, Object[] becauseArgs)
at TestProject.GenericToolBoxTests.<>c.<MatchesStatIdentifier>b__3_0(DifferentIdentifierPair pair) in /home/runner/work/LuaCsForBarotrauma/LuaCsForBarotrauma/Barotrauma/BarotraumaTest/GenericToolBoxTests.cs:line 52
at [email protected](Value arg00)
at FsCheck.Testable.evaluate[a,b](FSharpFunc`2 body, a a)
✔️ TestProject.INetSerializableStructImplementationChecks
✔️ CheckStructMemberTypes
✔️ TestProject.INetSerializableStructTests
✔️ TestArray
✔️ TestBitField
✔️ TestBoolean
✔️ TestByte
✔️ TestColor
✔️ TestDouble
✔️ TestEnum
✔️ TestEnumFlags
✔️ TestImmutableArray
✔️ TestInt16
✔️ TestInt32
✔️ TestInt64
✔️ TestNested
✔️ TestNullable
✔️ TestOptional
✔️ TestRanged
✔️ TestSingle
✔️ TestString
✔️ TestUInt16
✔️ TestUInt32
✔️ TestUInt64
✔️ TestVector2
✔️ TestProject.LuaCs.HookPatchTests
✔️ TestCastByte
✔️ TestCastDouble
✔️ TestCastInt16
✔️ TestCastInt32
✔️ TestCastInt64
✔️ TestCastSByte
✔️ TestCastSingle
✔️ TestCastUInt16
✔️ TestCastUInt32
✔️ TestCastUInt64
✔️ TestFullMethodReplacement
✔️ TestModifyParameters
✔️ TestOverrideExistingPatch
✔️ TestParameterValueType
✔️ TestPatchAmbiguous
✔️ TestPatchConstructor
✔️ TestRemovePostfix
✔️ TestRemovePrefix
✔️ TestReturnBoxed
✔️ TestReturnInterfaceImplementingType
✔️ TestReturnNil
✔️ TestReturnValueType
✔️ TestReturnVoid
✔️ TestProject.MathUtilsTests
✔️ TestNearlyEquals
✔️ TestWrapAngle
✔️ TestProject.NetIdUtilsTests
✔️ TestGetIdOlderThan
✔️ TestProject.SerializableDateTimeTests
✔️ EqualityTest
✔️ ParseTest
✔️ ToLocalTest
Annotations
Check failure on line 46 in Barotrauma/BarotraumaTest/GenericToolBoxTests.cs
github-actions / Test results
TestProject.GenericToolBoxTests ► MatchesStatIdentifier
Failed test found in:
test-results.trx
Error:
System.Exception : Falsifiable, after 100 tests (0 shrinks) (StdGen (29871893,297229560)):
Original:
TestProject.GenericToolBoxTests+DifferentIdentifierPair
with exception:
Xunit.Sdk.XunitException: Expected ToolBox.StatIdentifierMatches(pair.First, $"{pair.Second}~{pair.First}".ToIdentifier()) to be false, but found True.
at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args)
at FluentAssertions.Primitives.BooleanAssertions`1.BeFalse(String because, Object[] becauseArgs)
at TestProject.GenericToolBoxTests.<>c.<MatchesStatIdentifier>b__3_0(DifferentIdentifierPair pair) in /home/runner/work/LuaCsForBarotrauma/LuaCsForBarotrauma/Barotrauma/BarotraumaTest/GenericToolBoxTests.cs:line 52
at [email protected](Value arg00)
at FsCheck.Testable.evaluate[a,b](FSharpFunc`2 body, a a)
Raw output
System.Exception : Falsifiable, after 100 tests (0 shrinks) (StdGen (29871893,297229560)):
Original:
TestProject.GenericToolBoxTests+DifferentIdentifierPair
with exception:
Xunit.Sdk.XunitException: Expected ToolBox.StatIdentifierMatches(pair.First, $"{pair.Second}~{pair.First}".ToIdentifier()) to be false, but found True.
at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args)
at FluentAssertions.Primitives.BooleanAssertions`1.BeFalse(String because, Object[] becauseArgs)
at TestProject.GenericToolBoxTests.<>c.<MatchesStatIdentifier>b__3_0(DifferentIdentifierPair pair) in /home/runner/work/LuaCsForBarotrauma/LuaCsForBarotrauma/Barotrauma/BarotraumaTest/GenericToolBoxTests.cs:line 52
at [email protected](Value arg00)
at FsCheck.Testable.evaluate[a,b](FSharpFunc`2 body, a a)
at Microsoft.FSharp.Core.PrintfModule.PrintFormatToStringThenFail@1379.Invoke(String message)
at <StartupCode$FsCheck>[email protected](String name, TestResult testResult)
at FsCheck.Runner.runner[a](Config config, a prop)
at FsCheck.Runner.check[a](Config config, a p)
at FsCheck.CheckExtensions.VerboseCheckThrowOnFailure(Property property)
at TestProject.GenericToolBoxTests.MatchesStatIdentifier() in /home/runner/work/LuaCsForBarotrauma/LuaCsForBarotrauma/Barotrauma/BarotraumaTest/GenericToolBoxTests.cs:line 46
Loading