Since the method under test is written to the interfaces, we can create a mock object for each interface for our tests.
既然测试里的方法写在接口中,我们可以为我们测试的每一个接口创建一个模拟对象。
Unfortunately, most of these methods are not documented, making it a painful task to test each method to check the impact it has on the user interface.
不幸的是,大部分的这些方法都没有相应的文档,这使得测试每个方法以检查它对用户界面的影响这样的一项任务相当烦人。
A method for the testing of electronic components comprises an interface driving a test device.
一种测试电子元件的方法包括驱动测试装置的界面。
应用推荐