Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/coder/agentapi
/ newMockAgentIO
Function
newMockAgentIO
x/acpio/acp_conversation_test.go:108–110 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
106
}
107
108
func
newMockAgentIO() *mockAgentIO {
109
return
&mockAgentIO{}
110
}
111
112
func
(m *mockAgentIO) Write(data []byte) (int, error) {
113
// Signal that write has started
Callers
14
Test_NewACPConversation
Function · 0.85
Test_Messages_InitiallyEmpty
Function · 0.85
Test_Status_InitiallyStable
Function · 0.85
Test_Send_AddsUserMessage
Function · 0.85
Test_Send_RejectsEmptyMessage
Function · 0.85
Test_Send_RejectsWhitespace
Function · 0.85
Test_Send_RejectsDuplicateSend
Function · 0.85
Test_Status_ChangesWhileProcessing
Function · 0.85
Test_Text_ReturnsStreamingContent
Function · 0.85
Test_Emitter_CalledOnChanges
Function · 0.85
Test_InitialPrompt_SentOnStart
Function · 0.85
Test_Messages_AreCopied
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected