[virt-tools-list] [PATCH virt-viewer 0/3] Add tests for monitor mapping
Pavel Grunt
pgrunt at redhat.com
Tue Mar 8 08:20:46 UTC 2016
Hello,
these patches move virt_viewer_app_parse_monitor_mappings from virt-viewer-app
to virt-viewer-util. Parsing monitor mapping has no dependency on VirtViewerApp.
And thanks to the move to the util, it is possible to add tests for this area,
because it was tested only manually - by editting the config file and connecting
to a vm, so some cases where not covered:
rhbz#1315206
rhbz#1304648
Pavel Grunt (3):
Move monitor mapping parsing from app to util
virt_viewer_parse_monitor_mappings: Add parameter for client monitors
test: Add tests for monitor mapping
src/Makefile.am | 30 +++++++++---
src/test-monitor-mapping.c | 119 +++++++++++++++++++++++++++++++++++++++++++++
src/virt-viewer-app.c | 82 +------------------------------
src/virt-viewer-util.c | 87 +++++++++++++++++++++++++++++++++
src/virt-viewer-util.h | 4 ++
5 files changed, 236 insertions(+), 86 deletions(-)
create mode 100644 src/test-monitor-mapping.c
--
2.5.0
More information about the virt-tools-list
mailing list