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

Unified Diff: remoting/ios/Chromoting_unittests/main.mm

Issue 186733007: iOS Chromoting Client (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 7 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
Index: remoting/ios/Chromoting_unittests/main.mm
diff --git a/remoting/ios/Chromoting_unittests/main.mm b/remoting/ios/Chromoting_unittests/main.mm
new file mode 100644
index 0000000000000000000000000000000000000000..3efc1cdb24ed8551c8450b751c1d866cd966bb5c
--- /dev/null
+++ b/remoting/ios/Chromoting_unittests/main.mm
@@ -0,0 +1,24 @@
+// Copyright 2014 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.
+
+#if !defined(__has_feature) || !__has_feature(objc_arc)
+#error "This file requires ARC support."
+#endif
+
+#import <UIKit/UIKit.h>
+
+#include "base/memory/scoped_ptr.h"
+#include "base/test/test_suite.h"
+#include "testing/gtest_mac.h"
+
+#import "remoting/ios/Chromoting_unittests/main_no_arc.h"
+
+int main(int argc, char* argv[]) {
+ // Initialization that must occur with no Automatic Reference Counting (ARC)
+ remoting::main_no_arc::init();
+
+ testing::InitGoogleTest(&argc, argv);
+ scoped_ptr<base::TestSuite> runner(new base::TestSuite(argc, argv));
+ runner.get()->Run();
+}
« no previous file with comments | « remoting/ios/Chromoting_unittests/en.lproj/InfoPlist.strings ('k') | remoting/ios/Chromoting_unittests/main_no_arc.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698