stubs
英 [stʌbz]
美 [stʌbz]
n. (烟、铅笔等的)残余部分,残端; 存根; 票根
v. 脚趾不小心踢到…上
stub的第三人称单数和复数
柯林斯词典
- N-COUNT 残根;残端;(铅笔)头;(烟)蒂
Thestubof a cigarette or a pencil is the last short piece of it which remains when the rest has been used.- He pulled the stub of a pencil from behind his ear.
他从耳后拿出一小段铅笔头。 - ...an ashtray of cigarette stubs.
一烟缸的烟蒂
- He pulled the stub of a pencil from behind his ear.
- N-COUNT 票根;存根
A ticketstubis the part that you keep when you go in to watch a performance.- Fans who still have their original ticket stubs should contact Sheffield Arena by July 3.
仍保留原始票根的球迷请于 7 月 3 号前和谢菲尔德体育馆联系。
- Fans who still have their original ticket stubs should contact Sheffield Arena by July 3.
- (支票的)存根
A chequestubis the small part that you keep as a record of what you have paid. - VERB 不小心踢到(脚趾)
If youstubyourtoe, you hurt it by accidentally kicking something.- I stubbed my toes against a table leg.
我不小心踢到桌子腿上。
- I stubbed my toes against a table leg.
双语例句
- You now have the stubs for each of the operations in system. groovy, and you know how to invoke the various methods based on the URL and HTTP method you choose.
此时已经拥有了system.groovy中每个操作的存根,并且已了解如何基于所选择的URL和HTTP方法来引用不同的方法。 - Should all of your tests be database-backed, or should you use mocks and stubs to isolate functional tests?
所有测试是否应该全部受数据库支撑,是否应使用mock和stub来隔离功能测试? - First, you need to write a Web service and then generate the stubs for that Web service.
首先,您需要编写Web服务,并随后为该Web服务生成存根。 - Note that Seam does not generate stubs and complex types for all components that specify a method as remote.
注意,Seam并不为所有指定一个方法为远端的所有组件都生成存根和复杂类型。 - For every model and controller you create, corresponding test stubs are created.
对于您创建的每个模型和控制器,都会创建对应的测试存根。 - There can be different implementations of stubs based on the binding requirements.
根据绑定要求可以存在不同的存根实现。 - It contains the remote stubs and complex types that are needed to interact with your server-side components.
它包含远端存根和与服务器端组件进行交互所需的复杂类型。 - Code generation and reflection take care of client stubs and server-side skeleton proxies.
代码生成和反射将负责处理客户机存根和服务器端主干代理(server-sideskeletonproxies)。 - At any given stage, all the stubs and ties of the next stage must be on the classpath.
在任何给定阶段,下一阶段的所有stub和tie都必须在类路径上。 - This is a classic example of the limitations of stubs and why mock objects serve a purpose.
这是一个经典例子,说明了stub的局限性,以及为什么使用mock对象。