The method is absolutely essential and must be called to avoid test initialization failures.
该方法非常重要并且必须调用它才能避免测试初始化失败。
If you depend on it, it's wise to run a small test during installation or initialization to make sure it works correctly.
如果您依赖它,那么在安装或初始化期间运行小测试来确保它能正确工作,这样做将是明智的。
To test that Emacs is finding your initialization file, use your favorite text editor to add the entry in Listing 1, which turns on the clock in the Emacs status bar.
要测试Emacs是否正在查找初始化文件,可以使用您喜爱的文本编辑器添加清单1中这一项,它会在Emacs状态栏中打开时钟。
Now, we can call the reset method to start off each test run to ensure we are going through the initialization code for the singleton object on every test run.
现在,我们可以在每次测试之前调用reset方法,保证我们在每次测试过程中都会先执行singleton对象的初始化代码。
While this code is specific to a Printer, it is oblivious to whether the test is for printing or initialization, or to whether Printer is the target of a method call or a parameter to a method.
虽然这段代码是针对Printer的,但无论测试的是打印还是初始化,无论printer是方法调用的目标还是方法参数,都没有关系。
Move the line that initializes account from the test method to setUp , then delete the declaration and initialization from the other test method. Your test class should now look like Listing 8.
将初始化account的代码从测试方法移到setUp,然后删除其它测试方法中的声明和初始化。
Prior to starting a test, the information for creating the file should be specified and the PerformanceLogger INSTANCE initialized. The initialization code might look like this.
在开始一项测试之前,应该先指定创建文件的信息,并且初始化performancelogger INSTANCE。
Initialization of directional reaction is the psychological mechanism of conversation before test.
定向反射初始化是犯罪心理测试前谈话的心理机制。
The following examples demonstrate the initialization and clean-up attributes that are used to indicate which methods should be run by the test engine at different periods of the test.
下面的示例演示初始化和清理属性,这些属性用于指示在测试的不同时期测试引擎应运行哪些方法。
In this case, the initialization time counts toward the time limit that is imposed on the first test, and it therefore could cause that test to fail.
在这种情况下,初始设定时间会计入对第一项测试所加的时间限制中,因此可能导致测试失败。
Software consists of system initialization, self-test, measurement range selection, balance parameter setting, calibration coefficients determining, access programs of keyboard and LCD.
软件部分主要包括系统的初始化、自检、量程选择、平衡参数设置、定标系数确定、动平衡测量、键盘中断处理、彩色液晶显示等模块。
The amount of time that the initialization methods use is added to the amount of time that the first test USES.
第一项测试使用的时间会加上初始设定方法所用的时间。
The amount of time that the initialization methods use is added to the amount of time that the first test USES.
第一项测试使用的时间会加上初始设定方法所用的时间。
应用推荐