chromium/chrome/browser/ui/views/dark_mode_manager_linux_unittest.cc

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

#include "chrome/browser/ui/views/dark_mode_manager_linux.h"

#include "base/memory/raw_ptr.h"
#include "base/test/scoped_feature_list.h"
#include "chrome/browser/ui/ui_features.h"
#include "dbus/mock_bus.h"
#include "dbus/mock_object_proxy.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/linux/fake_linux_ui.h"
#include "ui/native_theme/native_theme.h"

namespace ui {

namespace {

class MockLinuxUi : public FakeLinuxUi {};

class MockNativeTheme : public NativeTheme {};

ACTION_P2(RegisterSignalCallback, signal_callback, connected_callback) {}

ACTION_P(MethodCallback,
         color_scheme_response_callback,
         color_scheme_error_callback) {}

// Matches a method call to the specified dbus target.
MATCHER_P2(Calls, interface, member, "") {}

}  // namespace

_;
ByMove;
Return;
StrictMock;

class DarkModeManagerLinuxTest : public testing::Test {};

TEST_F(DarkModeManagerLinuxTest, UseNativeThemeSetting) {}

TEST_F(DarkModeManagerLinuxTest, UsePortalSetting) {}

TEST_F(DarkModeManagerLinuxTest, UsePortalAccentColor) {}

}  // namespace ui