2013-09-24 04:17:12 +00:00
|
|
|
// Copyright (c) 2013 Google Inc. All rights reserved.
|
|
|
|
// Use of this source code is governed by a BSD-style license tha can be
|
|
|
|
// found in the LICENSE file.
|
|
|
|
|
|
|
|
#include "base/at_exit.h"
|
2013-10-11 21:44:55 +00:00
|
|
|
#include "base/command_line.h"
|
|
|
|
#include "base/logging.h"
|
2013-09-24 04:17:12 +00:00
|
|
|
#include "testing/gtest/include/gtest/gtest.h"
|
|
|
|
|
|
|
|
int main(int argc, char **argv) {
|
|
|
|
::testing::InitGoogleTest(&argc, argv);
|
2013-10-11 21:44:55 +00:00
|
|
|
|
|
|
|
// Needed to enable VLOG/DVLOG through --vmodule or --v.
|
|
|
|
CommandLine::Init(argc, argv);
|
|
|
|
CHECK(logging::InitLogging(logging::LoggingSettings()));
|
|
|
|
|
2013-09-24 04:17:12 +00:00
|
|
|
base::AtExitManager exit;
|
|
|
|
return RUN_ALL_TESTS();
|
|
|
|
}
|