Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1015)

Unified Diff: crypto/run_all_unittests.cc

Issue 10830183: Built crypto and crypto_unittests for iOS (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« crypto/rsa_private_key_ios.cc ('K') | « crypto/rsa_private_key_ios.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: crypto/run_all_unittests.cc
diff --git a/crypto/run_all_unittests.cc b/crypto/run_all_unittests.cc
index 9b6fc467a68d7237d4077f9005fdbc6d1c6b4701..d535b0350658f47954c9460ca37f38536fe82cd7 100644
--- a/crypto/run_all_unittests.cc
+++ b/crypto/run_all_unittests.cc
@@ -1,7 +1,8 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "base/test/main_hook.h"
#include "base/test/test_suite.h"
#include "crypto/nss_util.h"
@@ -12,6 +13,7 @@ int main(int argc, char** argv) {
// TODO(rvargas) Bug 79359: remove this.
crypto::EnsureNSSInit();
#endif // defined(USE_NSS)
+ MainHook hook(main, argc, argv);
stuartmorgan 2012/08/06 16:07:31 This should be the very first call.
msarda 2012/08/07 08:39:44 The code we have in the iOS tree does this call at
stuartmorgan 2012/08/07 09:21:28 And it's wrong, which is why I want you to change
msarda 2012/08/07 09:42:17 Done.
return base::TestSuite(argc, argv).Run();
}
« crypto/rsa_private_key_ios.cc ('K') | « crypto/rsa_private_key_ios.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698