summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/trace-viewer/src/cc/layer_tree_host_impl_view_test.js
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/trace-viewer/src/cc/layer_tree_host_impl_view_test.js')
-rw-r--r--chromium/third_party/trace-viewer/src/cc/layer_tree_host_impl_view_test.js28
1 files changed, 0 insertions, 28 deletions
diff --git a/chromium/third_party/trace-viewer/src/cc/layer_tree_host_impl_view_test.js b/chromium/third_party/trace-viewer/src/cc/layer_tree_host_impl_view_test.js
deleted file mode 100644
index 3d4680003ab..00000000000
--- a/chromium/third_party/trace-viewer/src/cc/layer_tree_host_impl_view_test.js
+++ /dev/null
@@ -1,28 +0,0 @@
-// Copyright (c) 2013 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';
-
-base.require('cc.layer_tree_host_impl');
-base.require('cc.layer_tree_host_impl_view');
-base.require('tracing.importer.trace_event_importer');
-base.require('tracing.trace_model');
-base.require('cc.layer_tree_host_impl_test_data');
-
-base.unittest.testSuite('cc.layer_tree_host_impl_view', function() {
- test('instantiate', function() {
- var m = new tracing.TraceModel(g_catLTHIEvents);
- var p = base.dictionaryValues(m.processes)[0];
-
- var instance = p.objects.getAllInstancesNamed('cc::LayerTreeHostImpl')[0];
- var snapshot = instance.snapshots[0];
-
- var view = new cc.LayerTreeHostImplSnapshotView();
- view.style.width = '900px';
- view.style.height = '400px';
- view.objectSnapshot = snapshot;
-
- this.addHTMLOutput(view);
- });
-});