testDevcontainerExecer implements the agentexec.Execer interface for testing.
| 442 | |
| 443 | // testDevcontainerExecer implements the agentexec.Execer interface for testing. |
| 444 | type testDevcontainerExecer struct { |
| 445 | testExePath string |
| 446 | wantArgs string |
| 447 | wantError bool |
| 448 | logFile string |
| 449 | } |
| 450 | |
| 451 | // CommandContext returns a test binary command that simulates devcontainer responses. |
| 452 | func (e *testDevcontainerExecer) CommandContext(ctx context.Context, name string, args ...string) *exec.Cmd { |
nothing calls this directly
no outgoing calls
no test coverage detected