破门点滴   本站首页    管理页面    写新日志    退出


«August 2025»
12
3456789
10111213141516
17181920212223
24252627282930
31


公告
不得窥道门,不得悟佛门,不得入窄门,实乃破门。

我的分类(专题)

日志更新

最新评论

留言板

链接

Blog信息
blog名称:破门点滴
日志总数:161
评论数量:404
留言数量:-2
访问次数:1421059
建立时间:2004年11月13日




 

[开发笔记]Eclipse 测试框架分析(未完)
随笔,  软件技术

破门 发表于 2005/2/21 11:24:52

Eclipse 测试框架分析 基于PDE运行时的参数设定如下: Eclipse.buildId=unknown java.version=1.4.2 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=zh_CN Framework arguments:  -version 3 -application org.eclipse.pde.junit.runtime.coretestapplication -testApplication org.softme.triones.runtime.framework -pdelaunch -port 3655 -testpluginname org.softme.triones.runtime -classnames org.softme.triones.runtime.TrionesRuntimeAllTests Command-line arguments:  -version 3 -application org.eclipse.pde.junit.runtime.coretestapplication -testApplication org.softme.triones.runtime.framework -data D:\netshop\runtime-test-workspace -dev file:D:/netshop/sources/.metadata/.plugins/org.eclipse.pde.core/Trionse Runtime Test/dev.properties -pdelaunch -os win32 -ws win32 -arch x86 -nl zh_CN -clean -debug -consolelog -port 3655 -testpluginname org.softme.triones.runtime -classnames org.softme.triones.runtime.TrionesRuntimeAllTests   由参数配置可以看出,Eclipse PDE中插件测试实际上是启动了 org.eclipse.pde.junit.runtime.coretestapplication 这个应用,而被测试的应用通过参数 –testApplication 指定,运行的参数通过 –dev file:…./dev.properties 来指定。我们先分析一下 dev.properties 文件: org.softme.triones.runtime=bin org.softme.triones.sdk=bin org.eclipse.osgi=bin org.softme.triones.hello=bin com.opensymphony=bin org.softme.triones.turbine=bin这里配置需要加载的工作区插件和class路径。


阅读全文(3311) | 回复(0) | 编辑 | 精华
 



发表评论:
昵称:
密码:
主页:
标题:
验证码:  (不区分大小写,请仔细填写,输错需重写评论内容!)



站点首页 | 联系我们 | 博客注册 | 博客登陆

Sponsored By W3CHINA
W3CHINA Blog 0.8 Processed in 0.031 second(s), page refreshed 144761669 times.
《全国人大常委会关于维护互联网安全的决定》  《计算机信息网络国际联网安全保护管理办法》
苏ICP备05006046号