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.
有一次,教授并没有要求学生购买教科书,只是需要作业提交的访问码。
So, when react receives a Notify or a “stop” message all of the code for that case is executed.
因此,当收到一个通知或一个“停止”消息时,所有用于这一情况的代码将被执行。
As a learning exercise, try writing the code for the fourth use case yourself, but this time, sort by artist rather than by title.
作为一个练习,请自己试图为第四个使用案例编写代码,对艺术家而不是标题进行排序。
A tester can also code a test case manually i.e. without using the recording capabilities of the tool and capture the test objects later by identifying them using tool.
测试员还可以通过使用工具识别对象,可以在不使用工具的记录功能并获取测试对象的情况下,从而手动地为一个测试用例编码。
In this case, your transaction demarcation code is intermixed with code that implements the business logic.
在这种情况下,事务界定代码与实现业务逻辑的代码混杂在一起。
The advice can contain the authentication code or, as in this case, it can invoke another method.
通知可以包含认证代码,或者就像在这个示例中一样,可以调用其他方法。
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中的进行比较,确保你的所有命令都是正确的。
Each target object that you test must have at least two clients: your production code, and your test case.
进行测试的每个目标对象必须具备至少两个客户机:生产代码和测试用例。
This will demonstrate that although the user's experience does not change in either case, the code complexity varies a lot.
这将说明,虽然在任何一个应用程序中用户的体验没有变化,但代码复杂性发生了很大变化。
In this context, artifacts can be anything, such as a requirement, a design model, implementation code, or a test case.
在此上下文中,构件可以为任意内容,如需求、设计模型、实现代码或测试用例等。
Change in test code: a test case that you added to improve code coverage may be causing the slowdown, possibly exercising a peculiar portion that is vulnerable to speed.
测试代码的变更:您增加的用来改善代码覆盖率的测试用例可能导致变慢,也有可能这部分代码特别容易影响速度。
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 other words, if the directions in the SAD together with the actual Use-Case Specification are sufficient for the developer to build the code of the use case, the Use-Case Realization is empty.
换句话说,如果SAD中的指示,连同实际的用例规格说明对开发人员来说足够构建用例的代码,那么用例实现就是空的。
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的一行作为二进制数相加。
Write your test cases first, and write only enough code to make your test case pass.
首先编写测试用例,并且只编写足以让测试用例通过的代码。
In this activity, we must sort out the code that is specific to each use case and rebuild the corresponding high-level architecture of the code.
在此活动中,我们必须具体到每个用例的代码分类,并重新构建代码相应的高层架构。
The test cases are written first, and implementation proceeds by writing code to satisfy each test case.
将首先编写测试用例,然后将通过编写满足各个测试用例的代码来进行实现。
The pre-script might return a success or failure code, in the latter case the file will not enter into the load file set.
前脚本可能返回一个成功或失败代码,如果是后者,文件不会传入加载文件集。
The advantage of this approach is that it doesn't require any changes to the code, even in case of URI changes.
该方法的优势是不需要对代码做任何改变,即使URI 发生变化。
We build and maintain code analyzers, IDEs, test case management systems, automated testing tools, build systems, source control systems, code review schedulers, bug databases...
他们负责构建和维护代码分析器、开发环境、测试用例管理系统、自动化测试工具、构建系统、源代码控制系统、代码回顾计划、缺陷数据库。
In this particular case, the application code was constructed for deployment to WebLogic Server 6.1.
在这个特定的案例中,应用程序源码是为了部署WebLogic Server6.1而构造的。
Please note that you still need to throw whatever exception is caught by the invoked code (in this case, IOException).
请注意您还是需要抛出由被调用代码捕获的异常(在本例中,为IOException)。
Test above allows the test case code to run only if this file is run as a command.
测试使得只有当文件作为命令运行时才运行测试用例代码。
Refine the code: Change the automatically generated code according to the use case.
修改代码:根据用例来更改自动生成的代码。
In this case, the code has actually specified all the members of cluster c1 where the EJB is residing.
在本例中,代码实际上已经指定了EJB所在的集群c1的所有成员。
You may be wondering why you have been instructed to copy the identical test case source code from the client project to the server project.
您可能觉得很奇怪,为什么我会让您把完全一样的测试案例源代码从客户机工程复制到服务器工程。
With this approach, the code needs to handle the case where the call to the server fails.
使用这种方法,代码需要处理调用服务器失败的情况。
应用推荐