找词语>英语词典>stubbing翻译和用法

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.
    1. He pulled the stub of a pencil from behind his ear.
      他从耳后拿出一小段铅笔头。
    2. ...an ashtray of cigarette stubs.
      一烟缸的烟蒂
  • N-COUNT 票根;存根
    A ticketstubis the part that you keep when you go in to watch a performance.
    1. Fans who still have their original ticket stubs should contact Sheffield Arena by July 3.
      仍保留原始票根的球迷请于 7 月 3 号前和谢菲尔德体育馆联系。
  • (支票的)存根
    A chequestubis the small part that you keep as a record of what you have paid.
    1. VERB 不小心踢到(脚趾)
      If youstubyourtoe, you hurt it by accidentally kicking something.
      1. I stubbed my toes against a table leg.
        我不小心踢到桌子腿上。

    双语例句

    • By stubbing out the network client we can now test the getBalance method.
      通过网络客户端stub,我们现在能够测试getBalance方法。
    • By creating the UI first, and stubbing out or mocking any classes it needs, we can quickly get feedback on whether the UI matches the business's expectations.
      通过首先创建UI,并将所有它需要的类打桩,我们可以快速获得UI是否满足商业需求的反馈。
    • 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方法的结果,而不必实际去做任何事情,这些事情可能导致测试页面的其他测试失效。
    • In fact, Denny said," they seem to be stubbing their toes on life's vicissitudes, just like we all do. "
      其实,丹尼说,“他们似乎就和我们一样,在坎坷人生中遭遇挫折。”
    • If you have your own JNI libraries, try stubbing them out entirely one at a time to determine if they are causing the leak.
      如果您有自己的JNI库,尝试完全禁用它们,以确定它们是否会造成泄漏。
    • Try stubbing out functions to identify which code paths are causing the native leak.
      尝试删除一些功能以确定哪些代码路径在造成本机泄漏。
    • Many developers confuse the ideas behind stubbing and mocking.
      很多开发人员对stub和mock这两个概念都不是很清楚,很容易混淆。
    • In my home, the most important light is not the large chandelier in our dining room but the little night light that keeps me from stubbing my toe when I get up at night.
      在我的家里,最重要的灯不是我餐厅里的大吊灯,而是在我深夜起来让我不被绊到脚的小夜灯。
    • "I really must give up smoking," said ian, stubbing out another cigarette in the ashtray.
      “我真的必须把烟戒了,”伊恩说道,同时把又一支香烟掐灭在烟灰缸里。
    • Note, though, that the stubbing or removal of the Outlook item after a successful archiving is asynchronous ( whereas it was synchronous in the case of CSLD).
      但是要注意,在成功归档之后对Outlook项目的清除是异步进行的(而在CSLD中是同步的)。