Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Savestate fixes #214

Draft
wants to merge 24 commits into
base: develop
Choose a base branch
from

[Savestate] Switched to paths instead of files

34a6970
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Draft

Savestate fixes #214

[Savestate] Switched to paths instead of files
34a6970
Select commit
Loading
Failed to load commit list.
GitHub Actions / TASmod Tests succeeded Aug 21, 2024 in 1s

153 passed, 0 failed and 7 skipped

Tests passed successfully

Report Passed Failed Skipped Time
TEST-mctcommon.event.EventTest.xml 8✅ 16ms
TEST-mctcommon.server.ByteBufferBuilderTest.xml 15✅ 30ms
TEST-mctcommon.server.ServerTest.xml 7⚪ 7ms
TEST-mctcommon.TestConfiguration.xml 7✅ 63ms
TEST-tasmod.networking.TASmodByteBufferBuilderTest.xml 1✅ 435ms
TEST-tasmod.playback.metadata.PlaybackMetadataRegistryTest.xml 1✅ 9ms
TEST-tasmod.playback.metadata.PlaybackMetadataTest.xml 6✅ 10ms
TEST-tasmod.playback.tasfile.PlaybackSerialiserTest.xml 5✅ 90ms
TEST-tasmod.playback.tasfile.SerialiserFlavorBaseTest.xml 36✅ 91ms
TEST-tasmod.virtual.VirtualCameraAngleTest.xml 14✅ 21ms
TEST-tasmod.virtual.VirtualInputEventFiring.xml 2✅ 3ms
TEST-tasmod.virtual.VirtualInputTest.xml 11✅ 28ms
TEST-tasmod.virtual.VirtualKeyboardTest.xml 25✅ 48ms
TEST-tasmod.virtual.VirtualMouseTest.xml 22✅ 39ms

✅ TEST-mctcommon.event.EventTest.xml

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

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

✅ mctcommon.event.EventTest

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

✅ TEST-mctcommon.server.ByteBufferBuilderTest.xml

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

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

✅ 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 7ms with 0 passed, 0 failed and 7 skipped.

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

✅ mctcommon.server.ServerTest

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

✅ TEST-mctcommon.TestConfiguration.xml

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

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

✅ mctcommon.TestConfiguration

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

✅ TEST-tasmod.networking.TASmodByteBufferBuilderTest.xml

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

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

✅ tasmod.networking.TASmodByteBufferBuilderTest

✅ testNBT()

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

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

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

✅ tasmod.playback.metadata.PlaybackMetadataRegistryTest

✅ testRegistry()

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

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

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

✅ tasmod.playback.metadata.PlaybackMetadataTest

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

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

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

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

✅ tasmod.playback.tasfile.PlaybackSerialiserTest

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

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

36 tests were completed in 91ms with 36 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
tasmod.playback.tasfile.SerialiserFlavorBaseTest 36✅ 91ms

✅ tasmod.playback.tasfile.SerialiserFlavorBaseTest

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

✅ TEST-tasmod.virtual.VirtualCameraAngleTest.xml

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

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

✅ 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 28ms with 11 passed, 0 failed and 0 skipped.

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

✅ tasmod.virtual.VirtualInputTest

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

✅ TEST-tasmod.virtual.VirtualKeyboardTest.xml

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

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

✅ 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 39ms with 22 passed, 0 failed and 0 skipped.

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

✅ 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()