N头条>英语词典>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。

双语例句

  • Mocks are not stubs: Martin Fowler's timeless classic walks you through the difference between stubs and mock objects.
    Mocksarenotstubs:MartinFowler永恒的经典论述为您分析了stub和mock对象间的差异。
  • So a good approach is to develop service mocks, mock objects that are simple emulators of real services.
    因此,一个不错的方法就是开发服务模拟,模拟对象是实际服务的简单仿真程序。
  • Should all of your tests be database-backed, or should you use mocks and stubs to isolate functional tests?
    所有测试是否应该全部受数据库支撑,是否应使用mock和stub来隔离功能测试?
  • The exaggerated way the name is uttered humorously mocks the way the media exploits him for sensational effect.
    他的名字发音的夸张方式,诙谐地讽刺了媒体为追逐轰动效应而利用他的方式。
  • Use stubs for state based testing, use mocks for interaction based testing.
    用stub来做基于状态的测试,使用mock做基于交互的测试。
  • Nice mocks supply reasonable defaults for methods you don't explicitly mock.
    Nicemock为没有显式地提供mock的方法提供合理的默认值。
  • Ideally, the coordinator team will be able to successfully implement their coordinators using the agreed-upon service mocks.
    理想情况下,协调程序团队将可以使用达成一致的服务模拟来成功地实现他们的协调程序。
  • The mocks solve this problem.
    模拟解决了此问题。
  • By adding the EasyMock class extension, you can create mocks for classes too.
    通过添加EasyMock类扩展,还可以为类创建mock。
  • The provider teams employ the service mocks as prototypes and the service tests as requirements to implement the services.
    提供程序团队采用服务模拟作为原型,并将服务测试作为要求,从而实现服务。