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

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: 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 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_test
9 import pyauto_tracing
10 import pyauto
11
12 class TracingTest(tracing_test.TracingTest):
13 def testCanGetTraceData(self):
14 self.BeginTracing()
nduca 2012/07/20 07:13:13 naming convention! here and throughout module_nam
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