MCPcopy Create free account
hub / github.com/coder/agentapi / Test_Status_InitiallyStable

Function Test_Status_InitiallyStable

x/acpio/acp_conversation_test.go:199–207  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

197}
198
199func Test_Status_InitiallyStable(t *testing.T) {
200 mClock := quartz.NewMock(t)
201 mock := newMockAgentIO()
202 conv := acpio.NewACPConversation(context.Background(), mock, nil, nil, nil, mClock)
203
204 status := conv.Status()
205
206 assert.Equal(t, screentracker.ConversationStatusStable, status)
207}
208
209func Test_Send_AddsUserMessage(t *testing.T) {
210 mClock := quartz.NewMock(t)

Callers

nothing calls this directly

Calls 3

StatusMethod · 0.95
NewACPConversationFunction · 0.92
newMockAgentIOFunction · 0.85

Tested by

no test coverage detected