[mutter] monitor-unit-tests: Check going headless -> headless



commit 76096a725b5f3f043caec9b22ae75500a943d40c
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 4683ce0..afdfa22 100644
--- a/src/tests/monitor-unit-tests.c
+++ b/src/tests/monitor-unit-tests.c
@@ -2664,6 +2664,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]