diff options
author | Jonas Ã…dahl <jadahl@gmail.com> | 2021-01-26 17:42:51 +0100 |
---|---|---|
committer | Marge Bot <marge-bot@gnome.org> | 2021-03-12 15:09:45 +0000 |
commit | 51ff51c854176ff52185774f44a1db9cdd75f251 (patch) | |
tree | da09a12814662fcd6e667d64f01673765639f492 /src/backends/meta-virtual-monitor.h | |
parent | d7ce6a47f89884d9aa381a6ab7cd85002135f5cf (diff) | |
download | mutter-51ff51c854176ff52185774f44a1db9cdd75f251.tar.gz |
tests: Add virtual monitor tests
The testing currently done is:
* Creating a virtual monitor succeeds and gets the right configuration
* Painting a few times results in the expected output
* Changing the content of the stage also changes the painted content
accordingly
* Destroying the virtual monitor works as expected
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1698>
Diffstat (limited to 'src/backends/meta-virtual-monitor.h')
-rw-r--r-- | src/backends/meta-virtual-monitor.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/backends/meta-virtual-monitor.h b/src/backends/meta-virtual-monitor.h index d1fd43356..2b733df9c 100644 --- a/src/backends/meta-virtual-monitor.h +++ b/src/backends/meta-virtual-monitor.h @@ -62,6 +62,7 @@ MetaCrtc * meta_virtual_monitor_get_crtc (MetaVirtualMonitor *virtual_monitor); MetaCrtcMode * meta_virtual_monitor_get_crtc_mode (MetaVirtualMonitor *virtual_monitor); +META_EXPORT_TEST MetaOutput * meta_virtual_monitor_get_output (MetaVirtualMonitor *virtual_monitor); G_DEFINE_AUTOPTR_CLEANUP_FUNC (MetaVirtualMonitorInfo, |