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

Unified Diff: tools/telemetry/telemetry/web_components/ui/line_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/line_chart_unittest.js
diff --git a/tools/telemetry/telemetry/web_components/ui/line_chart_unittest.js b/tools/telemetry/telemetry/web_components/ui/line_chart_unittest.js
deleted file mode 100644
index f81b2f522e4d32e5150c0342ade4d9c27f163a75..0000000000000000000000000000000000000000
--- a/tools/telemetry/telemetry/web_components/ui/line_chart_unittest.js
+++ /dev/null
@@ -1,39 +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.line_chart');
-
-tvcm.testSuite('telemetry.web_components.ui.line_chart_unittest', function() {
- test('singleSeries', function() {
- var chart = new telemetry.web_components.ui.LineChart();
- chart.width = 400;
- chart.height = 200;
- chart.chartTitle = 'Chart title';
- var data = [
- {x: 10, y: 100},
- {x: 20, y: 110},
- {x: 30, y: 100},
- {x: 40, y: 50}
- ];
- chart.data = data;
- this.addHTMLOutput(chart);
- });
-
- test('twoSeries', function() {
- var chart = new telemetry.web_components.ui.LineChart();
- chart.width = 400;
- chart.height = 200;
- chart.chartTitle = 'Chart title';
- var data = [
- {x: 10, value1: 100, value2: 50},
- {x: 20, value1: 110, value2: 75},
- {x: 30, value1: 100, value2: 125},
- {x: 40, value1: 50, value2: 125}
- ];
- chart.data = data;
- this.addHTMLOutput(chart);
- });
-});
« no previous file with comments | « tools/telemetry/telemetry/web_components/ui/line_chart.js ('k') | tools/telemetry/telemetry/web_components/ui/pie_chart.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698