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..9d6b9848fa0e95b0022edba1f3d7b1b55b5bfd8d |
--- /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_base |
+import pyauto_tracing |
+import pyauto |
+ |
+class TracingTest(tracing_base.TracingTestBase): |
+ def testCanGetTraceData(self): |
+ self._BeginTracing() |
+ model = self._EndTracing() |
+ self.assertEqual(1, len(model.findAllThreadsNamed("CrBrowserMain"))) |
+ |
+if __name__ == '__main__': |
+ pyauto_tracing.Main() |