Vitaly Buka | 4615e0d | 2015-10-14 15:35:12 -0700 | [diff] [blame] | 1 | // Copyright 2015 The Weave Authors. All rights reserved. |
Chris Sosa | 45d9f10 | 2014-03-24 11:18:54 -0700 | [diff] [blame] | 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
Vitaly Buka | 122391d | 2015-08-13 23:45:32 -0700 | [diff] [blame] | 5 | #include <base/command_line.h> |
Vitaly Buka | 0d50107 | 2015-08-18 18:09:46 -0700 | [diff] [blame] | 6 | #include <base/logging.h> |
Vitaly Buka | 122391d | 2015-08-13 23:45:32 -0700 | [diff] [blame] | 7 | #include <gmock/gmock.h> |
Chris Sosa | 45d9f10 | 2014-03-24 11:18:54 -0700 | [diff] [blame] | 8 | #include <gtest/gtest.h> |
| 9 | |
Vitaly Buka | a647c85 | 2015-07-06 14:51:01 -0700 | [diff] [blame] | 10 | int main(int argc, char** argv) { |
Vitaly Buka | 122391d | 2015-08-13 23:45:32 -0700 | [diff] [blame] | 11 | base::CommandLine::Init(argc, argv); |
| 12 | |
| 13 | logging::LoggingSettings settings; |
| 14 | settings.logging_dest = logging::LOG_TO_SYSTEM_DEBUG_LOG; |
| 15 | logging::InitLogging(settings); |
| 16 | logging::SetLogItems(false, false, false, false); |
| 17 | |
| 18 | ::testing::InitGoogleMock(&argc, argv); |
| 19 | ::testing::InitGoogleTest(&argc, argv); |
Chris Sosa | 45d9f10 | 2014-03-24 11:18:54 -0700 | [diff] [blame] | 20 | return RUN_ALL_TESTS(); |
| 21 | } |