- Added XmlDoc to some methods in ModUtils.cs #74
GitHub Actions / Test results
failed
Sep 13, 2023 in 1s
Test results ❌
❌ test-results.trx
63 tests were completed in 12s with 62 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
TestProject.CommonnessInfoTests | 2✔️ | 68ms | ||
TestProject.CoordinateSpace2DTests | 1✔️ | 58ms | ||
TestProject.EndpointComparisonTests | 1✔️ | 1ms | ||
TestProject.EndpointParseTests | 5✔️ | 117ms | ||
TestProject.GenericToolBoxTests | 1❌ | 418ms | ||
TestProject.INetSerializableStructImplementationChecks | 1✔️ | 81ms | ||
TestProject.INetSerializableStructTests | 22✔️ | 3s | ||
TestProject.LuaCs.HookPatchTests | 24✔️ | 11s | ||
TestProject.MathUtilsTests | 2✔️ | 7ms | ||
TestProject.NetIdUtilsTests | 1✔️ | 108ms | ||
TestProject.SerializableDateTimeTests | 3✔️ | 44ms |
✔️ TestProject.CommonnessInfoTests
✔️ TestInheritedCommonness
✔️ TestPathCommonness
✔️ TestProject.CoordinateSpace2DTests
✔️ TestLocalToCanonical
✔️ TestProject.EndpointComparisonTests
✔️ TestLidgrenAddress
✔️ TestProject.EndpointParseTests
✔️ TestLidgrenAddress
✔️ TestLidgrenEndpoint
✔️ TestLidgrenEndpointHostName
✔️ TestSteamP2PAddress
✔️ TestSteamP2PEndpoint
❌ TestProject.GenericToolBoxTests
❌ MatchesStatIdentifier
System.Exception : Falsifiable, after 48 tests (0 shrinks) (StdGen (289163991,297232674)):
Original:
TestProject.GenericToolBoxTests+DifferentIdentifierPair
with exception:
Xunit.Sdk.XunitException: Expected ToolBox.StatIdentifierMatches(pair.First, pair.Second) 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 53
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
✔️ TestPatchDisambiguation
✔️ 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 48 tests (0 shrinks) (StdGen (289163991,297232674)):
Original:
TestProject.GenericToolBoxTests+DifferentIdentifierPair
with exception:
Xunit.Sdk.XunitException: Expected ToolBox.StatIdentifierMatches(pair.First, pair.Second) 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 53
at [email protected](Value arg00)
at FsCheck.Testable.evaluate[a,b](FSharpFunc`2 body, a a)
Raw output
System.Exception : Falsifiable, after 48 tests (0 shrinks) (StdGen (289163991,297232674)):
Original:
TestProject.GenericToolBoxTests+DifferentIdentifierPair
with exception:
Xunit.Sdk.XunitException: Expected ToolBox.StatIdentifierMatches(pair.First, pair.Second) 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 53
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