Skip to content

[Savestates] Fix input preloading when loadstating during a recording #355

[Savestates] Fix input preloading when loadstating during a recording

[Savestates] Fix input preloading when loadstating during a recording #355

GitHub Actions / TASmod Tests succeeded Apr 28, 2025 in 0s

167 passed, 0 failed and 7 skipped

Tests passed successfully

Report Passed Failed Skipped Time
TEST-mctcommon.event.EventTest.xml 8✅ 20ms
TEST-mctcommon.server.ByteBufferBuilderTest.xml 15✅ 21ms
TEST-mctcommon.server.ServerTest.xml 7⚪ 6ms
TEST-mctcommon.TestConfiguration.xml 7✅ 45ms
TEST-tasmod.networking.TASmodByteBufferBuilderTest.xml 1✅ 358ms
TEST-tasmod.playback.filecommands.PlaybackFileCommandTest.xml 7✅ 72ms
TEST-tasmod.playback.metadata.PlaybackMetadataRegistryTest.xml 1✅ 11ms
TEST-tasmod.playback.metadata.PlaybackMetadataTest.xml 6✅ 13ms
TEST-tasmod.playback.tasfile.builtin.AlphaFlavorTest.xml 5✅ 52ms
TEST-tasmod.playback.tasfile.PlaybackSerialiserTest.xml 5✅ 206ms
TEST-tasmod.playback.tasfile.SerialiserFlavorBaseTest.xml 38✅ 100ms
TEST-tasmod.virtual.VirtualCameraAngleTest.xml 14✅ 10ms
TEST-tasmod.virtual.VirtualInputEventFiring.xml 2✅ 3ms
TEST-tasmod.virtual.VirtualInputTest.xml 11✅ 13ms
TEST-tasmod.virtual.VirtualKeyboardTest.xml 25✅ 14ms
TEST-tasmod.virtual.VirtualMouseTest.xml 22✅ 15ms

✅ TEST-mctcommon.event.EventTest.xml

8 tests were completed in 20ms with 8 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
mctcommon.event.EventTest 8✅ 20ms

✅ mctcommon.event.EventTest

✅ testSimpleEvent()
✅ testParameterEventTooMany()
✅ testEventMethodwithSameName()
✅ testParameterEventTooFew()
✅ testParameterEventWrongTypes()
✅ testParameterEvent()
✅ testUnregister()
✅ testMultipleReturnValues()

✅ TEST-mctcommon.server.ByteBufferBuilderTest.xml

15 tests were completed in 21ms with 15 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
mctcommon.server.ByteBufferBuilderTest 15✅ 21ms

✅ mctcommon.server.ByteBufferBuilderTest

✅ testBoolean2()
✅ testId2()
✅ testId3()
✅ testInt()
✅ testByteArray()
✅ testClone()
✅ testFloat()
✅ testShort()
✅ testLong()
✅ testUUID()
✅ testId()
✅ testBoolean()
✅ testClosed()
✅ testDouble()
✅ testString()

✅ TEST-mctcommon.server.ServerTest.xml

7 tests were completed in 6ms with 0 passed, 0 failed and 7 skipped.

Test suite Passed Failed Skipped Time
mctcommon.server.ServerTest 7⚪ 6ms

✅ mctcommon.server.ServerTest

⚪ testSendToAllClientsInterface()
⚪ testSendToServerInterface()
⚪ testSendToServerLambda()
⚪ testSendToClientLambda()
⚪ testSendToServerInterface2()
⚪ testSendToAllClientsLambda()
⚪ testSendToClientInterface()

✅ TEST-mctcommon.TestConfiguration.xml

7 tests were completed in 45ms with 7 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
mctcommon.TestConfiguration 7✅ 45ms

✅ mctcommon.TestConfiguration

✅ testBooleans()
✅ testDeleteAndContains()
✅ testIfInitialized()
✅ resetToDefault()
✅ testSavingAndLoading()
✅ testDefault()
✅ testIntegers()

