OLD | NEW |
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 Loading... |
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> |
OLD | NEW |