Home | History | Annotate | Download | only in test
      1 // Copyright 2015 The Weave 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.
      4 
      5 #include <base/command_line.h>
      6 #include <base/logging.h>
      7 #include <gmock/gmock.h>
      8 #include <gtest/gtest.h>
      9 
     10 int main(int argc, char** argv) {
     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);
     20   return RUN_ALL_TESTS();
     21 }
     22