✅ TEST-tasmod.networking.TASmodByteBufferBuilderTest.xml

1 tests were completed in 358ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
tasmod.networking.TASmodByteBufferBuilderTest 1✅ 358ms

✅ tasmod.networking.TASmodByteBufferBuilderTest

✅ testNBT()

✅ TEST-tasmod.playback.filecommands.PlaybackFileCommandTest.xml

7 tests were completed in 72ms with 7 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
tasmod.playback.filecommands.PlaybackFileCommandTest 7✅ 72ms

✅ tasmod.playback.filecommands.PlaybackFileCommandTest

✅ testEndlineSerialisation()
✅ testInlineDeserialisation()
✅ testInlineSerialisation()
✅ testMultiInlineDeserialisation()
✅ testEndlineDeserialisation()
✅ testInline2LineDeserialisation()
✅ testMultiInlineSerialisation()

✅ TEST-tasmod.playback.metadata.PlaybackMetadataRegistryTest.xml

1 tests were completed in 11ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
tasmod.playback.metadata.PlaybackMetadataRegistryTest 1✅ 11ms

✅ tasmod.playback.metadata.PlaybackMetadataRegistryTest

✅ testRegistry()

✅ TEST-tasmod.playback.metadata.PlaybackMetadataTest.xml

6 tests were completed in 13ms with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
tasmod.playback.metadata.PlaybackMetadataTest 6✅ 13ms

✅ tasmod.playback.metadata.PlaybackMetadataTest

✅ testFailedEquals()
✅ testToString()
✅ testSettingAndReading()
✅ testEquals()
✅ testToStringList()
✅ testConstructor()

✅ TEST-tasmod.playback.tasfile.builtin.AlphaFlavorTest.xml

5 tests were completed in 52ms with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
tasmod.playback.tasfile.builtin.AlphaFlavorTest 5✅ 52ms

✅ tasmod.playback.tasfile.builtin.AlphaFlavorTest

✅ testCheckFlavorName()
✅ testCheckFlavorNameFalse()
✅ testDeserialiseFileCommandNames()
✅ testSerialiseHeader()
✅ testDeserialiseMetadata()

✅ TEST-tasmod.playback.tasfile.PlaybackSerialiserTest.xml

5 tests were completed in 206ms with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
tasmod.playback.tasfile.PlaybackSerialiserTest 5✅ 206ms

✅ tasmod.playback.tasfile.PlaybackSerialiserTest

✅ testSerialiser()
✅ testDeserialiser()
✅ testFlavorIsNull()
✅ testFlavorNotFound()
✅ testDeserialiserNoExtensions()

✅ TEST-tasmod.playback.tasfile.SerialiserFlavorBaseTest.xml

38 tests were completed in 100ms with 38 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
tasmod.playback.tasfile.SerialiserFlavorBaseTest 38✅ 100ms

✅ tasmod.playback.tasfile.SerialiserFlavorBaseTest

✅ testCenterHeadingEvenText()
✅ testDeserialiseMouse()
✅ testIsNumeric()
✅ testParseFloat()
✅ testCenterHeadingEven()
✅ testDeserialiseContainer()
✅ testCenterHeadingEvenText2()
✅ testDeserialiseRelativeFloat()
✅ testDeserialiseFileCommandNames()
✅ testCenterHeadingOdd()
✅ testYawClamping()
✅ testSplitContainer()
✅ testStringPaddingOdd()
✅ testDeserialiseKeyboardWithKeyCodes()
✅ testSerialiseContainer()
✅ testSerialiseFileCommands()
✅ testDeserialisingCameraAngle()
✅ testExtractHeaderFail()
✅ testSerialiseComments()
✅ testSerialiseMetadata()
✅ testStringPaddingEven()
✅ testSerialiseFileCommandNames()
✅ testSerialiseFlavorname()
✅ testDeserialiseRelativeInt()
✅ testDeserialiseMetadata()
✅ testExtractHeader()
✅ testSplitInputs()
✅ testJoinNotEmpty()
✅ testExtractTick()
✅ testYawUnclamping()
✅ testExtractExceptions()
✅ testSerialiseHeaderStart()
✅ testMergingCommentsAndCommands()
✅ testIsFloat()
✅ testExtractExceptions2()
✅ testExtractExceptions3()
✅ testDeserialiseKeyboard()
✅ testParseInt()

