Commit Graph

55 Commits (e912ebde7a433da3956ccd6056cc8df669b26763)

Author SHA1 Message Date
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
Shirou WAKAYAMA 8db78af11e process: CPUPercent delta should be changed by CPUNums. 10 years ago
Shirou WAKAYAMA 2093d43c2a process: implement cpu_percent on linux. 10 years ago
Shirou WAKAYAMA 13cd195a7e change package name. 10 years ago
Shirou WAKAYAMA a4671fcc2a move subdirectories. refer to issue #24 10 years ago