[mutter/gnome-3-26] monitor-unit-tests: Check going headless -> headless



commit 425df31cf9f70c4ff8ae691e1e671b9b3cd2e067
Author: Jonas Ådahl <jadahl gmail com>
Date:   Sat Oct 7 00:35:23 2017 -0400

    monitor-unit-tests: Check going headless -> headless
    
    https://bugzilla.gnome.org/show_bug.cgi?id=788607

 src/tests/monitor-unit-tests.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/src/tests/monitor-unit-tests.c b/src/tests/monitor-unit-tests.c
index 6685650..b2d18c4 100644
--- a/src/tests/monitor-unit-tests.c
+++ b/src/tests/monitor-unit-tests.c
@@ -2631,6 +2631,13 @@ meta_test_monitor_no_outputs (void)
 
   emulate_hotplug (test_setup);
   check_monitor_configuration (&test_case);
+
+  /* Also check that we handle going headless -> headless */
+  test_setup = create_monitor_test_setup (&test_case,
+                                          MONITOR_TEST_FLAG_NO_STORED);
+
+  emulate_hotplug (test_setup);
+  check_monitor_configuration (&test_case);
 }
 
 static void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]