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

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: Use argument slices rather than explicit argument lists where appropriate. 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..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()

Powered by Google App Engine
This is Rietveld 408576698