Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / trace-viewer / trace_viewer / tracing / find_control_test.html
1 <!DOCTYPE html>
2 <!--
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.
6 -->
7
8 <link rel="import" href="/tracing/find_control.html">
9 <link rel="import" href="/tracing/test_utils.html">
10
11 <script>
12 'use strict';
13
14 tv.unittest.testSuite(function() {
15   test('instantiate', function() {
16     var ctl = new TracingFindControl();
17     ctl.controller = {
18       findNext: function() { },
19       findPrevious: function() { },
20       reset: function() {},
21
22       filterHits: ['a', 'b'],
23
24       currentHitIndex: 0
25     };
26
27     this.addHTMLOutput(ctl);
28   });
29 });
30 </script>