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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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_base
9 import pyauto_tracing
10 import pyauto
11
12 class TracingTest(tracing_base.TracingTestBase):
13 def testCanGetTraceData(self):
14 self._BeginTracing()
15 model = self._EndTracing()
16 self.assertEqual(1, len(model.findAllThreadsNamed("CrBrowserMain")))
17
18 if __name__ == '__main__':
19 pyauto_tracing.Main()
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698