MCPcopy Create free account
hub / github.com/chainreactors/EvilProxy / TestBuildReadArgs_ClaudeCode

Function TestBuildReadArgs_ClaudeCode

internal/sessions/transfer_test.go:528–534  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

526}
527
528func TestBuildReadArgs_ClaudeCode(t *testing.T) {
529 sess := mockSession("claude-code/1.0", claudeCodeTools)
530 args := BuildReadArguments(sess, "Read", "/tmp/test.txt")
531 if p := args["file_path"]; p != "/tmp/test.txt" {
532 t.Errorf("expected file_path=/tmp/test.txt, got %v", args)
533 }
534}
535
536func TestBuildReadArgs_CodexCLI(t *testing.T) {
537 sess := mockSession("codex/0.1", codexCLITools)

Callers

nothing calls this directly

Calls 2

mockSessionFunction · 0.85
BuildReadArgumentsFunction · 0.85

Tested by

no test coverage detected