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

Function TestBuildReadArgs_Cursor

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

Source from the content-addressed store, hash-verified

542}
543
544func TestBuildReadArgs_Cursor(t *testing.T) {
545 sess := mockSession("cursor/0.44", cursorTools)
546 args := BuildReadArguments(sess, "read_file", "/tmp/test.txt")
547 if p := args["path"]; p != "/tmp/test.txt" {
548 t.Errorf("expected path=/tmp/test.txt, got %v", args)
549 }
550}
551
552func TestBuildWriteArgs_ClaudeCode(t *testing.T) {
553 sess := mockSession("claude-code/1.0", claudeCodeTools)

Callers

nothing calls this directly

Calls 2

mockSessionFunction · 0.85
BuildReadArgumentsFunction · 0.85

Tested by

no test coverage detected