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

Unified Diff: tools/telemetry/telemetry/core/chrome/timeline_event_unittest.py

Issue 12278015: [Telemetry] Reorganize everything. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Re-add shebangs. Created 7 years, 10 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/chrome/timeline_event_unittest.py
diff --git a/tools/telemetry/telemetry/timeline_event_unittest.py b/tools/telemetry/telemetry/core/chrome/timeline_event_unittest.py
similarity index 72%
rename from tools/telemetry/telemetry/timeline_event_unittest.py
rename to tools/telemetry/telemetry/core/chrome/timeline_event_unittest.py
index 94d59c14960ae1272d660b38a547f703f9983be1..0323806abb6f51424d83d620efb255ec31437b88 100644
--- a/tools/telemetry/telemetry/timeline_event_unittest.py
+++ b/tools/telemetry/telemetry/core/chrome/timeline_event_unittest.py
@@ -4,17 +4,17 @@
import unittest
-from telemetry.timeline_event import TimelineEvent
+from telemetry.core.chrome import timeline_event
class TimelineEventTest(unittest.TestCase):
def testChildrenLogic(self):
# [ top ]
# [ a ] [ b ]
# [x]
- top = TimelineEvent('top', 0, 10)
- a = TimelineEvent('a', 1, 2)
- x = TimelineEvent('x', 1.5, 0.25)
- b = TimelineEvent('b', 5, 2)
+ top = timeline_event.TimelineEvent('top', 0, 10)
+ a = timeline_event.TimelineEvent('a', 1, 2)
+ x = timeline_event.TimelineEvent('x', 1.5, 0.25)
+ b = timeline_event.TimelineEvent('b', 5, 2)
top.children.extend([a, b])
a.children.append(x)
« no previous file with comments | « tools/telemetry/telemetry/core/chrome/timeline_event.py ('k') | tools/telemetry/telemetry/core/chrome/timeline_model.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698