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

Side by Side Diff: tracing/tracing/ui/base/ui_state_test.html

Issue 2769203003: [tracing] Fix import ordering in all files under tracing/ (Closed)
Patch Set: Created 3 years, 9 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 unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <!-- 2 <!--
3 Copyright (c) 2015 The Chromium Authors. All rights reserved. 3 Copyright (c) 2015 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/core/test_utils.html"> 8 <link rel="import" href="/tracing/core/test_utils.html">
9 <link rel="import" href="/tracing/ui/base/ui_state.html">
9 <link rel="import" href="/tracing/ui/tracks/track.html"> 10 <link rel="import" href="/tracing/ui/tracks/track.html">
10 <link rel="import" href="/tracing/ui/base/ui_state.html">
11 11
12 <script> 12 <script>
13 'use strict'; 13 'use strict';
14 14
15 tr.b.unittest.testSuite(function() { 15 tr.b.unittest.testSuite(function() {
16 var UIState = tr.ui.b.UIState; 16 var UIState = tr.ui.b.UIState;
17 17
18 function FakeModel() { 18 function FakeModel() {
19 this.processes = { 1: { threads: { 2: { stableId: '1.2' } } } }; 19 this.processes = { 1: { threads: { 2: { stableId: '1.2' } } } };
20 } 20 }
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 assert.equal(uiState.location.xWorld, -50125.51231); 90 assert.equal(uiState.location.xWorld, -50125.51231);
91 assert.equal( 91 assert.equal(
92 uiState.location.getContainingTrack(vp).eventContainer.stableId, 92 uiState.location.getContainingTrack(vp).eventContainer.stableId,
93 '1.2'); 93 '1.2');
94 assert.equal(uiState.scaleX, 1.12345); 94 assert.equal(uiState.scaleX, 1.12345);
95 95
96 assert.equal(uiState.toUserFriendlyString(vp), str); 96 assert.equal(uiState.toUserFriendlyString(vp), str);
97 }); 97 });
98 }); 98 });
99 </script> 99 </script>
OLDNEW
« no previous file with comments | « tracing/tracing/ui/base/timing_tool_test.html ('k') | tracing/tracing/ui/extras/about_tracing/profiling_view_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698