1 # Copyright (c) 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
9 from trace_viewer.build import generate_standalone_timeline_view
11 class GenerateStandaloneTimelineViewTests(unittest.TestCase):
12 def test_smokeTest(self):
14 tmpdir = tempfile.mkdtemp()
15 js = os.path.join(tmpdir, 'timeline_view.js')
16 css = os.path.join(tmpdir, 'timeline_view.css')
17 res = generate_standalone_timeline_view.main(
18 ['--js', js, '--css', css])