chromium/components/webrtc_logging/logging_unittest.cc

// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// Note: this test tests RTC_LOG_V and RTC_LOG_E since all other logs are
// expressed in forms of them. RTC_LOG is also tested for good measure.
// Also note that we are only allowed to call InitLogging() twice so the test
// cases are more dense than normal.

// We must include Chromium headers before including the overrides header
// since webrtc's logging.h file may conflict with chromium.

#include "base/logging.h"
#include "base/files/file_util.h"
#include "base/files/scoped_temp_dir.h"
#include "build/build_config.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/webrtc_overrides/rtc_base/logging.h"

namespace {

static const int kDefaultVerbosity =;

static const char* AsString(rtc::LoggingSeverity severity) {}

class WebRtcTextLogTest : public testing::Test {};

TEST_F(WebRtcTextLogTest, DefaultConfiguration) {}

TEST_F(WebRtcTextLogTest, InfoConfiguration) {}

TEST_F(WebRtcTextLogTest, LogEverythingConfiguration) {}

TEST_F(WebRtcTextLogTest, LogIf) {}

}  // namespace