在本文的其余部分中,我们将介绍如何实现简单的模拟对象方案,其中利用一组库和组件大大减少了所需的工作。
In the remainder of the article, we will show how to implement our simplistic mock object scheme, exploiting a set of libraries and components that greatly reduce the work required.
让我们研究一下每种可能的解决方案和一些可通过此方法来进行模拟的示例命令。
Let's look at each potential solution and some sample commands that can be emulated through this method.
许多模拟器解决这个难题所采取的一个方案是:建立一个针对文件系统调用的额外的解释层。
A solution to this dilemma, adopted in more than one emulator, is to set up an extra layer of interpretation for file system calls.
应用推荐