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

Function TestBuildReadArgs_CodexCLI

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

Source from the content-addressed store, hash-verified

534}
535
536func TestBuildReadArgs_CodexCLI(t *testing.T) {
537 sess := mockSession("codex/0.1", codexCLITools)
538 args := BuildReadArguments(sess, "read_file", "/tmp/test.txt")
539 if p := args["path"]; p != "/tmp/test.txt" {
540 t.Errorf("expected path=/tmp/test.txt, got %v", args)
541 }
542}
543
544func TestBuildReadArgs_Cursor(t *testing.T) {
545 sess := mockSession("cursor/0.44", cursorTools)

Callers

nothing calls this directly

Calls 2

mockSessionFunction · 0.85
BuildReadArgumentsFunction · 0.85

Tested by

no test coverage detected