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

Side by Side Diff: tracing/tracing/value/ui/scalar_context_controller_test.html

Issue 2995843002: Merge iteration_helpers into utils.html. (Closed)
Patch Set: rebase 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
« no previous file with comments | « tracing/tracing/value/ui/collected_related_event_set_span_test.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <!-- 2 <!--
3 Copyright 2016 The Chromium Authors. All rights reserved. 3 Copyright 2016 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/math/range.html"> 8 <link rel="import" href="/tracing/base/math/range.html">
10 <link rel="import" href="/tracing/base/raf.html"> 9 <link rel="import" href="/tracing/base/raf.html">
10 <link rel="import" href="/tracing/base/utils.html">
11 <link rel="import" href="/tracing/value/ui/scalar_context_controller.html"> 11 <link rel="import" href="/tracing/value/ui/scalar_context_controller.html">
12 12
13 <dom-module id="tr-v-ui-scalar-context-controller-mock-host"> 13 <dom-module id="tr-v-ui-scalar-context-controller-mock-host">
14 <template> 14 <template>
15 <tr-v-ui-scalar-context-controller id="controller"> 15 <tr-v-ui-scalar-context-controller id="controller">
16 </tr-v-ui-scalar-context-controller> 16 </tr-v-ui-scalar-context-controller>
17 <content></content> 17 <content></content>
18 </template> 18 </template>
19 </dom-module> 19 </dom-module>
20 20
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 303
304 c.onScalarSpanRemoved('G2', s2); 304 c.onScalarSpanRemoved('G2', s2);
305 c.expectContextUpdatedEventForTesting(['G2']); 305 c.expectContextUpdatedEventForTesting(['G2']);
306 assert.isTrue(c.getContext('G1').range.equals( 306 assert.isTrue(c.getContext('G1').range.equals(
307 tr.b.math.Range.fromExplicitRange(1, 3))); 307 tr.b.math.Range.fromExplicitRange(1, 3)));
308 assert.sameMembers(Array.from(c.getContext('G1').spans), [s1, s3, s4]); 308 assert.sameMembers(Array.from(c.getContext('G1').spans), [s1, s3, s4]);
309 assert.isUndefined(c.getContext('G2')); 309 assert.isUndefined(c.getContext('G2'));
310 }); 310 });
311 }); 311 });
312 </script> 312 </script>
OLDNEW
« no previous file with comments | « tracing/tracing/value/ui/collected_related_event_set_span_test.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698