OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "base/command_line.h" | 5 #include "base/command_line.h" |
6 #include "base/test/perf_test_suite.h" | 6 #include "base/test/perf_test_suite.h" |
7 #include "mojo/edk/embedder/embedder.h" | 7 #include "mojo/edk/embedder/embedder.h" |
8 #include "mojo/edk/test/test_support_impl.h" | 8 #include "mojo/edk/test/test_support_impl.h" |
9 #include "third_party/mojo/src/mojo/public/tests/test_support_private.h" | 9 #include "mojo/public/tests/test_support_private.h" |
10 | 10 |
11 int main(int argc, char** argv) { | 11 int main(int argc, char** argv) { |
12 mojo::edk::Init(); | 12 mojo::edk::Init(); |
13 mojo::test::TestSupport::Init(new mojo::edk::test::TestSupportImpl()); | 13 mojo::test::TestSupport::Init(new mojo::edk::test::TestSupportImpl()); |
14 | 14 |
15 // TODO(use_chrome_edk): temporary to force new EDK. | 15 // TODO(use_chrome_edk): temporary to force new EDK. |
16 base::PerfTestSuite test(argc, argv); | 16 base::PerfTestSuite test(argc, argv); |
17 base::CommandLine::ForCurrentProcess()->AppendSwitch("--use-new-edk"); | 17 base::CommandLine::ForCurrentProcess()->AppendSwitch("--use-new-edk"); |
18 | 18 |
19 return test.Run(); | 19 return test.Run(); |
20 } | 20 } |
OLD | NEW |