#include "flutter/shell/platform/linux/fl_gnome_settings.h"
#include "flutter/shell/platform/linux/testing/fl_test.h"
#include "flutter/shell/platform/linux/testing/mock_settings.h"
#include "flutter/shell/platform/linux/testing/mock_signal_handler.h"
#include "flutter/testing/testing.h"
#include <gio/gio.h>
#include <gio/gsettingsbackend.h>
#include "gmock/gmock.h"
#include "gtest/gtest.h"
Go to the source code of this file.
Classes | |
class | FlGnomeSettingsTest |
Macros | |
#define | G_SETTINGS_ENABLE_BACKEND |
Functions | |
static GSettings * | create_settings (const gchar *name, const gchar *schema_id) |
TEST_F (FlGnomeSettingsTest, ClockFormat) | |
TEST_F (FlGnomeSettingsTest, GtkTheme) | |
TEST_F (FlGnomeSettingsTest, EnableAnimations) | |
TEST_F (FlGnomeSettingsTest, HighContrast) | |
TEST_F (FlGnomeSettingsTest, TextScalingFactor) | |
TEST_F (FlGnomeSettingsTest, SignalHandlers) | |
#define G_SETTINGS_ENABLE_BACKEND |
Definition at line 12 of file fl_gnome_settings_test.cc.
|
static |
TEST_F | ( | FlGnomeSettingsTest | , |
ClockFormat | |||
) |
Definition at line 38 of file fl_gnome_settings_test.cc.
References create_settings(), FL_CLOCK_FORMAT_12H, FL_CLOCK_FORMAT_24H, and fl_settings_get_clock_format().
TEST_F | ( | FlGnomeSettingsTest | , |
EnableAnimations | |||
) |
Definition at line 72 of file fl_gnome_settings_test.cc.
References fl_gnome_settings_new(), and fl_settings_get_enable_animations().
TEST_F | ( | FlGnomeSettingsTest | , |
GtkTheme | |||
) |
Definition at line 55 of file fl_gnome_settings_test.cc.
References create_settings(), FL_COLOR_SCHEME_DARK, FL_COLOR_SCHEME_LIGHT, and fl_settings_get_color_scheme().
TEST_F | ( | FlGnomeSettingsTest | , |
HighContrast | |||
) |
Definition at line 77 of file fl_gnome_settings_test.cc.
References fl_gnome_settings_new(), and fl_settings_get_high_contrast().
TEST_F | ( | FlGnomeSettingsTest | , |
SignalHandlers | |||
) |
TEST_F | ( | FlGnomeSettingsTest | , |
TextScalingFactor | |||
) |
Definition at line 82 of file fl_gnome_settings_test.cc.
References create_settings(), and fl_settings_get_text_scaling_factor().