Chromium Code Reviews| Index: systrace/profile_chrome/perf_tracing_agent_unittest.py |
| diff --git a/systrace/profile_chrome/perf_tracing_agent_unittest.py b/systrace/profile_chrome/perf_tracing_agent_unittest.py |
| index cd90b3691744ee7cd8982fc8279fe830d689f252..31c10095c051172b93856825a8b43147e7b306b3 100644 |
| --- a/systrace/profile_chrome/perf_tracing_agent_unittest.py |
| +++ b/systrace/profile_chrome/perf_tracing_agent_unittest.py |
| @@ -7,9 +7,11 @@ import json |
| from profile_chrome import agents_unittest |
| from profile_chrome import perf_tracing_agent |
| from profile_chrome import ui |
| +from systrace import decorators |
| class PerfProfilerAgentTest(agents_unittest.BaseAgentTest): |
| + @decorators.ClientOnlyTest |
| def testGetCategories(self): |
| if not perf_tracing_agent.PerfProfilerAgent.IsSupported(): |
| return |
| @@ -17,6 +19,9 @@ class PerfProfilerAgentTest(agents_unittest.BaseAgentTest): |
| perf_tracing_agent.PerfProfilerAgent.GetCategories(self.device) |
| assert 'cycles' in ' '.join(categories) |
| + # TODO: Try enabling this test for the SimpleperfProfilerAgent, which will |
|
Sami
2016/09/09 10:28:25
nit: User name missing.
washingtonp
2016/09/09 18:07:29
Done.
|
| + # be added later. |
| + @decorators.Disabled |
| def testTracing(self): |
| if not perf_tracing_agent.PerfProfilerAgent.IsSupported(): |
| return |