Parser errors are returned in the Compilation Unit class instance.
解析器错误是在编译单元类实例中返回的。
The unit class includes stream classes and operating unit classes.
过程单元类包括物流类、能流类和单元模块类。
The unit class tests checks each function unit (user command, system call) of os which is based on safe mechanisms.
单元级测试针对操作系统的各个功能单元(用户命令、系统调用)进行安全机制的检查。
Mathew, I'd love for you to talk about this astronomy unit in class on Wednesday.
马修,我希望你能在周三的课上谈谈这一天文学单元。
As always, the unit tests for that class should capture the functionality for each of its methods.
像往常那样,该类的单元测试应该捕获其每个方法的功能。
Thus, the development team responsible for unit testing should make sure that class and sequence diagrams are included as project deliverables.
因此,这个负责单元测试的开发团队应该确保这个类和序列图包含在项目交付产品中。
If the project organization is using UML for modeling, unit testers will need sequence diagrams, class diagrams, and perhaps activity diagrams.
如果这个项目组织利用uml来建模,那么单元测试将需要序列图,类图,可能还会需要活动图。
From this domain validator class, you can instantiate and register your own unit and attribute validators.
从该域确认器类中,您可以实现并注册您自己的单元和属性确认器。
As long as all the test cases pass, I add the new unit test class to my unit test automation library, which gets run on every build.
只要通过所有的测试用例,我就将向单元测试自动库添加新的单元测试类,在每次构建时运行。
For example, when use cases and supporting tools are created, a unit tester can retrieve the appropriate class to verify.
例如,当创建用例和支持性工件时,一个单元测试人员可以恢复合适的类来验证。
The test class represents the usual unit of test execution that occurs while you are developing, and so we should consider carefully how many tests to include in any one class.
测试类表示在开发时发生的测试执行的常见单元,所以我们应仔细考虑任何一个类中包括了多少个测试。
As long as the class being tested behaves as expected, it won't notice the difference, and the unit test can check that the proper query was emitted.
只要正在被测试的类的行为如所期望的那样,它将不会注意到差异,而单元测试会检查是否发出了正确的查询。
It also generates a special class that can be used to unit test the objects created.
它还生成一个特殊的类,这个类可用于对创建的对象进行单元测试。
One interesting side effect of this approach is that it allows us to access private and protected members of a class via a closure, which can be handy for unit testing classes.
这种方法的一个有趣的副作用是允许通过闭包访问类的私有成员和受保护成员,这有利于对类执行单元测试。
You estimate a day to write each database access class and unit test it, so 150 tables at one table per day is 150 days.
估计您每天能编写一个数据库访问类并完成其单元测试,因此,150 个表要用 150天的时间。
The listing shows a utility class that gets used by the unit test.
这个清单给出单元测试使用的实用程序类。
Because code may be changed by an aspect, unit tests that run perfectly on a class may behave quite differently when the class is integrated into an AOP system.
由于代码可以被某一个方面所改变,在一个类上可以完美运行的单元测试当这个类被集成入一个AOP系统中可能会出现完全不同的运行状况。
Tests can be categorized according to the amount of code they exercise: a unit test verifies the functionality of a single software component, such as a function or a class.
可以将测试按照测试代码的多少分类:“单元测试”检验单一组件的功能,比如一个函数或者一个类。
In GUI terms, a "unit" involves cooperation of more than one GUI component, which can itself consist of more than one class.
在gui术语中,一个“单元”涉及多个GUI组件的协作,因此它本身包含不止一个类。
Instead, I would write the class that runs all the unit test cases against the methods in the class.
相反,我编写根据类中的方法运行所有单元测试用例的类。
So, the first unit of the class, so basically I'm going to go over the first half of the class today, and the second half of the class on Tuesday just because we have to start somewhere.
先来看看本课程的第一单元,今天先概要地复习一下这门课的第一部分,周二再回顾第二部分,为了有个起点。
With automated migration, teams can regularly perform dry runs that deploy the code into a clean "production class" environment, where automated unit and system-level tests may be executed.
在自动化移植中,团队可以将代码转入干净的“生产级”环境,在那里可以执行自动化的单元和系统级测试。
That's what these unit tests are: a set of coded use cases that document what a class does, given a controlled set of inputs.
那就是单元测试:一系列记录类所做工作的用例代码,提供输出控制。
The next step is to run your unit tests, fix the syntax errors (that is, implement the class with the interfaces just defined by your test), and run the tests again.
下一步就是运行您的单元测试,修正语法错误(即,编写一个类,使它实现您的测试刚定义的接口),并再次运行测试。
The function f is type as a function that takes a single input parameter of type View (another class from Android) and returns Unit, which is the Scala equivalent of void.
这个函数f的类型为带一个View 类型(Android中的另一个类)的输入参数的函数,并返回Unit,它是void在Scala 中的对等物。
As you can see, the unit test for a domain class now (with Grails 1.1) extends GrailsUnitTestCase.
可以看到,现在对一个域类的单元测试(在Grails 1.1中)扩展了GrailsUnitTestCase。
By extracting the highlighting logic, you can write unit tests for it by calling methods on the HighlightUtil class.
通过抽取突出显示逻辑,可以编写调用highlightutil类的方法的单元测试。
ITDs allows Roo to generate code in a separate compilation unit, but ITDs are combined into the same compiled class at compilation time.
ITDs允许Roo在一个单独的编译单元中生成代码,但ITDs在编译时被合并成同一个编译类。
JsfTestCase: This is the base test class for unit tests for Servlet and JSF components in a web application.
AbstractJsfTestCase:这是对web应用的Servlet和JSF组件进行单元测试的基础测试类。
If the validate (...) method of the UnitDomainValidator class is executed, then all registered unit validators are also called and the units are validated.
如果unitdomainvalidator类的validate(…)方法得到了调用,那么所有注册单元确认器也会等到调用,而单元也会等到确认。
应用推荐