OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 import unittest | 5 import unittest |
6 | 6 |
7 from telemetry.core.timeline import model | 7 from telemetry.timeline import model |
8 from telemetry.core.backends.chrome import tracing_timeline_data | 8 from telemetry.timeline import tracing_timeline_data |
9 | 9 |
10 class TimelineModelUnittest(unittest.TestCase): | 10 class TimelineModelUnittest(unittest.TestCase): |
11 def testEmptyImport(self): | 11 def testEmptyImport(self): |
12 model.TimelineModel( | 12 model.TimelineModel( |
13 tracing_timeline_data.TracingTimelineData([])) | 13 tracing_timeline_data.TracingTimelineData([])) |
14 model.TimelineModel( | 14 model.TimelineModel( |
15 tracing_timeline_data.TracingTimelineData('')) | 15 tracing_timeline_data.TracingTimelineData('')) |
OLD | NEW |