• 首先,我们以一种简单而一般的方式来处理方法句柄,这是将方法(任意的JVM方法)作为行为单元来管理的,这样他们就可以直接调用了(本来就应该这样)。

    First, we factor out method handles as a simple and generic way of managing methods (arbitrary JVM methods) as units of behavior, which are (as methods should be) directly callable.

    youdao

  • 借鉴免疫网络的原理,构建了一个行为仲裁系统,对行为单元进行协调。

    By using immune network principle, a behavior arbitration system is built to select behavior.

    youdao

  • 如果您像其他许多程序员一样不喜欢为代码加注,则单元测试是记录代码行为的一种方法。

    If you're like many programmers who aren't fond of commenting code, unit tests are a way of documenting your code behavior.

    youdao

  • 第二个选择是模拟验证行为并将测试类保留在单元目录中。

    The second option is to mock out the validation behavior and leave the test in the unit directory.

    youdao

  • 我们可以用场景作为我们度量的一个单元,或者将描述系统行为的每一个步骤作为一个特性。

    We might use scenarios as the unit of measure or look at each step that describes system behavior as a feature.

    youdao

  • 应该遵循下面这条很好的原则:即只要您认为有必要对代码中的某个行为加注,就编写一个单元测试。

    A good guideline to follow is to write a unit test whenever you feel the need to comment some behavior in the code.

    youdao

  • 使用容器管理的事务(CMT)提供了两个关键的优势(如果没有容器支持这几乎是不可能的):可组合的工作单元和健壮的事务行为。

    Using container-managed transactions (CMTs) provides two key advantages that are nearly impossible to obtain without container support: composable units of work, and robust transactional behavior.

    youdao

  • 单元测试常常需要测试有细微差异的代码行为,因此涉及到相似和重复的情况。

    Unit tests often need to test nuanced behavior of the code under test, leading to similar and duplicated situations.

    youdao

  • 一种隐式地指定行为的方法是使用以JUnit(请参阅参考资料)编写的单元测试。

    One way to specify the behavior implicitly is to use unit tests written with JUnit (see Resources).

    youdao

  • 管片是盾构隧道最基本的结构单元,与正常使用阶段相比,管片在施工阶段承受的荷载及相应的力学行为均有较大差异。

    Segments are the basic structure units in shield tunnel. The loads and relative mechanical behaviors of segments are different between construction stage and regular service stage.

    youdao

  • 您也可以建立单元测试以确认新的或变更的行为。

    You can also create unit tests to verify new or changed behavior.

    youdao

  • 采用梯形梁单元分析砖石拱桥在载荷作用下的行为。

    A tapered beam element model is used to simulate the behaviour of a masonry arch bridge with loading.

    youdao

  • 结果:所构建髋臼模型共划分为121 239个结点、112 491个单元,客观反映髋臼真实解剖形态及生物力学行为。

    Results: the constructed 3d acetabular model was clearly reflected the real acetabulum anatomy and biomechanical behavior, it was divided into 121 239 nodes, 112 491 units.

    youdao

  • 提供有关如何定义单元测试以验证数据库对象的行为的信息和相关主题的链接。

    Provides information and links to additional topics about how you can define unit tests to verify the behavior of your database objects.

    youdao

  • 我们以讨论如何为您的控制器及其行为编写单元测试来结束本章。

    We complete this chapter by discussing how you can write unit tests for your controllers and actions.

    youdao

  • 电路(100)表示在整个工作电压范围具有改进迟滞行为的输入单元。

    The circuit (100) represents an input cell having an improved hysteresis behavior over the total operating voltage range.

    youdao

  • 提出了一个用于描述流化催化裂化单元提升管反应器、沉降器及再生器动态行为的计算机仿真模型。

    A model for a fluid catalytic cracking (FCC) unit which describes the dynamic behavior of the riser, particle separator vessel and the regenerator is developed.

    youdao

  • 对于桩的动力本构行为,则采用了可以考虑体积效应和轴向力影响的梁—柱单元来模拟。

    For the dynamic behaviour of piles, a beam-column element was used for considering the axial force-dependency as well as the volume effect.

    youdao

  • 行为驱动开发则更进一步,通过使用自然语言,直接把单元测试(以及测试用例)同需求联系起来。

    Behavior Driven Development goes further by directly associating unit tests (and test cases) with the requirements via the use of natural language.

    youdao

  • 然而,即使执行单元是一个线程,期望的事务管理器行为都是相同的。

    However, the desired behavior of the transaction manager would be the same even if the unit of execution was a thread.

    youdao

  • 指在一个社会单元中,人们对占据特定位置的个体所期望的一套行为模式。

    A set of behavior patterns expected of someone occupying a given position in a social unit.

    youdao

  • 角色;指在一个社会单元中,人们对占据特定位置的个体所期望的一套行为模式。

    Role: a set of behavior patterns expected of someone occupying a given position in a social unit.

    youdao

  • WSCI使用事务元素为Web服务行为建模,并且将一组行为作为一个工作单元。

    WSCI USES a transaction element to model the behavior of a web service and treats a number of activities as a single unit of work.

    youdao

  • 这个部分Jamie将给读者介绍行为驱动开发(BDD),同时他会解释BDD如何提高单元测试的有效性。

    In this part Jamie introduces the reader to behavior driven development and explains how it can improve the effectiveness of unit testing.

    youdao

  • 跟其他单元测试一样,消费者测试可用于驱动开发活动:开发者创建服务行为,以满足测试的期望。

    Much as any with other unit test, consumer tests can be used to drive development activities, with developers creating service behaviours to satisfy the tests' expectations.

    youdao

  • 组织单元测试:类或行为的类?从哪里开始?

    Organizing unit tests: classes of classes or behavioural? Where to start?

    youdao

  • 测试变更:您可以对已修改的资料库或伺服器执行现有的单元测试,以确认变更不会中断应用程序的任何行为。

    Test your changes: you can run existing unit tests against the modified database or server to verify that your changes do not break any behavior of your application.

    youdao

  • Mockito真的不需要期望行为,这简化了单元测试。

    Mockito really cleans up the unit test by not requiring expectations.

    youdao

  • 对废轮胎在鼓泡流化床热解反应器中热解时硫的迁移行为进行了试验研究,并基于带偏差单元的IRN神经网络对其进行了预测。

    The sulfur transformation during pyrolysis of used tires is studied in BFB reactor, and IRN neural network model is developed to test against observed behavior.

    youdao

  • 我们将行为教育、健康教育、励志教育分三个单元贯穿在我们教育活动的始终,让自主学习、合作学习成就每个孩子的智慧人生!

    We will let the behavior education, the health education, the encourage education become the theme of this term and we will let the self-learning, cooperation-learning achieve each kids' wise life!

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定