Add initial load scheduling and tests for USB screen and frame codec functionality

This commit is contained in:
just_stuff_tm
2026-03-02 05:28:40 -05:00
committed by just-stuff-tm
parent 781090243c
commit f39a22668e
4 changed files with 181 additions and 2 deletions
+12 -1
View File
@@ -50,7 +50,18 @@ void main() {
test('describeWebUsbPort returns chooser label when no usb ids exist', () {
expect(
describeWebUsbPort(vendorId: null, productId: null),
usbRequestPortLabel,
'Choose USB Device',
);
});
test('describeWebUsbPort uses caller-provided chooser label', () {
expect(
describeWebUsbPort(
vendorId: null,
productId: null,
requestPortLabel: 'Select a USB device',
),
'Select a USB device',
);
});