Chromium Code Reviews| Index: chrome/test/functional/tracing/tracing_smoke_test.py |
| diff --git a/chrome/test/functional/tracing/tracing_smoke_test.py b/chrome/test/functional/tracing/tracing_smoke_test.py |
| new file mode 100755 |
| index 0000000000000000000000000000000000000000..de025c3656c5ab73f9361bf0f87b47d4c5d73709 |
| --- /dev/null |
| +++ b/chrome/test/functional/tracing/tracing_smoke_test.py |
| @@ -0,0 +1,19 @@ |
| +#!/usr/bin/env python |
| +# Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| +# Use of this source code is governed by a BSD-style license that can be |
| +# found in the LICENSE file. |
| + |
| +import unittest |
| + |
| +import tracing_test |
| +import pyauto_tracing |
| +import pyauto |
| + |
| +class TracingTest(tracing_test.TracingTest): |
| + def testCanGetTraceData(self): |
| + self.BeginTracing() |
|
nduca
2012/07/20 07:13:13
naming convention! here and throughout
module_nam
|
| + model = self.EndTracing() |
| + self.assertEqual(1, len(model.findAllThreadsNamed("CrBrowserMain"))) |
| + |
| +if __name__ == '__main__': |
| + pyauto_tracing.Main() |