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

Side by Side Diff: dashboard/dashboard/elements/chart-container-test.html

Issue 2767263002: . Base URL: https://github.com/catapult-project/catapult.git@master
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 2015 The Chromium Authors. All rights reserved. 3 Copyright 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 <script src="/jquery/jquery-2.1.4.min.js"></script> 8 <script src="/jquery/jquery-2.1.4.min.js"></script>
9 <script src="/flot/jquery.flot.min.js"></script> 9 <script src="/flot/jquery.flot.min.js"></script>
10 <script src="/flot/jquery.flot.crosshair.min.js"></script> 10 <script src="/flot/jquery.flot.crosshair.min.js"></script>
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 95
96 test('unseletected has displayName', function() { 96 test('unseletected has displayName', function() {
97 testing_common.mockChartJson(dromaeoCharts); 97 testing_common.mockChartJson(dromaeoCharts);
98 var chart = createChart(); 98 var chart = createChart();
99 this.addHTMLOutput(chart); 99 this.addHTMLOutput(chart);
100 chart.addSeriesGroup(dromaeoCharts.graphParams); 100 chart.addSeriesGroup(dromaeoCharts.graphParams);
101 assert.equal(chart.seriesGroupList[0].tests[0].displayName, 'dom'); 101 assert.equal(chart.seriesGroupList[0].tests[0].displayName, 'dom');
102 assert.equal(chart.seriesGroupList[0].tests[1].displayName, 102 assert.equal(chart.seriesGroupList[0].tests[1].displayName,
103 'http___dromaeo.com?dom-attr'); 103 'http___dromaeo.com?dom-attr');
104 }, testOptions); 104 }, testOptions);
105
106 test('alerts displayed', function() {
107 testing_common.mockChartJson(dromaeoCharts);
108 var chart = createChart();
109 this.addHTMLOutput(chart);
110 chart.addSeriesGroup(dromaeoCharts.graphParams);
111 assert.equal(chart.seriesGroupList[0].tests[0].displayName, 'dom');
112 assert.equal(chart.seriesGroupList[0].tests[1].displayName,
113 'http___dromaeo.com?dom-attr');
114 }, testOptions);
105 }); 115 });
106 </script> 116 </script>
OLDNEW
« no previous file with comments | « dashboard/dashboard/elements/chart-container.html ('k') | dashboard/dashboard/static/testdata/dromaeo-charts.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698