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

Unified 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, 2 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: tools/telemetry/unittest_data/discoverable_classes/another_discover_dummyclass.py
diff --git a/tools/telemetry/unittest_data/discoverable_classes/another_discover_dummyclass.py b/tools/telemetry/unittest_data/discoverable_classes/another_discover_dummyclass.py
index dc058fa60287035168eb441064f26bd0eee3a1df..b7413ca1adc3dd42e1e55265612c126b32f9ceae 100644
--- a/tools/telemetry/unittest_data/discoverable_classes/another_discover_dummyclass.py
+++ b/tools/telemetry/unittest_data/discoverable_classes/another_discover_dummyclass.py
@@ -2,7 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-"""Another dummy exception subclasses used by core/discover.py's unit tests."""
+"""More dummy exception subclasses used by core/discover.py's unit tests."""
# Import class instead of module explicitly so that inspect.getmembers() returns
# two Exception subclasses in this current file.
@@ -12,5 +12,13 @@
from discoverable_classes.discover_dummyclass import DummyException
-class AnotherDummyException(DummyException):
+class _PrivateDummyException(DummyException):
+ pass
+
+
+class DummyExceptionImpl1(_PrivateDummyException):
+ pass
+
+
+class DummyExceptionImpl2(_PrivateDummyException):
pass

Powered by Google App Engine
This is Rietveld 408576698