Luckily, this special case code can be encapsulated and reused.
幸运的是,这种特殊代码可以封装并重用。
Test above allows the test case code to run only if this file is run as a command.
测试使得只有当文件作为命令运行时才运行测试用例代码。
In addition, almost all of these tools require you to manually write test case code.
另外,几乎所有这些工具都要求您手动书写测试用例代码。
Running unit tests assures that test case code will continue to find and return the correct objects.
运行单元测试确保测试用例能继续找到并返回正确的对象。
You do not have to write special-case code to handle different database management systems (DBMSs).
您不一定要撰写用来处理不同资料库管理系统 (DBMS) 的特定状况程式码。
Warning signs - watch out for tests that change frequently, boomerangs, test slippage, just in case code and shotgun surgery.
频繁改动的测试、退回返工、测试延误、以防万一的代码以及霰弹式修改(即到处修改)。
However, even noncancelable tasks should attempt to preserve the interrupted status in case code higher up on the call stack wants to act on the interruption after the noncancelable task completes.
但是,即使是不可取消的任务也应该尝试保留中断状态,以防在不可取消的任务结束之后,调用栈上更高层的代码需要对中断进行处理。
In this case, I rotate the line around the center of the movie with the code shown below.
在本例中,我用下面所示的代码使这条直线围绕动画的中心旋转。
In one case, the professor didn't require students to buy a textbook, just an access code to turn in homework.
有一次,教授并没有要求学生购买教科书,只是需要作业提交的访问码。
For this particluar case, the same code will be in all three actions.
对于这个特殊的情况,在这三个操作中都有相同的代码。
In such a case, the target action code cannot be placed in a view.
在这样的案例中,目标动作代码不能放置在视图中。
In either case, use the empty code models that you created earlier.
在每一种情况下,都要使用您先前创建的空的代码模型。
In this case, your transaction demarcation code is intermixed with code that implements the business logic.
在这种情况下,事务界定代码与实现业务逻辑的代码混杂在一起。
Consider the case that the code in Listing 1 illustrates.
考虑一下代码清单1中所演示的代码的情况。
In either case, your code covers you and ensures that you get all the content you're looking for.
不管是什么情况,代码都会处理它并保证您得到要查找的所有内容。
If for some reason this isn't the case, compare your code with Listing 1 to make sure you have all the correct commands.
如果由于一些原因这没有发生,把你的代码与列表1中的进行比较,确保你的所有命令都是正确的。
This will demonstrate that although the user's experience does not change in either case, the code complexity varies a lot.
这将说明,虽然在任何一个应用程序中用户的体验没有变化,但代码复杂性发生了很大变化。
Listing 4 shows the full code of the test case object.
清单4显示了测试用例对象的完整代码。
In this case, the code in Listing 5 would change to that shown in Listing 6.
在这种情况下,清单5中的代码应该改为清单6。
In either case, you can code up a row of the ca as a binary number.
不管是哪种情况,都可以将CA的一行作为二进制数相加。
In this case, the expected response is XML code.
在本例中,所期望的响应是XML代码。
Provides sample code for the use case described.
为所述的用例提供样例代码。
In this case the compiled code and bytecodes are part of the 16mb.
已编译代码和字节码是这16MB的一部分。
Listing 4 shows a simple test case for the GPS code.
清单4给出gps代码的一个简单测试用例。
Note that the cas must be executed in a loop, because it may fail one or more times before succeeding, which is always the case with code that USES cas.
注意,要在循环中执行CAS,因为它可能会失败一次或多次才能获得成功,使用CAS的代码总是这样。
Use coupon code IBM5423 (case sensitive) and receive 35% off.
使用优惠券代码ibm 5423(区分大小写),获得35%的优惠。
In this particular case, the application code was constructed for deployment to WebLogic Server 6.1.
在这个特定的案例中,应用程序源码是为了部署WebLogic Server6.1而构造的。
Similarly, you can use the EJB reference wizard to create an EJB local reference, in which case the code looks like this.
类似地,用户可以使用EJB引用向导创建e JB本地引用,代码如下。
In this case, the code has actually specified all the members of cluster c1 where the EJB is residing.
在本例中,代码实际上已经指定了EJB所在的集群c1的所有成员。
In this case, the code has actually specified all the members of cluster c1 where the EJB is residing.
在本例中,代码实际上已经指定了EJB所在的集群c1的所有成员。
应用推荐