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

Unified Diff: tools/telemetry/telemetry/value/summarizable_unittest.py

Issue 1647513002: Delete tools/telemetry. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
« no previous file with comments | « tools/telemetry/telemetry/value/summarizable.py ('k') | tools/telemetry/telemetry/value/summary.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/telemetry/telemetry/value/summarizable_unittest.py
diff --git a/tools/telemetry/telemetry/value/summarizable_unittest.py b/tools/telemetry/telemetry/value/summarizable_unittest.py
deleted file mode 100644
index eb49290f1373e85c80865c10e8ac93c3d985f8e9..0000000000000000000000000000000000000000
--- a/tools/telemetry/telemetry/value/summarizable_unittest.py
+++ /dev/null
@@ -1,30 +0,0 @@
-# Copyright 2015 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
-
-from telemetry.value import summarizable
-
-class SummarizableTest(unittest.TestCase):
-
- def testAsDictWithoutImprovementDirection(self):
- value = summarizable.SummarizableValue(
- None, 'foo', 'bars', important=False, description='desc',
- tir_label=None, improvement_direction=None)
-
- self.assertNotIn('improvement_direction', value.AsDict())
-
- def testAsDictWithoutBaseClassEntries(self):
- value = summarizable.SummarizableValue(
- None, 'foo', 'bars', important=False, description='desc',
- tir_label=None, improvement_direction=None)
-
- self.assertFalse(value.AsDictWithoutBaseClassEntries())
-
- def testAsDictWithInvalidImprovementDirection(self):
- # TODO(eakuefner): Remove this test when we check I.D. in constructor
- value = summarizable.SummarizableValue(
- None, 'foo', 'bars', important=False, description='desc',
- tir_label=None, improvement_direction='baz')
-
- self.assertNotIn('improvement_direction', value.AsDict())
« no previous file with comments | « tools/telemetry/telemetry/value/summarizable.py ('k') | tools/telemetry/telemetry/value/summary.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698