Listing 22 has fixtures that are defined and used on an individual test case.
在清单22中,在一个测试用例上定义和使用了装备。
In this case, the closure's lifetime will actually be longer than the method that has defined them.
在本例中,闭包的生命周期实际上比定义闭包的方法长。
The script "num" we defined earlier has the type script because it is a function that when executed yields an integer value (in this case the integer 42).
我们早先定义的脚本“num”具有Script类型,这是由于它本身就是一个在执行时会生成一个整数值的函数(在这个例子中,这个整数值是42)。
The test case applies a defined set of inputs and also measures a de-fined set of outputs in order to validate that some program characteristic has been implemented without introducing any bugs.
测试用例定义了一系列输入,同时也可以定义一系列输出,以验证被执行的某些程序特性没有引入任何Bug。
Both versions end with a step like "the use case ends" or "the use case ends when..." to indicate that the logic for the course of action has been completely defined.
两个版本都以类似“用例结束”或“在某些情况下用例结束”的步骤结束,以表示已经完全定义了操作过程的逻辑。
The exists function determines whether a variable with the name specified by the string (in this case, the global variable g: syntax_on) has been defined.
exists函数确定是否定义了一个具有由字符串定义的名称的变量(在本例中为全局变量g: syntax_on)。
In the case of a SIBus text message, this root object has a property called "data" defined on it, which in turn has a property called "value".
对于SIBus文本消息,此根对象中定义了一个名为“data”的属性,而该属性又有一个名为“value”的属性。
In the current case, there is only one "shipped on board" date, and hence the basic requirement as defined above has been fulfilled.
在现在的案例中,只有一个“已装船”日期,因此上述规定的要求已经满足。
In this case, a document is defined to be any file type that has an open or default action associated with it.
在这个状况中,文件是定义成具有与其相关的开启或预设动作的任何档案类型。
Andrea has defined this season as a failure in case that we don't reach the Champions League?
皮尔洛认为没有打进冠军联赛,我们这个赛季就是失败的?
Andrea has defined this season as a failure in case that we don't reach the Champions League?
皮尔洛认为没有打进冠军联赛,我们这个赛季就是失败的?
应用推荐