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

TestFramework: "draw_tile" in BasicTilemapTestSuite draw_tile(), failed draw buffer comparison #8243

Closed
sihammill opened this issue Oct 31, 2024 · 1 comment
Assignees
Labels
runner-bug In-game bugs with the "GameMaker Studio 2" runtimes TestFramework
Milestone

Comments

@sihammill
Copy link

Workflow Artefact URL

https://github.com/YoYoGames/GM-TestFramework/actions/runs/11610157668#artifacts

Test Code

// Test that draw_tile() draws a tile correctly using the draw comparison functions in objTestAsyncDraw:
// Start drawing to a test surface
testSurface = start_draw_comparison();
// draw tile with index 1 from tilesAuto at 0,0
draw_tile(tilesAuto, 1, 0, 0, 0);
// Stop drawing to the test surface, store it as a buffer, then compare it against the drawTileTestExpectedBuffer file
end_draw_comparison(testSurface, "drawTileTest", "draw_tile(), failed draw buffer comparison");

Output From The Test

Testsuite Name: BasicTilemapTestSuite
Test Name: draw_tile
description: draw_tile(), failed draw buffer comparison
title: Assert buffers to be equal (MD5 hash)
stack: gml_Script_end_draw_comparison:108
actual: "b53e7f9f3c4d7c17fde288b40dd3ff70"
expected: "cf1cddf94a662a19dc5b9a9bff10115c"

Runtime Version

2024.1100.0.689

Location Of The Test

https://github.com/YoYoGames/GM-TestFramework/blob/85e03a71e87b23cffb3b93b42b18081307cf2f09/projects/xUnit/scripts/BasicTilemapTestSuite/BasicTilemapTestSuite.gml#L990

Which platform(s) are you seeing the problem on?

Windows

@sihammill sihammill added runner-bug In-game bugs with the "GameMaker Studio 2" runtimes TestFramework labels Oct 31, 2024
@iampremo iampremo removed the status in Team Workload Nov 5, 2024
@iampremo iampremo moved this to Backlog in Team Workload Nov 5, 2024
@jackerley jackerley assigned JonnoRobson and unassigned jackerley Nov 6, 2024
@jackerley jackerley added this to the 2025.1 milestone Nov 6, 2024
@sihammill sihammill self-assigned this Jan 6, 2025
@jackerley
Copy link

Fixed by updates to the testing mechanism YoYoGames/GM-TestFramework#185

@github-project-automation github-project-automation bot moved this from Backlog to Done in Team Workload Jan 30, 2025
@YYBartT YYBartT moved this from Done to Ready for QA in Team Workload Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
runner-bug In-game bugs with the "GameMaker Studio 2" runtimes TestFramework
Projects
Status: Ready for QA
Development

No branches or pull requests

3 participants