mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-07 19:58:32 +09:00
[Fix] (replay-trace) add Minecraft 26.2 vanilla fixtures
This commit is contained in:
@@ -38,6 +38,12 @@ case "${case_name}" in
|
||||
minecraft-1.21.4-fabric-sodium-in-world)
|
||||
add_standard_case "0000923340"
|
||||
;;
|
||||
minecraft-26.2-main-menu)
|
||||
add_standard_case "0000259766"
|
||||
;;
|
||||
minecraft-26.2-in-world)
|
||||
add_standard_case "0000519370"
|
||||
;;
|
||||
minecraft-1.21.4-fabric-rei-inventory-normal-world)
|
||||
add_standard_case "0000734465"
|
||||
;;
|
||||
|
||||
@@ -212,6 +212,30 @@ jobs:
|
||||
crop_width: 0
|
||||
crop_height: 0
|
||||
timeout_seconds: 1800
|
||||
- name: minecraft-26.2-main-menu
|
||||
trace_archive: tools/trace_replay/fixtures/minecraft-26.2-main-menu.tgz
|
||||
trace_file: trace.trace
|
||||
golden: tools/trace_replay/fixtures/minecraft-26.2-main-menu.0000259766.png
|
||||
target_call: 259766
|
||||
width: 854
|
||||
height: 480
|
||||
crop_x: 0
|
||||
crop_y: 0
|
||||
crop_width: 0
|
||||
crop_height: 0
|
||||
timeout_seconds: 180
|
||||
- name: minecraft-26.2-in-world
|
||||
trace_archive: tools/trace_replay/fixtures/minecraft-26.2-in-world.tgz
|
||||
trace_file: trace.trace
|
||||
golden: tools/trace_replay/fixtures/minecraft-26.2-in-world.0000519370.png
|
||||
target_call: 519370
|
||||
width: 854
|
||||
height: 480
|
||||
crop_x: 0
|
||||
crop_y: 0
|
||||
crop_width: 0
|
||||
crop_height: 0
|
||||
timeout_seconds: 900
|
||||
- name: minecraft-1.21.4-fabric-rei-inventory-normal-world
|
||||
trace_archive: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-rei-inventory-normal-world.tgz
|
||||
trace_file: trace.trace
|
||||
|
||||
@@ -348,6 +348,8 @@ jobs:
|
||||
- minecraft-1.21.4-main-menu
|
||||
- minecraft-1.21.4-in-world
|
||||
- minecraft-1.21.4-fabric-sodium-in-world
|
||||
- minecraft-26.2-main-menu
|
||||
- minecraft-26.2-in-world
|
||||
- minecraft-1.21.4-fabric-rei-inventory-normal-world
|
||||
- minecraft-1.21.4-fabric-xaero-minimap-in-world-normal-world
|
||||
- minecraft-1.21.4-fabric-xaero-world-map-in-world-normal-world
|
||||
|
||||
@@ -410,6 +410,24 @@ add_trace_replay_test_for_backends(minecraft-1.21.4-fabric-sodium-in-world
|
||||
HEIGHT 480
|
||||
)
|
||||
|
||||
add_trace_replay_test_for_backends(minecraft-26.2-main-menu
|
||||
TRACE_ARCHIVE ${MOBILEGL_TRACE_ROOT}/fixtures/minecraft-26.2-main-menu.tgz
|
||||
TRACE_FILE trace.trace
|
||||
GOLDEN ${MOBILEGL_TRACE_ROOT}/fixtures/minecraft-26.2-main-menu.0000259766.png
|
||||
TARGET_CALL 259766
|
||||
WIDTH 854
|
||||
HEIGHT 480
|
||||
)
|
||||
|
||||
add_trace_replay_test_for_backends(minecraft-26.2-in-world
|
||||
TRACE_ARCHIVE ${MOBILEGL_TRACE_ROOT}/fixtures/minecraft-26.2-in-world.tgz
|
||||
TRACE_FILE trace.trace
|
||||
GOLDEN ${MOBILEGL_TRACE_ROOT}/fixtures/minecraft-26.2-in-world.0000519370.png
|
||||
TARGET_CALL 519370
|
||||
WIDTH 854
|
||||
HEIGHT 480
|
||||
)
|
||||
|
||||
add_trace_replay_test_for_backends(minecraft-1.21.4-fabric-common-mods-in-world
|
||||
TRACE_ARCHIVE ${MOBILEGL_TRACE_ROOT}/fixtures/minecraft-1.21.4-fabric-common-mods-in-world.tgz
|
||||
TRACE_FILE trace.trace
|
||||
|
||||
@@ -16,6 +16,10 @@ The bundled fixtures cover:
|
||||
- minecraft-1.21.4-fabric-sodium-in-world: captured from Minecraft 1.21.4 Fabric with Sodium after entering a
|
||||
singleplayer world with Fancy graphics.
|
||||

|
||||
- minecraft-26.2-main-menu: captured from Minecraft 26.2's main menu.
|
||||

|
||||
- minecraft-26.2-in-world: captured from Minecraft 26.2 after entering a normal singleplayer world.
|
||||

|
||||
- minecraft-1.21.4-fabric-common-mods-in-world: captured from Minecraft 1.21.4 Fabric with Sodium, Iris, REI,
|
||||
Xaero's Minimap, Xaero's World Map, JourneyMap, and Modern UI, with shader packs disabled.
|
||||

|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -13,6 +13,8 @@ const CASES = [
|
||||
"minecraft-1.21.4-main-menu",
|
||||
"minecraft-1.21.4-in-world",
|
||||
"minecraft-1.21.4-fabric-sodium-in-world",
|
||||
"minecraft-26.2-main-menu",
|
||||
"minecraft-26.2-in-world",
|
||||
"minecraft-1.21.4-fabric-rei-inventory-normal-world",
|
||||
"minecraft-1.21.4-fabric-xaero-minimap-in-world-normal-world",
|
||||
"minecraft-1.21.4-fabric-xaero-world-map-in-world-normal-world",
|
||||
|
||||
@@ -48,6 +48,8 @@ CASES = [
|
||||
{"name": "minecraft-1.21.4-main-menu", "golden": "minecraft-1.21.4-main-menu.0000481787.png", "alternate_golden": "minecraft-1.21.4-main-menu.0000481787-mali.png", "target_call": 481787, "timeout_seconds": 180},
|
||||
{"name": "minecraft-1.21.4-in-world", "golden": "minecraft-1.21.4-in-world.0000280000.png", "target_call": 280000, "timeout_seconds": 900},
|
||||
{"name": "minecraft-1.21.4-fabric-sodium-in-world", "golden": "minecraft-1.21.4-fabric-sodium-in-world.0000923340.png", "target_call": 923340, "timeout_seconds": 1800},
|
||||
{"name": "minecraft-26.2-main-menu", "golden": "minecraft-26.2-main-menu.0000259766.png", "target_call": 259766, "timeout_seconds": 180},
|
||||
{"name": "minecraft-26.2-in-world", "golden": "minecraft-26.2-in-world.0000519370.png", "target_call": 519370, "timeout_seconds": 900},
|
||||
{"name": "minecraft-1.21.4-fabric-common-mods-in-world", "golden": "minecraft-1.21.4-fabric-common-mods-in-world.0000522084.png", "target_call": 522084, "timeout_seconds": 1800},
|
||||
{"name": "minecraft-1.21.4-fabric-common-mods-inventory", "golden": "minecraft-1.21.4-fabric-common-mods-inventory.0000728558.png", "target_call": 728558, "timeout_seconds": 1800},
|
||||
{"name": "minecraft-1.21.4-fabric-rei-inventory", "golden": "minecraft-1.21.4-fabric-rei-inventory.0005431826.png", "target_call": 5431826, "timeout_seconds": 1800},
|
||||
|
||||
Reference in New Issue
Block a user