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

Unified Diff: tools/telemetry/telemetry/web_components/ui/bar_chart_unittest.js

Issue 218503002: Remove telemetry.web_components.ui charts in favor of tvcm.ui charts (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove d3 Created 6 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 side-by-side diff with in-line comments
Download patch
Index: tools/telemetry/telemetry/web_components/ui/bar_chart_unittest.js
diff --git a/tools/telemetry/telemetry/web_components/ui/bar_chart_unittest.js b/tools/telemetry/telemetry/web_components/ui/bar_chart_unittest.js
deleted file mode 100644
index d5f3012a6e5c9e580c3419c5784591e0c816bd4d..0000000000000000000000000000000000000000
--- a/tools/telemetry/telemetry/web_components/ui/bar_chart_unittest.js
+++ /dev/null
@@ -1,37 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-'use strict';
-
-tvcm.require('telemetry.web_components.ui.bar_chart');
-
-tvcm.testSuite('telemetry.web_components.ui.bar_chart_unittest', function() {
- test('singleSeries', function() {
- var chart = new telemetry.web_components.ui.BarChart();
- chart.width = 400;
- chart.height = 200;
- chart.chartTitle = 'Chart title';
- var data = [
- {label: 'a', value: 100},
- {label: 'b', value: 40},
- {label: 'c', value: 20}
- ];
- chart.setDataAndXLabelKey(data, 'label');
- this.addHTMLOutput(chart);
- });
-
- test('twoSeries', function() {
- var chart = new telemetry.web_components.ui.BarChart();
- chart.width = 400;
- chart.height = 200;
- chart.chartTitle = 'Chart title';
- var data = [
- {label: 'a', value1: 100, value2: 50},
- {label: 'b', value1: 75, value2: 10},
- {label: 'c', value1: 50, value2: 125}
- ];
- chart.setDataAndXLabelKey(data, 'label');
- this.addHTMLOutput(chart);
- });
-});
« no previous file with comments | « tools/telemetry/telemetry/web_components/ui/bar_chart.js ('k') | tools/telemetry/telemetry/web_components/ui/chart_base.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698