blob: 94d9b7c41c745805b58c1162095cbd872c5a6132 [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="/core/test_utils.html">
<link rel="import" href="/model/event_set.html">
<link rel="import" href="/ui/analysis/analysis_view.html">
<link rel="import" href="/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>