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

Unified Diff: tools/telemetry/telemetry/core/timeline/bounds_unittest.py

Issue 332213003: Move telemetry/core/timeline and timeline_data to telemetry/timeline. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 6 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/telemetry/core/timeline/bounds_unittest.py
diff --git a/tools/telemetry/telemetry/core/timeline/bounds_unittest.py b/tools/telemetry/telemetry/core/timeline/bounds_unittest.py
deleted file mode 100644
index 9cce4de1edd880182a99133827dff518d2b40e4a..0000000000000000000000000000000000000000
--- a/tools/telemetry/telemetry/core/timeline/bounds_unittest.py
+++ /dev/null
@@ -1,20 +0,0 @@
-# Copyright 2014 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.core.timeline import bounds
-
-
-class BoundsTests(unittest.TestCase):
-
- def testGetOverlap(self):
- # Non overlap cases.
- self.assertEquals(0, bounds.Bounds.GetOverlap(10, 20, 30, 40))
- self.assertEquals(0, bounds.Bounds.GetOverlap(30, 40, 10, 20))
- # Overlap cases.
- self.assertEquals(10, bounds.Bounds.GetOverlap(10, 30, 20, 40))
- self.assertEquals(10, bounds.Bounds.GetOverlap(20, 40, 10, 30))
- # Inclusive cases.
- self.assertEquals(10, bounds.Bounds.GetOverlap(10, 40, 20, 30))
- self.assertEquals(10, bounds.Bounds.GetOverlap(20, 30, 10, 40))
« no previous file with comments | « tools/telemetry/telemetry/core/timeline/bounds.py ('k') | tools/telemetry/telemetry/core/timeline/counter.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698