用定义好的异常去表达模式的失败,当然要排除测试中的异常类型。
Use typed exceptions to indicate the mode of failure, and except that type of exception in the test.
您可以根据自身机构的类别层次将资产分类,用定义的标签或元数据来作好标记,或者使用全文索引来检索。
You can categorize your assets according to your organization's unique classification hierarchy, tag them with labels or metadata that you define, or find them by simply using a full-text search.
一些人猜想,未来没有工作的世界可以用“不平等”这个词来定义:少数富人将拥有全部资本,而普通大众将在贫穷的荒原上挣扎。
Some imagine that the coming work-free world will be defined by inequality: A few wealthy people will own all the capital, and the masses will struggle in an impoverished wasteland.
爱因斯坦为达到实验目的使用了时间的定义,因为时间是用钟表测量的。
Einstein used a definition of time for experimental purposes, as that which is measured by a clock.
用例子比用概念更容易定义游戏。
现在,我可以通知SVG实现有一个新的定制元素,我用 元素定义了它的外观。
Now that I can notify the SVG implementation of a new custom element, I define how it looks with the element.
而消息是用XML定义的——XML 是一种数据格式,其本身就与编程语言和操作系统这些考虑事项无关。
The messages are defined in terms of XML -- a data format that is itself independent of programming languages and operating system considerations.
任何一个数都可以用,来定义反应的速率。
And any of those can be used to define the rate of reaction.
它帮助用日常语言定义词汇,与技术实现无关。
It helps define terms in every-day language, without regard to technical implementation.
契约用xml定义所有内容。
无需回头使用显式的(和冗长的)条件块,而是用规则定义自动处理问题。
Rather than revert back to explicit (and lengthy) conditional blocks, the rule definitions take care of matters automatically.
角色定义:用文字描述系统功能,和系统所需的服务。
Actor definitions: a textual description of the requestors of services provided by your system, and services provided to your system.
服务的操作和消息用wsdl定义。
The operations, and messages, for the services are defined using WSDL.
清单2展示了用xml定义的CheckStyle规则文件的一个代码片断。
Listing 2 shows a snippet of a CheckStyle rules file defined in XML.
Web服务是用WSDL文档定义的。
用户映射-对于希望用前面定义的服务器对象访问远程数据库的每个用户,都必须创建一个用户映射。
User mapping - a user mapping has to be defined for each user who wants to access the remote database using the previously defined server object.
我用箭头突出了这些定义。
另一个任务可能包括需求的详细说明,并附有编写用例,定义性能基准点的个人行为,等等。
Another Task might involve the elaboration of the Requirements with individual activities for writing use cases, defining performance benchmarks, and so forth.
这些锚或是输入按钮用自定义的图像作为背景的。
These are anchors or input buttons that have custom images assigned as their backgrounds.
然而,用捕捉组定义路由仅完成了一半工作。
Defining a route with capture groups is only half the jigsaw, though.
就是在这里用uml定义来创建类。
根据定义,用例应该具有有用的结果。
由用例定义的用户界面所需要的屏幕被识别出来,包括字段和导航路径。
The screens required for user interactions defined by the use case are identified, including fields and navigation paths.
如果脚本正在编写,用于创建用变量定义的大量网桥对象,这些对象的创建可以放在一个循环中。
If a script is being written to create a number of bridge objects defined by a variable, the creation of those objects can be placed inside a loop.
柏克莱所做的核心正是用感知来定义物体。
What Berkeley does is essentially identify the object with the perception.
不同项目之间的用例建模有着显著的不同;用例的定义、用例的关系、详细的程度等等都是经常被争论的。
Use-case modeling varies significantly from project to project; the definition of a use case, use-case relationships, level of detail, and so on, are all subject to debate.
截取程序要依照一组语法模式和用xml定义的过滤器来应用。
Interceptors are applied in accordance with a set of syntactical patterns and filters defined in the XML.
用ivm界面定义池非常简单。
Defining the pool was straightforward with the IVM interface.
用例定义是协作过程。
下次我将提供用例定义的更有意义的那些部分:方案及活动图。
Next time I'll finish up by providing the more significant parts of the use-case definition: the scenarios and the activity diagrams.
应用推荐