(t *testing.T)
| 586 | } |
| 587 | |
| 588 | func TestLifecycleManager_Enqueue_EmptyURL(t *testing.T) { |
| 589 | mgr := newLifecycleManagerForTest() |
| 590 | _, _, err := mgr.Enqueue(context.Background(), &DownloadRequest{ |
| 591 | URL: "", |
| 592 | Path: t.TempDir(), |
| 593 | }) |
| 594 | if err == nil { |
| 595 | t.Fatal("expected error with empty URL") |
| 596 | } |
| 597 | } |
| 598 | |
| 599 | func TestLifecycleManager_Enqueue_EmptyPath(t *testing.T) { |
| 600 | server := newProbeTestServer(t, 2048) |
nothing calls this directly
no test coverage detected