61950755ec
So far some basic testing, including: * Test that the migrated configuration is applicable * Test that a monitors.xml with multiple configurations are translated * Test rotation * Test tiled monitor discovery (well, test a made up tiled monitor configuration since I don't have a real one) https://bugzilla.gnome.org/show_bug.cgi?id=777732
32 lines
1021 B
C
32 lines
1021 B
C
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
|
|
|
|
/*
|
|
* Copyright (C) 2017 Red Hat, Inc.
|
|
*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public License as
|
|
* published by the Free Software Foundation; either version 2 of the
|
|
* License, or (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful, but
|
|
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
#ifndef MONITOR_TEST_UTILS_H
|
|
#define MONITOR_TEST_UTILS_H
|
|
|
|
#include <glib.h>
|
|
|
|
gboolean is_using_monitor_config_manager (void);
|
|
|
|
void set_custom_monitor_config (const char *filename);
|
|
|
|
char * read_file (const char *file_path);
|
|
|
|
#endif /* MONITOR_TEST_UTILS_H */
|