| Index: systrace/profile_chrome/atrace_tracing_agent_unittest.py
|
| diff --git a/systrace/profile_chrome/atrace_tracing_agent_unittest.py b/systrace/profile_chrome/atrace_tracing_agent_unittest.py
|
| index 8460e9b491bd8b63d4cab7a82a79d3b3bec9c2d7..8ec9ebca8b42de2637eeebe347012cb188209725 100644
|
| --- a/systrace/profile_chrome/atrace_tracing_agent_unittest.py
|
| +++ b/systrace/profile_chrome/atrace_tracing_agent_unittest.py
|
| @@ -14,14 +14,13 @@ class AtraceAgentTest(agents_unittest.BaseAgentTest):
|
| assert 'gfx' in ' '.join(categories)
|
|
|
| def testTracing(self):
|
| - categories = ['gfx', 'input', 'view']
|
| + categories = 'gfx,input,view'
|
| ring_buffer = False
|
| agent = atrace_tracing_agent.AtraceAgent(self.device,
|
| - categories,
|
| ring_buffer)
|
|
|
| try:
|
| - agent.StartAgentTracing(None, None)
|
| + agent.StartAgentTracing(atrace_tracing_agent.AtraceConfig(categories))
|
| finally:
|
| agent.StopAgentTracing()
|
| result = agent.GetResults()
|
|
|