词语吧>英语词典>mocks翻译和用法

mocks

英 [mɒks]

美 [mɑːks]

n.  (英国)模拟考试
v.  嘲笑; (模仿)嘲弄; 不尊重; 蔑视
mock的第三人称单数和复数

柯林斯词典

  • VERB 嘲笑;嘲弄;(模仿)取笑
    If someonemocksyou, they show or pretend that they think you are foolish or inferior, for example by saying something funny about you, or by imitating your behaviour.
    1. I thought you were mocking me...
      我还以为你是在嘲笑我。
    2. I distinctly remember mocking the idea...
      我清楚地记得曾经对这个想法嗤之以鼻。
    3. 'I'm astonished, Benjamin,' she mocked.
      “这太让我吃惊了,本杰明,”她嘲弄道。
  • ADJ 假的;仿制的;假装的
    You usemockto describe something which is not real or genuine, but which is intended to be very similar to the real thing.
    1. 'It's tragic!' swoons Jeffrey in mock horror...
      “真惨啊!”杰弗里假装吓昏了过去。
    2. One of them was subjected to a mock execution.
      他们当中有一个人受到了假处决。
    3. ...a mock Tudor mansion.
      仿都铎王朝时期风格的宅第
  • N-COUNT 模拟考试
    Mocksare practice exams that you take as part of your preparation for real exams.
    1. She went from a D in her mocks to a B in the real thing.
      她模拟考试得了D,到了真正考试的时候却拿了个B。

双语例句

  • Use stubs for state based testing, use mocks for interaction based testing.
    用stub来做基于状态的测试,使用mock做基于交互的测试。
  • These service mocks are simple prototypes of the real service providers.
    这些服务模拟是实际服务提供程序的简单原型。
  • Mocks are not stubs: Martin Fowler's timeless classic walks you through the difference between stubs and mock objects.
    Mocksarenotstubs:MartinFowler永恒的经典论述为您分析了stub和mock对象间的差异。
  • The echo mocks her origin to prove she is the original.
    回声戏弄着她的原声,为要证明她才是原声。
  • And they've developed service mocks, which are quick prototypes of how the real service will work.
    他们已经开发了服务模拟,这些模拟是表示实际服务将如何工作的快速原型。
  • By adding the EasyMock class extension, you can create mocks for classes too.
    通过添加EasyMock类扩展,还可以为类创建mock。
  • He took his mocks last October.
    他去年十月参加了模拟考试。
  • She went from a D in her mocks to a B in the real thing.
    她模拟考试得了D,到了真正考试的时候却拿了个B。
  • Rhino Mocks will now choose the appropriate mocking strategy based on the type you want.
    RhinoMocks将根据你想使用的类型选择合适的Mocking策略。
  • We create an email_provider.rb file in the/ test/ mocks/ test directory that defines the delivery method we want to mock out.
    我们在/test/mocks/test目录中创建一个emailprovider.rb文件,它定义我们要模拟的发送方法。