Commit Graph

122 Commits (388f306f687211682bc38c66c1f95fc52e173b04)
 

Author SHA1 Message Date
Hammy 388f306f68 Use logger instead of printing stacktrace
Hammy 13fdf8fadd Use logger instead of printing stacktrace
Hammy f570eca8fa Don't access eventManager through getter
Hammy f235be2f39 Remove arguments to try and diagnose the issue at a deeper level
Hammy e460f1681b Adding more libraries that might fix headless exception
Hammy 7486682b2c Try something different and pray it works
Hammy b4cf221ac7 Try something different and pray it works
Hammy afe714d74c (Almost) Give up with headless=true
Hammy 6601734595 Use headless=true flag again
Hammy 5e9bb17675 Use headless=true flag again
Hammy 3b1f99e472 Use headless=true flag again
Hammy 9759cf9f60 Switch back to Xvfb to see if it works
Hammy 29653925ed Switch back to Xvfb to see if it works
Hammy 6fe58a2cb7 Try to get vncserver working
Hammy 9d76c905c5 Try to get vncserver working
Hammy 379988b76d Try to get vncserver working
Hammy ad8ce9f06e Remove arguments
Hammy cd6e40a931 Add vncserver again
Hammy b8b07b2751 Revert Dockerfile
Hammy c14883e319 Try to use Xnvc
Hammy 1925d2297b Try to get dockerfile correct
Hammy 24800b5a57 Remove headless flag
Hammy 12e870bd89 Try to run tests in headless mode
Hammy 4b1e6a46e1 Try to get around headless exception
Hammy bbc9dd20f5 Remove xvfb
Hammy 1a55952243 Try to run tests in headless mode
Hammy d4964d7db7 Try to run tests in headless mode
Hammy aaee0f7a8c Update Dockerfile to install xvfb
Hammy 30645b4819 Use Xvfb for testing
Hammy d9d06aee63 Use Xvfb for testing
Hammy 5c4c004840 Use Xvfb for testing
Hammy 85cd3f874e Use Xvfb for testing
Hammy b7b279b924 Add tests for MyClipboard#getSystemClipboard
Hammy b9bd99b79b Get rid of static methods by introducing custom SystemUtils.java class
Hammy 98fa50142c Ensure clipboard contents are only queried upon listening to the clipboard
Hammy dd541ca6ee Remove empty constructor
Hammy 25aff3178a Add another test
Hammy 3f95739795 Remove printStackTrace() for logger.error()
Hammy 69f517ae51 Update matcher to return true if argument is null
Hammy 30a855a0fb Add javadocs
Hammy 32c5950a7c Add more tests
Hammy 5b985bc6f8 Add dependency for parameterised junit tests
Hammy 7619516aeb Optimise imports
Hammy 3da56bbd45 Add extra constructor
Hammy bf3a473d89 Remove the need for Clipboard as param
Hammy e537f092ef Use log.error() instead of log.info()
Hammy 75789c253a Change log message
Hammy 53cb8a78a9 Add more tests for ClipboardUtilsTest
Hammy f8f0f63302 Implement custom matcher for comparing BufferedImages
Hammy 188894f9d9 Make ClipboardUtils.java not static