Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我使用 flexunit 进行测试时,我对 [Test]、[Test(async, ui)] 之类的元数据感到困惑,有人知道 flex 是如何解析元数据的吗?how to define my own metadata
how to define my own metadata
当您在测试方法中等待异步事件时,您应该使用 [Test(async)]。Async 告诉框架暂时不要声明该方法成功,并且我们需要考虑其他一些事情(一个事件)来做出该决定。