| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <!-- | 2 <!-- |
| 3 Copyright (c) 2013 The Chromium Authors. All rights reserved. | 3 Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 4 Use of this source code is governed by a BSD-style license that can be | 4 Use of this source code is governed by a BSD-style license that can be |
| 5 found in the LICENSE file. | 5 found in the LICENSE file. |
| 6 --> | 6 --> |
| 7 | 7 |
| 8 <link rel="import" href="/tracing/base/iteration_helpers.html"> | 8 <link rel="import" href="/tracing/base/utils.html"> |
| 9 <link rel="import" href="/tracing/core/test_utils.html"> | 9 <link rel="import" href="/tracing/core/test_utils.html"> |
| 10 <link rel="import" href="/tracing/model/event_set.html"> | 10 <link rel="import" href="/tracing/model/event_set.html"> |
| 11 <link rel="import" href="/tracing/ui/timeline_track_view.html"> | 11 <link rel="import" href="/tracing/ui/timeline_track_view.html"> |
| 12 | 12 |
| 13 <script> | 13 <script> |
| 14 'use strict'; | 14 'use strict'; |
| 15 | 15 |
| 16 tr.b.unittest.testSuite(function() { | 16 tr.b.unittest.testSuite(function() { |
| 17 const ColorScheme = tr.b.ColorScheme; | 17 const ColorScheme = tr.b.ColorScheme; |
| 18 const Counter = tr.model.Counter; | 18 const Counter = tr.model.Counter; |
| (...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 196 | 196 |
| 197 // After last sample with bad range. | 197 // After last sample with bad range. |
| 198 sel = new tr.model.EventSet(); | 198 sel = new tr.model.EventSet(); |
| 199 track.addClosestEventToSelection(10, 1, 0, 0, sel); | 199 track.addClosestEventToSelection(10, 1, 0, 0, sel); |
| 200 assert.strictEqual(sel.length, 0); | 200 assert.strictEqual(sel.length, 0); |
| 201 }); | 201 }); |
| 202 }); | 202 }); |
| 203 }); | 203 }); |
| 204 </script> | 204 </script> |
| 205 | 205 |
| OLD | NEW |