blob: 086856a7a6572b8e2a651ee7c8e6cf027bfb7a88 [file] [log] [blame]
<!DOCTYPE html>
<!--
Copyright (c) 2015 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.
-->
<link rel="import" href="/tracing/core/test_utils.html">
<link rel="import" href="/tracing/model/event_set.html">
<link rel="import" href="/tracing/ui/analysis/analysis_view.html">
<link rel="import" href="/tracing/ui/analysis/memory_dump_sub_view_test_utils.html">
<script>
'use strict';
tr.b.unittest.testSuite(function() {
var EventSet = tr.model.EventSet;
var createTestGlobalMemoryDump = tr.ui.analysis.createTestGlobalMemoryDump;
test('instantiate', function() {
var globalMemoryDump = createTestGlobalMemoryDump();
var selection = new EventSet();
selection.push(globalMemoryDump);
var viewEl = document.createElement(
'tr-ui-a-single-global-memory-dump-sub-view');
viewEl.selection = selection;
this.addHTMLOutput(viewEl);
});
});
</script>