Commit Graph

2 Commits (ddc9f5a41c52d0a7c52d48ab27e94b46220a7990)

Author SHA1 Message Date
Shirou WAKAYAMA 5a09d40f6b [process]darwin: expected ps file was changed. 9 years ago
Shirou WAKAYAMA fc513b6f9a proces[darwin]: change exec.Command to interface to enable mocking.
Add common.invoker interface to mock exec.Command. common.FakeInvoker returns
expected file if exists instead of invoke exec.Command.
Currenly, mocking is enabled only process.Pids(). I will expand to other funcs incrementally.
10 years ago