该代码可以模拟组件来更改Calculator Web服务资源的状态。
This code simulates a component that changes the state of the Calculator WS-Resource.
随后,在模拟组件发挥作用时,您可以从配置中删除模拟器,然后重新运行测试。
Later, when the emulated component is functioning, you can rerun the test after removing the emulator from the configuration.
如果集成测试客户端未运行,则将不再模拟组件,并且其实现将运行,而不需要进一步更改。
When the integration test client is not running, then components are no longer emulated and their own implementations run without further changes.
谷歌VR音频系统提供了一个复杂却又简单易用的房间模拟组件增强虚拟现实体验。
The Google VR Audio system offers a sophisticated yet easy-to-use room simulation component to enhance the VR experience.
如果在每次模拟组件时厌倦了输入值,或者甚至厌倦了从数据池选取数据,则使用编程式模拟非常有用。
Using programmatic emulation is useful if you are tired of entering values or even picking values from the data pool every time a component is emulated.
在附加模式中,集成测试客户端监视和模拟组件,并在模块运行时进行连接,但是它不是先调用组件,而是外部源执行调用。
In attach mode, the integration test client monitors and emulates components and wires as a module runs, but it doesn't first invoke a component; instead, an external source does the invoking.
在数字域中将数字偏移与音频信号组合以取消由处理所述相同音频信号的一个或一个以上模拟组件引起的输出偏移。
A digital offset is combined with an audio signal in the digital domain to cancel an output offset caused by one or more analog components processing the same audio signal.
我们真的能够在PC中模拟大型机操作系统及其所有组件吗?
Can we really emulate a mainframe operating system and all its components in a PC?
在这种情况下,如果您需要监视或模拟其他模块中的组件,则可以使用我们在附加到模块部分中介绍的附加功能。
In this case, if you need to monitor or emulate components in the other modules, use the attach feature that we describe in the Attaching to a module section.
我们已经建立了模拟sca组件的需求(如人工任务和外部服务),以便它们可以在BPEL流程中驱动特定的代码路径。
We have established the need to emulate SCA components such as human tasks and external services so that they can drive particular code paths in the BPEL process.
该组件按照测试计划的要求进行重复,以模拟一个特定数目的并发用户。
This component was repeated as required in a test plan to emulate a specific number of concurrent users.
使用手动模拟,集成测试客户端将暂停并等待您输入输出数据,然后将该数据发送到模拟的组件或引用的调用程序。
With manual emulation, the integration test client stops and waits for you to enter output data, and then sends that data to the caller of the component or reference that was emulated.
正如我们经常提到的,您可以模拟不需要测试的组件,这意味着集成测试客户端将为服务调用提供返回值。
As we mentioned frequently, you can emulate components that you don't want to be part of a test, which means that the integration test client will provide return values for a service call.
集成测试客户端将自动模拟无法调用的内容,如没有任何实现的组件、没有任何绑定的导入和未连接的引用。
The integration test client will automatically emulate anything that can't be called, such as components that have no implementation, imports that have no binding, and references that aren't wired.
我们还讨论了在应用程序页面上保持一致连接的策略。最后介绍了一个简单的组件,它让您能够看到快速模拟的UI设计。
We also discussed strategies for maintaining consistent wiring on the pages of your application and finished with a simple component for quickly mocking up UI designs for previewing.
在本文的其余部分中,我们将介绍如何实现简单的模拟对象方案,其中利用一组库和组件大大减少了所需的工作。
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.
模拟对象允许您对组件进行测试,而不必依赖于外部资源。
A mock object enables you to test your component without having to depend on the external resource.
第二个组件用于PC平台模拟,它是由修改版QEMU提供的。
The second component provides for PC platform emulation, which is provided by a modified version of QEMU.
如果使用导入和导出上的SCA绑定进行组件之间的调用,则将监视和模拟所选的每个模块。
If the calls between components are made using SCA bindings on the imports and exports, then each other module that was selected will be monitored and emulated.
其他组件、导入和导出是模拟的,这意味着您需要输入组件、导入和导出要返回的值。
The other components, imports, and exports are emulated, which means that you need to enter values that you want the components, imports, and exports to return.
这将模拟未选择的组件。
测试模块(而不是组件)时,将禁用模拟。
When testing modules (as opposed to components), emulation is disabled.
一个用于模拟PC硬件的用户空间组件;目前,这是在用户空间处理的,并且是经过稍微修改的QEMU进程。
A user-space component for emulating PC hardware; currently, this is handled in the user space and is a lightly modified QEMU process.
当ProcessOrder组件接收模拟事件时,只需单击Continue。
When the ProcessOrder component receives the emulate event, just click Continue.
现在我们已经将模拟ServiceController接口添加到MockCustomer组件,这时您将看到一条错误,因为我们还没有实现所需的操作(图25)。
Now that we have added the mock Service Controller interface to the MockCustomer component, you will see an error because we have no implementation of the required operations (Figure 25).
图1演示了一个模拟Web表单的简单ajax组件。
Figure 1 demonstrates a simple Ajax component that emulates a Web form.
缺省情况下,TestComponentWizard模拟下游s ca组件,这不是我们需要的结果。
By default, the Test component Wizard emulates downstream SCA components which is not the our desired result.
您实际上并不需要任何真正的业务组件以驱动导入,因为WebSphereIntegrationDeveloper的模块测试功能将模拟业务组件。
You don't actually need to have any real business component driving the import because WebSphere Integration Developer's module testing capabilities will emulate a business component.
然后,我们的模拟对象将同时实现它替换的组件的服务接口和控制器接口。
Our mock object will then implement both the service interface of the component it is replacing, plus the controller interface. An outline of a mock object implementation would look like
模拟Customer组件的主要作用是提供CustomerService接口。
The primary role of the Mock Customer component is to provide the CustomerService interface.
应用推荐