As we mentioned frequently, you can emulate components that you don't want to be part of a test, which means that the integration test client will provide return values for a service call.
正如我们经常提到的,您可以模拟不需要测试的组件,这意味着集成测试客户端将为服务调用提供返回值。
Every time you call a function that can return an error, you need to be careful to check that your request produced the result you expected (or handle the error if it didn't).
每次您调用一个可以返回错误值的函数时,就必须小心地检查请求所生成的结果正是您所希望的(如果不是,就需要对错误进行处理)。
The only saving grace here is that the resource manager can still return XA_RDONLY (for "read only") from the prepare call to indicate that it has not actually done any work.
这里的惟一可取之处是资源管理器仍然可以从准备调用中返回 XA_RDONLY(用于“readonly”)以表明它实际没有做任何工作。
This call is also non-blocking, which means that getnb can return null.
此调用也是非阻塞的,这意味着getnb可以返回null。
Luckily, you can call map.keySet to return a Set, and then you are back in business.
幸运的是,可以调用map .keySet返回一个Set,然后就可以继续处理。
The method call will return a div with all error messages (if any exist), so that one can be easily displayed
这个方法调用将返回一个包含所有错误消息的div(如果有错误消息的话),可以很容易地显示它
The container can override an abstract (or concrete) method to return the result of performing a getBean() call at the time when the method is invoked.
容器能够重载一个抽象(或者具体)的方法来在方法被调用时返回执行getBean()调用的结果。
This can be very useful, but it can also lead to problems since the AcceptEx call will not return until data is received, even if a connection has been established.
这样可能是很有用的,但是也可能会引发问题,因为AcceptEx必须等全部客户端数据都收到了才返回。
Inlining always reduces the number of instructions executed (since at a minimum the call and return instructions are not executed), but it can (and often does), make the resulting code bigger.
内联总是减少指令执行的数量(这是由于最低限度的调用和返回指令没有被执行),但是它能(并经常)让结果代码变得很大。
A join point is "a well-defined point in the program flow." 3 There are many types of join points, such as a method call or a method return, which can be either a normal return or a thrown exception.
一个连接点是:一个在程序流程中定义明确的点。3连接点有很多类型,正如一个方法的调用或一个方法的返回,都可以是一个正常的返回或者抛出一个异常。
You can then use the return pointer to configure other aspects of the virtual file, such as the function to call when a read is performed on the file.
然后就可以使用这个返回的指针来配置这个虚拟文件的其他参数,例如在对该文件执行读操作时应该调用的函数。
Now that the Scheme variable has been created, you can simply call the Scheme function square2 (this time without an argument) and follow the same process to grab and dereference the return value.
现在已经创建了Scheme变量,接下来就可以调用scheme函数square2(这一次没有参数),并用相同的方式捕捉和取消引用返回值。
The return value of an asynchronous call can be recovered by calling the EndInvoke method.
异步调用的返回值可以通过EndInvoke方法回收。
For example, to limit the XML content size, you can call the standard XQuery function string-length before you return the XML.
比如,为了限制XML内容的大小,可以在返回XML之前调用标准XQuery函数string - length 。
From your studies so far, you know that Groovy closures are code blocks that can be referenced, parameterized, passed as a method parameter, and delivered as the return value from a method call.
学习至今,您知道了Groovy闭包是代码块,可以被引用、带参数、作为方法参数传递、作为返回值从方法调用返回。
In order to return the SQLCODE associated with a Perl DBI database handle or statement handle, you can call the err method.
为了返回与某个PerlDBI数据库句柄或语句句柄相关的SQLCODE,可以调用err方法。
我待会再回你的电话好吗?
Your HTTP request would simply return a job ID, which you can use to make another call to check on the status of the long running job.
只会返回一个HTTP请求的工作ID,您可以使用它来打另一个电话检查长时间运行的状态工作。
I can now call this procedure, return a result set, move that data into a collection, and then use the collection in a FORALL statement, as shown in Listing 3.
现在我们可以调用这个过程来返回结果集,并将数据保存在集合中,然后在FORALL语句中使用这个集合来达成目的。
You can then pick up the call from your headset and return to your music after ending the call.
然后,您可以从您拿起电话耳机,返回到您的音乐结束后调用。
Welcome customers to sample production to order, any problems can call or text message to come to consult, 13763330075 the first time we will return!
欢迎客户来样生产订做,任何有关问题均可致电或者短信前来咨询,1376 333 0075我们将会第一时间回复!
He can decide whether to expect another call from you or whether he should attempt to return your call.
他可能决定是否等你再次打电话,或者,是否他该给你回电话。
Hi, this is Bush. I can not come to the phone right now. You can leave a message after the beep. I'll return your call.
嗨,我是布什,我现在无法接听您的电话,您可以在哔声后留言,我会给您回电话。
Hi, this is Bush. I can not come to the phone right now. You can leave a message after the beep. I'll return your call.
嗨,我是布什,我现在无法接听您的电话,您可以在哔声后留言,我会给您回电话。
应用推荐