Java SWTbot
文章平均质量分 57
iteye_7333
这个作者很懒,什么都没留下…
展开
-
SWTbot 测试SWT程序
这个程序借鉴的网上的一个程序一样。 public class SampleSWTUI { public Shell showGUI(final Display display) { Shell shell = new Shell(display); shell.setLayout(new GridLayout(3,true)); ...原创 2012-11-14 13:35:16 · 511 阅读 · 0 评论 -
SWTBot 测试自己的RCP程序
在运行SWTBot的时候,是有SWTWorkbenchBot对象的,测试自己的RCP程序也是,关键是怎么运行测试自己的RCP程序,默认运行的org.eclipse.sdk.ide,只用打开run configurations页面,切换到main,在Program to run里面选择自己的product或者Application里面选择自己的RCP程序就行了。...2012-11-25 20:24:16 · 315 阅读 · 0 评论 -
java ant运行
将:java -jar D:/green/eclipse/eclipse-SDK-3.6.1-win32/eclipse/plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar -application org.eclipse.ant.core.antRunner -buildfile D:/green/eclipse/eclipse...原创 2013-04-16 18:55:24 · 72 阅读 · 0 评论 -
ant 运行SWTBot测试自己的应用程序
参照网站:http://wiki.eclipse.org/SWTBot/Ant需要的插件:org.eclipse.swtbot.eclipse.test.junit4-2.0.5.20111003_1754-3676ac8-dev-e36""org.eclipse.swtbot.eclipse-2.0.5.20111003_1754-3676ac8-dev-e36"user t...原创 2013-04-16 18:55:53 · 163 阅读 · 0 评论