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.
6 from trace_viewer.build import check_common
8 class CheckCommonUnittTest(unittest.TestCase):
9 def test_filesSortedTest(self):
10 error = check_common.CheckListedFilesSorted('foo.gyp', 'tracing_pdf_files',
12 '/dir/another_file.pdf'])
13 expected_error = '''In group tracing_pdf_files from file foo.gyp,\
14 filenames aren't sorted.
26 assert error == expected_error