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.
对于这个特殊的情况,在这三个操作中都有相同的代码。
So, when react receives a Notify or a “stop” message all of the code for that case is executed.
因此,当收到一个通知或一个“停止”消息时,所有用于这一情况的代码将被执行。
In either case, use the empty code models that you created earlier.
在每一种情况下,都要使用您先前创建的空的代码模型。
The advice can contain the authentication code or, as in this case, it can invoke another method.
通知可以包含认证代码,或者就像在这个示例中一样,可以调用其他方法。
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.
不管是什么情况,代码都会处理它并保证您得到要查找的所有内容。
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 addition, almost all of these tools require you to manually write test case code.
另外,几乎所有这些工具都要求您手动书写测试用例代码。
In this context, artifacts can be anything, such as a requirement, a design model, implementation code, or a test case.
在此上下文中,构件可以为任意内容,如需求、设计模型、实现代码或测试用例等。
Listing 4 shows the full code of the test case object.
清单4显示了测试用例对象的完整代码。
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.
测试代码的变更:您增加的用来改善代码覆盖率的测试用例可能导致变慢,也有可能这部分代码特别容易影响速度。
In this case, the code in Listing 5 would change to that shown in Listing 6.
在这种情况下,清单5中的代码应该改为清单6。
Write your test cases first, and write only enough code to make your test case pass.
首先编写测试用例,并且只编写足以让测试用例通过的代码。
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代码的一个简单测试用例。
Review code samples for a specific use case.
查看样例代码,了解一个用例。
The advantage of this approach is that it doesn't require any changes to the code, even in case of URI changes.
该方法的优势是不需要对代码做任何改变,即使URI 发生变化。
Listing 3 (quotes.js) is the application code for this case.
清单3 (quotes . js)是这种情况下的应用程序代码。
Use coupon code IBM5423 (case sensitive) and receive 35% off.
使用优惠券代码ibm 5423(区分大小写),获得35%的优惠。
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.
测试使得只有当文件作为命令运行时才运行测试用例代码。
Listing 3 shows the code for this use case.
清单3显示了这一用例的代码。
In this case, the code declares inheritance from base dijit._Widget and dijit._Templated.
在本例中,此段代码声明了base dijit . _ Widget和dijit . _ Templated的继承。
I should write only enough code to make the test case pass.
我应该只编写少量代码,只要使测试通过即可。
I should write only enough code to make the test case pass.
我应该只编写少量代码,只要使测试通过即可。
应用推荐