From 94a55deb86184bd1f8250be998964b1af32b453b Mon Sep 17 00:00:00 2001 From: Krzysztof kuhy Rudnicki Date: Tue, 10 Nov 2026 19:39:51 +0100 Subject: [PATCH] Keep dropout fixture out of importer tests Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01WzxdWXcjiPpgRfxzrRfoky --- .../workout_app/test/services/_runnerup_fake_dufs.dart | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/stronglift_replacement/workout_app/test/services/_runnerup_fake_dufs.dart b/stronglift_replacement/workout_app/test/services/_runnerup_fake_dufs.dart index f3b7d6a..8725e11 100644 --- a/stronglift_replacement/workout_app/test/services/_runnerup_fake_dufs.dart +++ b/stronglift_replacement/workout_app/test/services/_runnerup_fake_dufs.dart @@ -13,10 +13,16 @@ import 'package:workout_app/services/tcx_codec.dart'; const String kFixtureDir = '../../screen_locker/tests/fixtures/run_tcx'; +/// The GPS-dropout export: shares the folder for the golden twin, but is not +/// one of the three exports these importer and backup tests count on. +const String kDropoutFixture = 'RunnerUp_2026-11-09-18-00-00_Running.tcx'; + /// The three golden exports, by file name. Map fixtureTcx() => { for (final f in Directory(kFixtureDir).listSync().whereType()) - if (f.path.endsWith('.tcx')) f.uri.pathSegments.last: f.readAsBytesSync(), + if (f.path.endsWith('.tcx') && + f.uri.pathSegments.last != kDropoutFixture) + f.uri.pathSegments.last: f.readAsBytesSync(), }; final DufsCredentials kLogin = DufsCredentials(