1<!DOCTYPE html>
2<html>
3<!--
4Copyright (c) 2014 The Chromium Authors. All rights reserved.
5Use of this source code is governed by a BSD-style license that can be
6found in the LICENSE file.
7-->
8<head>
9  <title>Trace-Viewer Tests: loading...</title>
10  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
11
12  <link rel="shortcut icon" href="data:image/x-icon;base64,"
13        type="image/x-icon">
14
15  <script src="/components/webcomponentsjs/webcomponents.js"></script>
16
17  <link rel="import" href="/components/polymer/polymer.html">
18  <link rel="import" href="/tracing/base/unittest/interactive_test_runner.html">
19  <style>
20    html, body {
21      box-sizing: border-box;
22      width: 100%;
23      height: 100%;
24      overflow: hidden;
25      margin: 0px;
26    }
27  </style>
28</head>
29<body>
30  <script>
31    'use strict';
32
33
34    window.addEventListener('load', function() {
35      tr.b.unittest.loadAndRunTests({
36        title: 'All Trace-Viewer Tests',
37        getAllSuiteRelPathsAsync: function() {
38          return tr.b.getAsync('/tracing/tests').then(function(json) {
39            return JSON.parse(json).test_relpaths;
40          }).catch (function(e) {
41           throw e;
42          });
43        },
44        testLinks: [
45          {linkPath: '/tracing_examples/skia_debugger.html',
46           title: 'Skia Debugger'},
47          {linkPath: '/tracing_examples/trace_viewer.html',
48           title: 'Trace File Viewer'}
49        ]
50      });
51    });
52
53  </script>
54</body>
55</html>
56