dev/render-worker-establishment #32

Merged
bquarkz merged 47 commits from dev/real-render-worker-establishment into master 2026-06-20 16:11:08 +00:00
Showing only changes of commit b4f7b4f3c0 - Show all commits

View File

@ -398,17 +398,13 @@ mod tests {
let mut firmware = Firmware::new(None);
let mut platform = TestPlatform::new();
debugger.handle_command(DebugCommand::Pause, &mut firmware, platform.local_hardware_mut());
debugger.handle_command(DebugCommand::Pause, &mut firmware, &mut platform);
assert!(firmware.os.vm().paused());
debugger.handle_command(DebugCommand::Resume, &mut firmware, platform.local_hardware_mut());
debugger.handle_command(DebugCommand::Resume, &mut firmware, &mut platform);
assert!(!firmware.os.vm().paused());
debugger.handle_command(
DebugCommand::StepFrame,
&mut firmware,
platform.local_hardware_mut(),
);
debugger.handle_command(DebugCommand::StepFrame, &mut firmware, &mut platform);
assert!(!firmware.os.vm().paused());
assert!(firmware.os.vm().debug_step_requested());
}
@ -422,7 +418,7 @@ mod tests {
debugger.waiting_for_start = true;
firmware.os.vm().set_paused(true);
debugger.handle_command(DebugCommand::Start, &mut firmware, platform.local_hardware_mut());
debugger.handle_command(DebugCommand::Start, &mut firmware, &mut platform);
assert!(!debugger.waiting_for_start);
assert!(!firmware.os.vm().paused());