#if defined(OS_MACOSX)
#include "base/mac/scoped_nsautorelease_pool.h"
+#if !defined(OS_IOS)
+#include "base/test/mock_chrome_application_mac.h"
+#endif
#endif
#if !defined(OS_IOS)
TestInitializationListener() : test_content_client_initializer_(NULL) {
}
- virtual void OnTestStart(const testing::TestInfo& test_info) OVERRIDE {
+ virtual void OnTestStart(const testing::TestInfo& test_info) override {
test_content_client_initializer_ =
new content::TestContentClientInitializer();
}
- virtual void OnTestEnd(const testing::TestInfo& test_info) OVERRIDE {
+ virtual void OnTestEnd(const testing::TestInfo& test_info) override {
delete test_content_client_initializer_;
}
void ContentTestSuite::Initialize() {
#if defined(OS_MACOSX)
base::mac::ScopedNSAutoreleasePool autorelease_pool;
+#if !defined(OS_IOS)
+ mock_cr_app::RegisterMockCrApp();
+#endif
#endif
#if defined(OS_WIN)