Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(825)

Unified Diff: chrome/test/functional/tracing/tracing_smoke_test.py

Issue 10736055: Smoke test for tracing infrastructure in PyAuto (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Smoke test for tracing infrastructure in PyAuto Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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()

Powered by Google App Engine
This is Rietveld 408576698