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

Function Test_NewACPConversation

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

Source from the content-addressed store, hash-verified

178}
179
180func Test_NewACPConversation(t *testing.T) {
181 mClock := quartz.NewMock(t)
182 mock := newMockAgentIO()
183
184 conv := acpio.NewACPConversation(context.Background(), mock, nil, nil, nil, mClock)
185
186 require.NotNil(t, conv)
187}
188
189func Test_Messages_InitiallyEmpty(t *testing.T) {
190 mClock := quartz.NewMock(t)

Callers

nothing calls this directly

Calls 2

NewACPConversationFunction · 0.92
newMockAgentIOFunction · 0.85

Tested by

no test coverage detected