✅ TEST-tasmod.virtual.VirtualCameraAngleTest.xml

14 tests were completed in 10ms with 14 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
tasmod.virtual.VirtualCameraAngleTest 14✅ 10ms

✅ tasmod.virtual.VirtualCameraAngleTest

✅ testEmptyConstructor()
✅ testSet()
✅ testUpdateWithNull()
✅ testClear()
✅ testToString()
✅ testShallowClone()
✅ testToStringSubticks()
✅ testSubtickConstructor()
✅ testCopyFrom()
✅ testEquals()
✅ testGetStates()
✅ testNotEquals()
✅ testUpdate()
✅ testUpdateWithBadPitch()

✅ TEST-tasmod.virtual.VirtualInputEventFiring.xml

2 tests were completed in 3ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
tasmod.virtual.VirtualInputEventFiring 2✅ 3ms

✅ tasmod.virtual.VirtualInputEventFiring

✅ testClear()
✅ testCopy()

✅ TEST-tasmod.virtual.VirtualInputTest.xml

11 tests were completed in 13ms with 11 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
tasmod.virtual.VirtualInputTest 11✅ 13ms

✅ tasmod.virtual.VirtualInputTest

✅ testCurrentCameraAngles()
✅ testMousePresses()
✅ testInterpolationEnabled()
✅ testIsKeyDown()
✅ testInterpolationDisabled()
✅ testKeyboardRemovePresses()
✅ testWillKeyBeDown()
✅ testMouseRemovePresses()
✅ testKeyboardAddPresses()
✅ testPreloadedConstructor()
✅ testConstructor()

✅ TEST-tasmod.virtual.VirtualKeyboardTest.xml

25 tests were completed in 14ms with 25 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
tasmod.virtual.VirtualKeyboardTest 25✅ 14ms

✅ tasmod.virtual.VirtualKeyboardTest

✅ testEmptyConstructor()
✅ testGetVirtualEventsOnSubtick()
✅ testAddCharacter()
✅ testRepeatEvents()
✅ testRepeatEventsFail()
✅ testDeepClone()
✅ testClear()
✅ testToString()
✅ testGetDifference()
✅ testShallowClone()
✅ testToStringSubticks()
✅ testSubtickConstructor()
✅ testSetPressedByKeycode()
✅ testSetPressedByKeyname()
✅ testGetVirtualEventsUnpress()
✅ testCopyFrom()
✅ testSetUnPressedByKeycode()
✅ testSetUnPressedByKeyname()
✅ testUpdateOnSubtick()
✅ testMoveFrom()
✅ testEquals()
✅ testNotEquals()
✅ testUpdate()
✅ testGetVirtualEventsPress()
✅ testFailingSetPressedByKeycode()

✅ TEST-tasmod.virtual.VirtualMouseTest.xml

22 tests were completed in 15ms with 22 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
tasmod.virtual.VirtualMouseTest 22✅ 15ms

✅ tasmod.virtual.VirtualMouseTest

✅ testEmptyConstructor()
✅ testDeepClone()
✅ testToString()
✅ testGetDifference()
✅ testShallowClone()
✅ testSubtickConstructor()
✅ testSetPressedByKeycode()
✅ testSetPressedByKeyname()
✅ testGetVirtualEventsUnpress()
✅ testCopyFrom()
✅ testScrollWheelDifferent()
✅ testSetUnPressedByKeycode()
✅ testSetUnPressedByKeyname()
✅ testCursorYDifferent()
✅ testMoveFrom()
✅ testCursorXDifferent()
✅ testEquals()
✅ testNotEquals()
✅ testToStringSubtick()
✅ testUpdate()
✅ testGetVirtualEventsPress()
✅ testSameUpdate()