DescriptionTelemetry: Mock out subprocess in VTune profiler unit test.
Instead of using simple_mock.MockObject for mocking out subprocess, this CL introduces a MockSubprocess class which is more flexible in handling calls. This way we can avoid the problem of having to know in advance how many calls the profiler will make to subprocess.
BUG=375231
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=272023
Patch Set 1 #Patch Set 2 : Mock out subprocess instead of profiler #Messages
Total messages: 10 (0 generated)
|