OLD | NEW |
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/base/iteration_helpers.html"> | |
9 <link rel="import" href="/tracing/base/scalar.html"> | 8 <link rel="import" href="/tracing/base/scalar.html"> |
10 <link rel="import" href="/tracing/base/unit.html"> | 9 <link rel="import" href="/tracing/base/unit.html"> |
| 10 <link rel="import" href="/tracing/base/utils.html"> |
11 <link rel="import" href="/tracing/ui/analysis/memory_dump_sub_view_test_utils.ht
ml"> | 11 <link rel="import" href="/tracing/ui/analysis/memory_dump_sub_view_test_utils.ht
ml"> |
12 <link rel="import" href="/tracing/ui/analysis/memory_dump_sub_view_util.html"> | 12 <link rel="import" href="/tracing/ui/analysis/memory_dump_sub_view_util.html"> |
13 <link rel="import" href="/tracing/ui/base/dom_helpers.html"> | 13 <link rel="import" href="/tracing/ui/base/dom_helpers.html"> |
14 <link rel="import" href="/tracing/ui/base/table.html"> | 14 <link rel="import" href="/tracing/ui/base/table.html"> |
15 | 15 |
16 <script> | 16 <script> |
17 'use strict'; | 17 'use strict'; |
18 | 18 |
19 tr.b.unittest.testSuite(function() { | 19 tr.b.unittest.testSuite(function() { |
20 const TitleColumn = tr.ui.analysis.TitleColumn; | 20 const TitleColumn = tr.ui.analysis.TitleColumn; |
(...skipping 1209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1230 }); | 1230 }); |
1231 assert.deepEqual(Object.keys(cells), ['a', 'b', 'd']); | 1231 assert.deepEqual(Object.keys(cells), ['a', 'b', 'd']); |
1232 checkSizeNumericFields( | 1232 checkSizeNumericFields( |
1233 cells.a, mockColumn, [9, undefined, undefined, undefined]); | 1233 cells.a, mockColumn, [9, undefined, undefined, undefined]); |
1234 checkSizeNumericFields(cells.b, mockColumn, [314, 159, undefined, 265]); | 1234 checkSizeNumericFields(cells.b, mockColumn, [314, 159, undefined, 265]); |
1235 checkSizeNumericFields( | 1235 checkSizeNumericFields( |
1236 cells.d, mockColumn, [undefined, undefined, undefined, 0]); | 1236 cells.d, mockColumn, [undefined, undefined, undefined, 0]); |
1237 }); | 1237 }); |
1238 }); | 1238 }); |
1239 </script> | 1239 </script> |
OLD | NEW |