tests/monitor-unit-tests: Check meta_monitor_is_active()
https://bugzilla.gnome.org/show_bug.cgi?id=781723
This commit is contained in:
parent
c32e2d17d9
commit
94d843b80e
@ -640,6 +640,10 @@ check_monitor_configuration (MonitorTestCase *test_case)
|
|||||||
expected_current_mode_index)->data;
|
expected_current_mode_index)->data;
|
||||||
|
|
||||||
g_assert (current_mode == expected_current_mode);
|
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)
|
if (current_mode)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user