[hal,wpilib] Rename "Test" robot mode to "Utility" (#8782)

The "Utility" name better matches its intended generic use case and
avoids overloaded terminology with unit testing (e.g. the need to name
the opmode annotation `@TestOpMode`).

The driver station will also be updated to reflect this change.
This commit is contained in:
Peter Johnson
2026-04-20 20:29:25 -07:00
committed by GitHub
parent 14d14e4ebc
commit ab00aac960
111 changed files with 487 additions and 488 deletions

View File

@@ -33,7 +33,7 @@ public final class MockHardwareExtension implements BeforeAllCallback {
HAL.initialize(500, 0);
DriverStationSim.setDsAttached(true);
DriverStationSim.setEnabled(true);
DriverStationSim.setRobotMode(RobotMode.TEST);
DriverStationSim.setRobotMode(RobotMode.UTILITY);
DriverStationSim.notifyNewData();
}
}