必须要在了解异步上下文的基础上对这个测试示例本身进行编写。
The test case itself must also be written with the understanding of an asynchronous context.
惟一的不同是,该测试将发生在计时器的上下文中。
The only difference is that it will happen in the context of a timer.
现在,我们可以使测试类在以下两个上下文中执行测试。
We now we have our test class available for execution in two contexts.
现在,我们可以使测试类在以下两个上下文中执行测试。
We now we have our test class available for execution in two contexts.
应用推荐