Upstream version 9.37.197.0
[platform/framework/web/crosswalk.git] / src / remoting / ios / Chromoting_unittests / main.mm
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #if !defined(__has_feature) || !__has_feature(objc_arc)
6 #error "This file requires ARC support."
7 #endif
8
9 #import <UIKit/UIKit.h>
10
11 #include "base/memory/scoped_ptr.h"
12 #include "base/test/test_suite.h"
13 #include "testing/gtest_mac.h"
14
15 #import "remoting/ios/Chromoting_unittests/main_no_arc.h"
16
17 int main(int argc, char* argv[]) {
18   // Initialization that must occur with no Automatic Reference Counting (ARC)
19   remoting::main_no_arc::init();
20
21   testing::InitGoogleTest(&argc, argv);
22   scoped_ptr<base::TestSuite> runner(new base::TestSuite(argc, argv));
23   runner.get()->Run();
24 }