dannyedel / dspdfviewer

Dual-Screen PDF Viewer for latex-beamer
http://dspdfviewer.danny-edel.de
GNU General Public License v2.0
218 stars 27 forks source link

Add unittest: Swap Screens #146

Closed dannyedel closed 8 years ago

dannyedel commented 8 years ago

Adds a simple unittest that issues the "swap screens" command and then checks the windows' geometries to verify they actually have been moved.

If running on a single-screen setup, it will at execute the swapping code and report the test as SKIPPED.

CTest will consider this a failure, so the CIs have been updated to either not run it, or run it in a two-screen XvFB.