Index: win8/metro_driver/run_all_unittests.cc |
diff --git a/win8/metro_driver/run_all_unittests.cc b/win8/metro_driver/run_all_unittests.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..4c6a548e2f40fc7e6c32a4d546d1a4fb13bb6015 |
--- /dev/null |
+++ b/win8/metro_driver/run_all_unittests.cc |
@@ -0,0 +1,19 @@ |
+// 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 "stdafx.h" |
+ |
+#include "base/at_exit.h" |
+#include "testing/gtest/include/gtest/gtest.h" |
+ |
+#pragma comment(lib, "runtimeobject.lib") |
+ |
+base::AtExitManager at_exit; |
+ |
+int main(int argc, char** argv) { |
+ mswrw::RoInitializeWrapper ro_init(RO_INIT_SINGLETHREADED); |
+ |
+ testing::InitGoogleTest(&argc, argv); |
+ |
+ return RUN_ALL_TESTS(); |
+} |