阅读背景:

如何为android单元测试提供数据文件

来源:互联网 

I am developing software that loads information from XML files using Android's implementation of java.xml.parsers.DocumentBuilder and DocumentBuilderFactory. I am writing unit tests of my objects and I need to be able to provide a variety of xml files that will exercise the code under test. I am using Eclipse and have a separate Android Test Project. I cannot find a way to put the test xml into the test project such that the code under test can open the files. I am developing software that loads information




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: