mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-30 18:27:49 +08:00
testing_faq.md: WaitFor
This commit is contained in:
parent
61ef45424d
commit
843fca0e7f
@ -101,7 +101,11 @@ Use [`ExtensionTestUtil`](upsource:///platform/testFramework/src/com/intellij/te
|
||||
|
||||
### How to wait for a specified amount of time?
|
||||
|
||||
Use `com.intellij.util.TimeoutUtil.sleep()`.
|
||||
If possible, use [](#how-to-wait-for-condition-with-timeout) approach. Otherwise, call `com.intellij.util.TimeoutUtil.sleep()`.
|
||||
|
||||
### How to wait for condition with timeout?
|
||||
|
||||
Use [`WaitFor`](upsource:///platform/util/src/com/intellij/util/WaitFor.java).
|
||||
|
||||
### How to test a JVM language?
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user