diff options
Diffstat (limited to 'win8/metro_driver/run_all_unittests.cc')
-rw-r--r-- | win8/metro_driver/run_all_unittests.cc | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/win8/metro_driver/run_all_unittests.cc b/win8/metro_driver/run_all_unittests.cc new file mode 100644 index 0000000..4c6a548 --- /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(); +} |