| <!DOCTYPE html> |
| <!-- |
| 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. |
| --> |
| <link rel="import" href="/core/analysis/stack_frame.html"> |
| <link rel="import" href="/core/test_utils.html"> |
| <script> |
| 'use strict'; |
| |
| tv.b.unittest.testSuite(function() { |
| test('instantiate', function() { |
| var model = new tv.c.TraceModel(); |
| var fA = tv.c.test_utils.newStackTrace(model, 'cat', ['a1', 'a2', 'a3']); |
| |
| var stackFrameView = document.createElement('tv-c-a-stack-frame'); |
| stackFrameView.stackFrame = fA; |
| this.addHTMLOutput(stackFrameView); |
| }); |
| }); |
| </script> |