期刊文献+

J2ME单元测试及其在类库开发中的应用 被引量:3

J2ME Unit Testing and its Application in Developing Class Library
下载PDF
导出
摘要 J2MEUnit是J2ME类库中为对J2ME程序进行单元测试而构造的框架。它以J2SE类库中的成功的单元测试框架JUnit的源码为基础,加入很多新的特征而形成的。文章主要讨论的是J2MEUnit测试用例的开发方法及其在开发MIDP(移动信息设备简表)中的应用。文中分析了J2MEUnit和JUnit框架的差别,阐述了J2MEUnit在没有ReflectionAPI的情况下TestCase和TestSuite的构造。并介绍了如何用它来测试MIDP类库以及测试的原则。 J2MEUnit is a J2ME library containing a unit testing framework for J2ME programs.It is based on the source code of the original jUnit,the successful unit testing framework for J2SE,and a lot of new features have been added.In this paper,we are mainly discussing how to develop a J2MEUnit testcase and its application in developing MIDP (Mobile Information Device Profile).We'll analyze the differences between J2MEUnit and JUnit frameworks and implement TestCae and TestSuite construction without reflection APIs.We'll still introduce how to test MIDP class library and some principles.
出处 《计算机工程与应用》 CSCD 北大核心 2006年第8期79-81,共3页 Computer Engineering and Applications
基金 Intel公司基金项目"J2MEClassLibswithSmallFootprint LowPowerandHighPerformanceonXScaleProcessor"的支持
关键词 J2MEUnit MIDP REFLECTION TEST J2MEUnit, MIDP, Reflection, test
  • 相关文献

参考文献4

  • 1Kim Topley.J2ME in a Nutshell[M].O'Relly & Associates,2002
  • 2Mobile Information Device Profile for JavaTM 2 Micro Edition.Motorola,Inc and Sun Microsystems.Inc,2002
  • 3Mobile Information Device Profile(JSR-37) JCP Specification J2ME,1.0a.Sun Microsystems,Inc,2000
  • 4J2MEUnit Documentation(Based on Junit).http://sourceforge.net/projects/j2meunit/

同被引文献3

引证文献3

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部