这个引用必须存在于测试中并且在条件块前。
The reference must exist in the test and precede the conditional block.
大多数情况下,一个条件块依靠一个引用的值发出用户输入动作。
In most cases, a conditional block issues user input actions depending on the value of a reference.
无需回头使用显式的(和冗长的)条件块,而是用规则定义自动处理问题。
Rather than revert back to explicit (and lengthy) conditional blocks, the rule definitions take care of matters automatically.
还可以看到,when关键词定义规则中的条件块,then关键词定义结果块。
You can also see that the when keyword defines the conditional part of a rule, and the then keyword defines the consequence part.
报告分支覆盖的工具试图度量决策点(比如包含逻辑AND或OR的条件块)的覆盖率。
Tools that report branch coverage attempt to measure the coverage of decision points, such as conditional blocks containing logical ANDs or ORs.
通过安排不同类型的对象来执行公共方法,我们将分派决定移到对象中并从显式条件块中消除。
By arranging for objects of different types to implement common methods, we move the dispatch decision into the objects and out of an explicit conditional block.
如果条件块为了输入而使用的引用不存在,那么就创建它(这在参考资料部分的文章addingdynamicdatatoyourWebservicetests中有解释)。
If the reference that the conditional block will use for input does not exist, create it (as explained in the article on adding dynamic data to your Web service tests in the Resources section).
在此示例中,代码块迭代,直至循环根据条件而中断。
In this example, the code block is iterated until the loop is broken through the condition.
交互块描述在某些条件或筛选器得到满足时,由于事件到达BusinessEvents中而触发的操作。
An interaction block describes the action that will be triggered by the arrival of an event in Business Events when some conditions, or Filters, are satisfied.
这可不是一件简单的技术:该小组检查了70多块骨头,仅仅找到一块,这是一块发现于克罗地亚Vindija洞穴中的大腿骨。它拥有足够好的条件来保证此项技术的顺利实现。
This was no mean feat: the team tested more than 70 bones and found just one, a thigh bone found in a cave in Vindija, Croatia, that was in good enough condition for the technique to succeed.
它们做的基本上是同一件事:测试一个条件,如果该条件为真,则继续执行提供的代码块。
Fundamentally, each of these does exactly the same thing: it tests a condition, and if true, continues to execute the block of code provided.
GO TO标签语句可以无条件地退出循环,并将控制权转移到跟在指定的语句标签之后的可执行语句或语句块。
The GOTO label statement can unconditionally exit from a loop and transfer control to the executable statement or statement block that follows the specified statement label.
在这种条件下,同步块中的值永远不会存在竞争。
Under those conditions the values in the synchronized block will never be contended for.
点燃香烟是你在压力下的条件反射,打开一块口香糖甚至就可以替代你的习惯性动作了。
Unwrapping a stick of gum can even turn out to be a substitute ritual for lighting up a cigarette as a conditioned response to stress.
筛选结果:当选择筛选结果时,会显示一块区域,通过某个条件,如用户ID,来筛选已显示数据。
Refine results: When you select refine results, an area is expanded where you can refine the displayed data by a condition, such as user ID.
只要它们能够在不接受帮助的条件上正确地完成任务,他们就会被奖励一块M&M糖果。如果它们通过点击帮助图标获取提示的方式完成任务,只能得到一个不太令它们满意的食物丸。
They were rewarded with an M&M candy each time they correctly completed the task without help and with a less desirable food pellet when they completed the task with hints from the help icon.
如果Google的股价涨了7块,同时我们改变了卖出Microsoft的条件,那么将会观察到不同的结果。
If the price of Google goes up seven dollars and we change our sell criteria for Microsoft, we observe different behavior.
点燃香烟是你在压力下的条件反射,打开一块口香糖甚至就可以替代你的习惯性动作了。
Unwrapping a stick of gum can even turn out to be a substitute ritual for lighting up a cigarette as a conditioned response to stress. More.
定义用于指定某个交互块在什么条件下为True的筛选器。
Define filters used to specify under what conditions an interaction block is true.
Groovy版本的filter()是findAll(),它可接受一个指明过滤条件的代码块。
The Groovy version of filter() is findAll(), which accepts a code block specifying your filter criteria.
同样,您可能希望向if块中的else条件添加断言,这里已经设置了该条件,或者向switch语句中的缺省情况中添加断言,使缺省情况永远不可能到达。
Likewise, you might want to add assertions to else conditions in if blocks, where conditions are assumed, or to default cases of a switch statement, which should never be reached.
这种设计可能会导致竞态条件,尤其是与Broadcast这样的块联合使用时更是如此。
This design, especially when combined with blocks like Broadcast, can lead to race conditions.
例如,概念主体和任务先决条件都允许公共块元素,如 p (段落)和ul (无序列表)。
For example, both the concept body and the task prerequisites permit common block elements such as p paragraphs and ul unordered lists.
它还可以采取动作;当解析器达到表达式中的那个条件点时,封装在中的代码块将会被执行。
It can also take actions; blocks of code enclosed in pairs will be executed when the parser reaches that point in an expression. For instance, one might write.
和大多数语言一样,Scala的if测试一个条件表达式,然后根据结果为真或假来跳转到响应语句块中。
As in most every language, Scala's if evaluates a conditional expression, then proceeds to a block if the result is true or branches to an alternate block if the result is false. A simple example.
为了优化自然采光和通风条件,建筑采用南向布局,并将整个建筑体块沿基地的北端的基地红线布置。
To optimize the natural light and air conditions, the building is orientated to the south and pushed to the northern site line.
同条件养护试块应放置在适当地方。
Those for equal condition maintenance shall be placed at suitable locations.
她坐着轮椅慢慢摇过来,从父亲手中接过酒瓶,“坐下,”她对豪厄尔说:“把那个领带拿掉,我的追求者要是戴着这么优雅的一块破布,我可没法和他谈条件。”
She lurched in her wheelchair and took the bottle out of her father’s hand. “Sit, ” she said to Howell.
块的串器还支持环回模式和先进的错误报告条件下,实现高效率的调试和管理整个系统。
The SerDes block also supports loop-back modes and advanced reporting of error conditions, which enables efficient debug and management of the entire system.
块的串器还支持环回模式和先进的错误报告条件下,实现高效率的调试和管理整个系统。
The SerDes block also supports loop-back modes and advanced reporting of error conditions, which enables efficient debug and management of the entire system.
应用推荐