1 // Copyright 2015 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.
5 #include "base/at_exit.h"
6 #include "base/test/launcher/unit_test_launcher.h"
7 #include "testing/gtest/include/gtest/gtest.h"
11 int RunAllTestsImpl() {
12 return RUN_ALL_TESTS();
17 int main(int argc
, char** argv
) {
18 base::AtExitManager at_exit
;
19 testing::InitGoogleTest(&argc
, argv
);
20 return base::LaunchUnitTests(argc
, argv
, base::Bind(&RunAllTestsImpl
));