From 01bf95c98eddd4dc41235eff6e7ead74de5029e5 Mon Sep 17 00:00:00 2001 From: Winston Lowe Date: Tue, 12 May 2026 18:21:18 -0700 Subject: [PATCH] fix: Implement disconnect method in _FakeMeshCoreConnector for TCP and USB flow tests --- test/screens/tcp_flow_test.dart | 6 ++++++ test/screens/usb_flow_test.dart | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/test/screens/tcp_flow_test.dart b/test/screens/tcp_flow_test.dart index 1d8174c8..5f7793c6 100644 --- a/test/screens/tcp_flow_test.dart +++ b/test/screens/tcp_flow_test.dart @@ -38,6 +38,12 @@ class _FakeMeshCoreConnector extends MeshCoreConnector { lastHost = host; lastPort = port; } + + @override + Future disconnect({ + bool manual = true, + bool skipBleDeviceDisconnect = false, + }) async {} } Widget _buildTestApp({ diff --git a/test/screens/usb_flow_test.dart b/test/screens/usb_flow_test.dart index 16e5a951..c83490fb 100644 --- a/test/screens/usb_flow_test.dart +++ b/test/screens/usb_flow_test.dart @@ -73,6 +73,12 @@ class _FakeMeshCoreConnector extends MeshCoreConnector { void setUsbFallbackDeviceName(String label) { fallbackDeviceName = label; } + + @override + Future disconnect({ + bool manual = true, + bool skipBleDeviceDisconnect = false, + }) async {} } Widget _buildTestApp({