OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2011 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. | |
4 | |
5 // A basic testrunner that supports JavaScript unittests. | |
6 // This lives in src/chrome/test so that: | |
7 // (1) it can be shared by different subprojects, | |
8 // (2) it can include chrome_paths.h (required for JS unittests) without | |
9 // updating the DEPS file for each subproject. | |
10 | |
11 #include "base/file_path.h" | |
jcivelli
2011/11/21 21:54:15
I don't think you need these 3 includes.
garykac
2011/11/21 22:04:54
Removed.
| |
12 #include "base/logging.h" | |
13 #include "base/path_service.h" | |
14 #include "base/test/test_suite.h" | |
15 #include "chrome/common/chrome_paths.h" | |
16 | |
17 int main(int argc, char** argv) { | |
18 base::TestSuite test_suite(argc, argv); | |
19 | |
20 // This is required for the JavaScript unittests. | |
21 chrome::RegisterPathProvider(); | |
22 | |
23 return test_suite.Run(); | |
24 } | |
OLD | NEW |