mirror of
https://github.com/brl/mutter.git
synced 2024-11-24 00:50:42 -05:00
tests/monitor-unit-tests: Check meta_monitor_is_active()
https://bugzilla.gnome.org/show_bug.cgi?id=781723
This commit is contained in:
parent
a3b4ee5689
commit
57d07bd38b
@ -583,6 +583,10 @@ check_monitor_configuration (MonitorTestCase *test_case)
|
||||
expected_current_mode_index)->data;
|
||||
|
||||
g_assert (current_mode == expected_current_mode);
|
||||
if (current_mode)
|
||||
g_assert (meta_monitor_is_active (monitor));
|
||||
else
|
||||
g_assert (!meta_monitor_is_active (monitor));
|
||||
|
||||
if (current_mode)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user