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

Unified Diff: tools/telemetry/telemetry/web_components/results_viewer_unittest.js

Issue 178043008: [Reland] Introduce telemetry.web_components and a simple component-based Results object (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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/results_viewer_unittest.js
diff --git a/tools/telemetry/telemetry/web_components/results_viewer_unittest.js b/tools/telemetry/telemetry/web_components/results_viewer_unittest.js
new file mode 100644
index 0000000000000000000000000000000000000000..60485ab98167b4e58e089375ac9d53917c28eb1f
--- /dev/null
+++ b/tools/telemetry/telemetry/web_components/results_viewer_unittest.js
@@ -0,0 +1,16 @@
+// Copyright (c) 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.results_viewer');
+
+tvcm.unittest.testSuite('telemetry.web_components.results_viewer_unittest',
+ function() {
+ test('testBasic', function() {
+ var resultsViewer = new telemetry.web_components.ResultsViewer();
+ resultsViewer.dataToView = {hello: 'world', nice: ['to', 'see', 'you']};
+ this.addHTMLOutput(resultsViewer);
+ });
+ });
« no previous file with comments | « tools/telemetry/telemetry/web_components/results_viewer.py ('k') | tools/telemetry/telemetry/web_components/tvcm_stub.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698