chromium/remoting/host/linux/gnome_display_config_dbus_client_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 "remoting/host/linux/gnome_display_config_dbus_client.h"

#include "base/run_loop.h"
#include "base/test/task_environment.h"
#include "remoting/host/linux/scoped_glib.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/webrtc/modules/portal/scoped_glib.h"

namespace remoting {

namespace {

// The return type of the D-Bus method
// org.gnome.Mutter.DisplayConfig.GetCurrentState().
constexpr char kDisplayConfigType[] =;                        // properties

// These strings are based on calling g_variant_print() on GVariants returned
// by the D-Bus API. The format is accepted by g_variant_parse(), as long as
// the correct type is provided.
constexpr char kSingleDisplayConfig[] =;
constexpr char kDualDisplayConfig[] =;

ScopedGVariant CreateDisplayConfig(const char* serialized) {}

}  // namespace

class GnomeDisplayConfigDBusClientTest : public testing::Test {};

TEST_F(GnomeDisplayConfigDBusClientTest, GetMonitorsConfigReturnsCorrectInfo) {}

TEST_F(GnomeDisplayConfigDBusClientTest, CorrectInfoForSecondMonitor) {}

TEST_F(GnomeDisplayConfigDBusClientTest, CorrectConfigBuiltForGnome) {}

}  // namespace remoting