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

Side by Side Diff: tracing/tracing/ui/analysis/alert_sub_view_test.html

Issue 2995843002: Merge iteration_helpers into utils.html. (Closed)
Patch Set: Created 3 years, 4 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/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/model/model.html"> 11 <link rel="import" href="/tracing/model/model.html">
12 <link rel="import" href="/tracing/ui/analysis/analysis_view.html"> 12 <link rel="import" href="/tracing/ui/analysis/analysis_view.html">
13 <link rel="import" href="/tracing/ui/base/deep_utils.html"> 13 <link rel="import" href="/tracing/ui/base/deep_utils.html">
14 14
15 <script> 15 <script>
16 'use strict'; 16 'use strict';
17 17
18 tr.b.unittest.testSuite(function() { 18 tr.b.unittest.testSuite(function() {
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 const subView = document.createElement('tr-ui-a-alert-sub-view'); 73 const subView = document.createElement('tr-ui-a-alert-sub-view');
74 subView.selection = new tr.model.EventSet([alert1, alert2]); 74 subView.selection = new tr.model.EventSet([alert1, alert2]);
75 assert.isTrue(subView.relatedEventsToHighlight.equals( 75 assert.isTrue(subView.relatedEventsToHighlight.equals(
76 new tr.model.EventSet([ 76 new tr.model.EventSet([
77 tr.b.getOnlyElement(alert1.associatedEvents), 77 tr.b.getOnlyElement(alert1.associatedEvents),
78 tr.b.getOnlyElement(alert2.associatedEvents) 78 tr.b.getOnlyElement(alert2.associatedEvents)
79 ]))); 79 ])));
80 }); 80 });
81 }); 81 });
82 </script> 82 </script>
OLDNEW
« no previous file with comments | « tracing/tracing/ui/analysis/alert_sub_view.html ('k') | tracing/tracing/ui/analysis/analysis_sub_view.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698