@@ -89,6 +89,11 @@ TestCase {
89 compare(powerSpy.count, 1);
89 compare(powerSpy.count, 1);
92+ function test_screenshotPrtScr() {
93+ physicalKeysMapper.onKeyPressed({ key: Qt.Key_Print })
94+ tryCompare(screenshotSpy, "count", 1) // verify the screenshotTriggered signal has been called, exactly once
92 function test_screenshotButtons_data() {
97 function test_screenshotButtons_data() {
94 { tag: "UpFirst", first: Qt.Key_VolumeUp, second: Qt.Key_VolumeDown },
99 { tag: "UpFirst", first: Qt.Key_VolumeUp, second: Qt.Key_VolumeDown },