Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 #!/usr/bin/env python | |
| 2 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | |
| 3 # Use of this source code is governed by a BSD-style license that can be | |
| 4 # found in the LICENSE file. | |
| 5 | |
| 6 import unittest | |
| 7 | |
| 8 import tracing_test | |
| 9 import pyauto_tracing | |
| 10 import pyauto | |
| 11 | |
| 12 class TracingTest(tracing_test.TracingTest): | |
| 13 def testCanGetTraceData(self): | |
| 14 self.BeginTracing() | |
|
nduca
2012/07/20 07:13:13
naming convention! here and throughout
module_nam
| |
| 15 model = self.EndTracing() | |
| 16 self.assertEqual(1, len(model.findAllThreadsNamed("CrBrowserMain"))) | |
| 17 | |
| 18 if __name__ == '__main__': | |
| 19 pyauto_tracing.Main() | |
| OLD | NEW |