简体   繁体   English

锁定计算机时运行Java Swing Fest测试

[英]running java swing fest test when computer is locked

Can the FEST-Swing (mentioned here ) test still work if the computer is locked? 如果计算机已锁定, FEST-Swing (在提及)测试仍然可以工作吗? I did a test, and it didn't work. 我做了测试,但没有成功。 I think the Swing doesn't paint on the screen because the screen is locked, hence the FEST-Swing test will not work. 我认为Swing不会在屏幕上绘制,因为屏幕已锁定,因此FEST-Swing测试将无法进行。 Is there a workaround? 有解决方法吗? Thanks. 谢谢。

I had the same problem with Windows. 我在Windows上遇到了同样的问题。 What worked for me was running the tests on a Linux box using Xvfb. 对我有用的是使用Xvfb在Linux机器上运行测试。

http://fest.codehaus.org/Running+FEST+under+Xvfb http://fest.codehaus.org/Running+FEST+under+Xvfb

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM