stubbing
英 [ˈstʌbɪŋ]
美 [ˈstʌbɪŋ]
v. 脚趾不小心踢到…上
stub的现在分词
复数:stubbings
柯林斯词典
- 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.
双语例句
- Greg: Oh no! Look here, people have been stubbing their cigarettes out on the sofa.
格雷哥:哎呦,看这里,有人在沙发上把烟头按熄。 - Notice that by stubbing out the DOM elements we can test the side effects of the render method without actually doing anything that could invalidate other tests within the test page.
请注意通过使用DOM元素的stub,我们可以测试render方法的结果,而不必实际去做任何事情,这些事情可能导致测试页面的其他测试失效。 - Stubbing simply replaces a real-world implementation with a simpler implementation.
stub即是用更简单的实现代替真实世界中的实现。 - Support for stubbing of method calls and properties access
支持方法调用和属性访问桩 - Try stubbing out functions to identify which code paths are causing the native leak.
尝试删除一些功能以确定哪些代码路径在造成本机泄漏。 - "Wuhan is a model city in implementing Beijing's rules of regulating local government debt," he said in between lighting up cigarettes and stubbing them out in an overflowing ashtray.
在点起香烟然后又在满溢的烟灰缸里把它弄熄的当儿,他说:「在落实北京规范地方政府债务的指令方面,武汉是个模范城市。」 - In fact, Denny said," they seem to be stubbing their toes on life's vicissitudes, just like we all do. "
其实,丹尼说,“他们似乎就和我们一样,在坎坷人生中遭遇挫折。” - "I really must give up smoking," said ian, stubbing out another cigarette in the ashtray.
“我真的必须把烟戒了,”伊恩说道,同时把又一支香烟掐灭在烟灰缸里。 - Many developers confuse the ideas behind stubbing and mocking.
很多开发人员对stub和mock这两个概念都不是很清楚,很容易混淆。 - By stubbing out the network client we can now test the getBalance method.
通过网络客户端stub,我们现在能够测试getBalance方法。