refactor(uploader): drop members only tests used

Tests write serialized queue and watch-memory bytes directly; the app
persists through its coalescing writer. Single-instance hand-over no
longer returns an unused flag.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
This commit is contained in:
Claude committed 2026-10-02 10:31:47 +00:00
1 parent 192fc7dcb3
commit ebe62b77ad
8 files changed
+8 -24

No files matched your search

@@ -26,7 +26,7 @@ public sealed class UploadQueueTests(TestContext context)
queue.IsPaused = true;
var path = Path.Combine(context.CreateTempDirectory(), "uploader-queue.json");
QueueStore.Write(path, QueueStore.Serialize(queue));
File.WriteAllBytes(path, QueueStore.Serialize(queue));
var restored = new UploadQueue();
QueueStore.Load(path, restored);
@@ -67,7 +67,7 @@ public sealed class UploadQueueTests(TestContext context)
queue.Items[1].State = UploadItemState.Hashing;
var path = Path.Combine(context.CreateTempDirectory(), "q.json");
QueueStore.Write(path, QueueStore.Serialize(queue));
File.WriteAllBytes(path, QueueStore.Serialize(queue));
var restored = new UploadQueue();
QueueStore.Load(path, restored);