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

Side by Side Diff: tools/telemetry/unittest_data/discoverable_classes/another_discover_dummyclass.py

Issue 23455049: [telemetry] Make single-benchmark measurements protected and undiscoverable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update discover unit tests. Created 7 years, 1 month 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
1 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 """Another dummy exception subclasses used by core/discover.py's unit tests.""" 5 """More dummy exception subclasses used by core/discover.py's unit tests."""
6 6
7 # Import class instead of module explicitly so that inspect.getmembers() returns 7 # Import class instead of module explicitly so that inspect.getmembers() returns
8 # two Exception subclasses in this current file. 8 # two Exception subclasses in this current file.
9 # Suppress complaints about unable to import class. The directory path is 9 # Suppress complaints about unable to import class. The directory path is
10 # added at runtime by telemetry test runner. 10 # added at runtime by telemetry test runner.
11 #pylint: disable=F0401 11 #pylint: disable=F0401
12 from discoverable_classes.discover_dummyclass import DummyException 12 from discoverable_classes.discover_dummyclass import DummyException
13 13
14 14
15 class AnotherDummyException(DummyException): 15 class _PrivateDummyException(DummyException):
16 pass 16 pass
17
18
19 class DummyExceptionImpl1(_PrivateDummyException):
20 pass
21
22
23 class DummyExceptionImpl2(_PrivateDummyException):
24 pass
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698