OLD | NEW |
---|---|
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/test/main_hook.h" | |
6 #include "base/test/test_suite.h" | 5 #include "base/test/test_suite.h" |
7 #include "crypto/nss_util.h" | 6 #include "crypto/nss_util.h" |
8 | 7 |
9 int main(int argc, char** argv) { | 8 int main(int argc, char** argv) { |
10 MainHook hook(main, argc, argv); | |
11 | 9 |
wtc
2013/03/14 18:37:48
Nit: delete this blank line.
lliabraa
2013/03/15 11:02:28
Done.
| |
12 #if defined(USE_NSS) | 10 #if defined(USE_NSS) |
13 // This is most likely not needed, but it basically replaces a similar call | 11 // This is most likely not needed, but it basically replaces a similar call |
14 // that was performed on test_support_base. | 12 // that was performed on test_support_base. |
15 // TODO(rvargas) Bug 79359: remove this. | 13 // TODO(rvargas) Bug 79359: remove this. |
16 crypto::EnsureNSSInit(); | 14 crypto::EnsureNSSInit(); |
17 #endif // defined(USE_NSS) | 15 #endif // defined(USE_NSS) |
18 | 16 |
19 return base::TestSuite(argc, argv).Run(); | 17 return base::TestSuite(argc, argv).Run(); |
20 } | 18 } |
OLD | NEW |