MCPcopy Create free account
hub / github.com/MiniCodeMonkey/chief / TestManagerGetRunningPRDs

Function TestManagerGetRunningPRDs

internal/loop/manager_test.go:161–169  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

159}
160
161func TestManagerGetRunningPRDs(t *testing.T) {
162 m := NewManager(10, testProvider)
163
164 // Initially no running PRDs
165 running := m.GetRunningPRDs()
166 if len(running) != 0 {
167 t.Errorf("expected 0 running PRDs, got %d", len(running))
168 }
169}
170
171func TestManagerGetRunningCount(t *testing.T) {
172 m := NewManager(10, testProvider)

Callers

nothing calls this directly

Calls 2

GetRunningPRDsMethod · 0.95
NewManagerFunction · 0.85

Tested by

no test coverage detected