| OLD | NEW | 
|---|
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be | 
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. | 
| 4 | 4 | 
| 5 from profile_chrome import agents_unittest | 5 from profile_chrome import agents_unittest | 
| 6 from profile_chrome import ddms_tracing_agent | 6 from profile_chrome import ddms_tracing_agent | 
|  | 7 from systrace import decorators | 
| 7 | 8 | 
| 8 | 9 | 
| 9 class DdmsAgentTest(agents_unittest.BaseAgentTest): | 10 class DdmsAgentTest(agents_unittest.BaseAgentTest): | 
|  | 11   @decorators.NeverRunTest | 
| 10   def testTracing(self): | 12   def testTracing(self): | 
| 11     agent = ddms_tracing_agent.DdmsAgent(self.device, self.package_info) | 13     agent = ddms_tracing_agent.DdmsAgent(self.device, self.package_info) | 
| 12 | 14 | 
| 13     try: | 15     try: | 
| 14       agent.StartAgentTracing(None) | 16       agent.StartAgentTracing(None) | 
| 15     finally: | 17     finally: | 
| 16       agent.StopAgentTracing() | 18       agent.StopAgentTracing() | 
| 17 | 19 | 
| 18     result = agent.GetResults() | 20     result = agent.GetResults() | 
| 19     self.assertTrue(result.raw_data.startswith('*version')) | 21     self.assertTrue(result.raw_data.startswith('*version')) | 
| OLD | NEW | 
|---|