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

Side by Side Diff: tracing/tracing/ui/analysis/flow_classifier_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
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/ui/analysis/flow_classifier.html"> 10 <link rel="import" href="/tracing/ui/analysis/flow_classifier.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 const newFlowEventEx = tr.c.TestUtils.newFlowEventEx; 16 const newFlowEventEx = tr.c.TestUtils.newFlowEventEx;
17 17
18 test('basic', function() { 18 test('basic', function() {
(...skipping 24 matching lines...) Expand all
43 }); 43 });
44 return events; 44 return events;
45 } 45 }
46 46
47 assert.deepEqual(Array.from(fc.inFlowEvents), [a]); 47 assert.deepEqual(Array.from(fc.inFlowEvents), [a]);
48 assert.deepEqual(Array.from(fc.outFlowEvents), [d]); 48 assert.deepEqual(Array.from(fc.outFlowEvents), [d]);
49 assert.deepEqual(Array.from(fc.internalFlowEvents), [b, c]); 49 assert.deepEqual(Array.from(fc.internalFlowEvents), [b, c]);
50 }); 50 });
51 }); 51 });
52 </script> 52 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698