3 Copyright (c) 2013 The Chromium Authors. All rights reserved.
4 Use of this source code is governed by a BSD-style license that can be
5 found in the LICENSE file.
8 <link rel="import" href="/cc/raster_task_slice_view.html">
9 <link rel="import" href="/tracing/importer/trace_event_importer.html">
10 <link rel="import" href="/tracing/trace_model.html">
12 <script src="/cc/layer_tree_host_impl_test_data.js"></script>
17 tvcm.unittest.testSuite(function() {
18 test('instantiate', function() {
19 var m = new tracing.TraceModel(g_catLTHIEvents);
20 var p = m.processes[1];
22 var rasterTask = p.threads[1].sliceGroup.slices.filter(function(slice) {
23 return slice.title == 'TileManager::RunRasterTask';
26 var view = new cc.RasterTaskSliceView();
27 view.style.minHeight = '500px';
28 view.slice = rasterTask;
29 this.addHTMLOutput(view);