An artifact type represents the deployable object that can be contained with a unit.
一个工件类型就代表一个包含在单元内的可部署对象。
The unit test methods first verify that the object provided is not null, and then perform one or more very basic actions on the object.
单元测试方法首先验证所提供的对象不是空的,然后对该对象执行一个或多个非常基础的操作。
In a unit test case, for example, the execution environment for the object is the test case itself, and the test setup code is tasked with satisfying the dependencies directly.
例如,在单元测试用例中,对象的执行环境是测试用例本身,所以测试设置代码有责任直接满足依赖项。
For example, to unit test an object that USES a database, it may be burdensome to install, configure, and seed a local copy of the database, run your tests, then tear the local database down again.
例如,要单元测试一个使用数据库的对象,安装、配置和发送本地数据库副本、运行测试然后再卸装本地数据库可能很麻烦。
The time you spend unit testing object serialization now will be paid back manyfold in the time you save on debugging later.
您花费在对象串行化单元测试上的时间将为您带来成倍的回报,此后调试时您能节省的时间将数倍于投入时间。
The first level consists of the performance object, which is a unit that can model a physical device or abstract component in a system.
第一级包括性能对象,它是可以为物理设备建模,或者抽象系统中组件的单元。
The value of unit tests (which is considerable) is that they enable developers to guarantee object reliability at the lowest possible level.
单元测试的重大价值在于:它们使开发人员能够在尽可能低的层面上保证对象的可靠性。
Owner chain: This is the set of objects in the chain of object references from the leak root to the leaking unit.
所有者链:这是从泄漏根到泄漏单元的对象引用链中的对象集。
Optional: create a unit test to assure that the original target object's factory method still returns the correct, non-mock object.
可选的:创建单元测试以确保原始目标对象的工厂方法仍返回正确的非模仿对象。
Wicket supports out-of-container unit testing through the use of a built-in mock object framework.
Wicket通过使用内置的模仿对象框架提供对容器外单元测试的支持。
Also, the need to provide an InvocationContext object makes it much harder to unit test advice methods.
而且,需要提供一个InvocationContext对象使得单元测试通知方法困难得多。
As you'll see in just a moment, dealing with this injected log object when writing unit tests requires an extra step.
您稍后将会看到,编写单元测试时,处理这个注入的log对象需要一个额外步骤。
Or the tested object may make use of objects with side effects that may not be desirable in unit testing, like file objects that delete files.
或者,测试对象会使用具有副作用的对象,如删除文件的File对象,而在单元测试中不希望有这些副作用。
OdfTableCell is the unit constituting a table element, and each cell object can be used to place values, paragraphs, and other text content; usually it's necessary to set these three property values.
OdfTableCell是组成表格元素的单元,每个单元格对象可以用来放值、段落和其他文本内容;通常需要设置三个属性值。
That is, we no longer check that the final balance of the test account is correct; we would check that function in the unit test for the Transaction object, not the AtmGui object.
也就是说,我们不再检查测试帐户的最终余额是否正确;我们将在对Transaction对象的单元测试中检查该函数,而不是在对atmgui对象的单元测试中。
When a doh.Deferred object is returned from a unit test, you must catch all errors from the asynch call and pass them to the object's errback method.
当从单元测试中返回一个doh.Deferred对象时,必须捕获异步调用中产生的所有错误信息并把它们传递给对象的errback方法。
It basically holds the relationship between a source container unit (that has a member type of requirement for a specific type of object) and target member unit of that object type.
它主要维持一个源容器单元(它拥有目标特定类型requirement类型成员)和目标类型的目标成员单元之间的关系。
The standard Create unit has special sensors for other events, such as when the unit bumps into a wall or object and when the unit is at the edge of a surface like a table.
标准的Create单元还有一些用于其他事件的特殊传感器,例如:当工作单元撞到墙壁的时侯,或者当工作单元位于桌子边缘的时侯。
The isolated notion of unit testing is behind the myriad mock-object libraries that facilitate isolating a particular object from its external dependencies.
单元测试的隔离概念有无数的模拟对象库作后盾,这些库便利了将一个特定的对象从其外部依赖项中隔离出来。
In Object-Oriented programming (Schach, 2002), an object is a self-contained programming unit, consisting of both data and functionality to manipulate the data.
在面向对象编程中(Schach, 2002),对象是一个自我包含的程序单元,既包含数据也包含操纵数据的函数。
With normal software each object must be referenced via pointer chains to roots, preventing any semantic groupings and raising the question, “What is the atomic unit in this context?”
而在其它软件中,对象需要通过指针链来找到根对象,这导致语义分组无法使用,并引发这样的问 题:“在这种情况下,原子单位是什么?”
Upon approach, the viewer realizes that the unit of aggregation is a familiar object: a common chair that they have sat in before.
在方法上,观众意识到,聚集的单元是熟悉的对象:他们以前坐过的普通的椅子。
Each of these unit test methods takes an object of a specific class and a string (where the string is expected to be the name of the getter method that you are testing).
每个单元测试方法获取一个具体类的对象和一个字符串(字符串应该是您在测试的getter方法的名称)。
Look for groups of files that solve a particular problem, like how to persist an object (including doc and j-unit test files).
寻找解决某个特定问题的文件组,例如如何保存某个对象(包括文档和j -unit测试文件)。
Access Unit (AU) is an important functional object in Message Handling system (MHS). Various traditional communication systems can be integrated into MHSwith it.
访问单元(AU)是信报处理系统(MHS)的重要功能对象,信报处理系统通过它可以与传统的通信系统集成。
On the study of system evaluation approach today, each decision unit is commonly regarded as one object and selected by evaluation institution, which is not reality because of the absence of rivalry.
在现今的系统评估方法研究中,通常把每一决策单元,即被评估者看成一种客体,被动地由评估者进行优选,缺乏竞争性,往往与现实不符。
The paper set up a model of hydro unit maintenance , whose object is the max income in the life period of unit, considering the economic factors of the power market and restrictions of hydro units.
本论文建立了水电机组最优检修间隔模型,以机组在寿命期内的收益最大为目标函数,考虑了电力市场的经济因素和水电机组的约束条件。
Should any solid object or liquid fall into the cabinet, unplug the unit and have it checked by qualified personnel before operating it any further.
万一有异物或液体进入机内,请拔下本机的电源插头,并经维修人员检查之后方可继续使用。
This crime infringes complicated object, main object is medical unit public health of medical treatment manage the order, Secondary object is the life and health right of patients.
本罪侵犯的是复杂客体,主要客体是医疗单位医疗方面的公共卫生管理秩序,次要客体是就诊人的生命健康权。
This crime infringes complicated object, main object is medical unit public health of medical treatment manage the order, Secondary object is the life and health right of patients.
本罪侵犯的是复杂客体,主要客体是医疗单位医疗方面的公共卫生管理秩序,次要客体是就诊人的生命健康权。
应用推荐