tests: Add basic monitor configuration tests

The added test checks that two monitors are lied out on a row next to
each other.

https://bugzilla.gnome.org/show_bug.cgi?id=777732
This commit is contained in:
Jonas Ådahl
2016-12-05 18:40:44 +08:00
parent a251675cc0
commit 12150c1ca7
4 changed files with 98 additions and 0 deletions

View File

@ -28,6 +28,7 @@
#include "compositor/meta-plugin-manager.h"
#include "core/main-private.h"
#include "tests/meta-backend-test.h"
#include "tests/monitor-unit-tests.h"
typedef struct _MetaTestLaterOrderCallbackData
{
@ -198,6 +199,8 @@ init_tests (int argc, char **argv)
g_test_add_func ("/util/meta-later/order", meta_test_util_later_order);
g_test_add_func ("/util/meta-later/schedule-from-later",
meta_test_util_later_schedule_from_later);
init_monitor_tests ();
}
int