mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-28 01:07:49 +08:00
testing_faq: PlatformTestUtil.startPerformanceTest
This commit is contained in:
parent
b1d0765446
commit
017ce2e28d
@ -42,6 +42,10 @@ Use [`FileBasedTestCaseHelper`](upsource:///platform/testFramework/src/com/intel
|
||||
|
||||
Use `UsefulTestCase.getTestName()` or create your own annotation(s) which can be checked via `UsefulTestCase.annotatedWith()`.
|
||||
|
||||
### How to run performance test?
|
||||
|
||||
Use [`PlatformTestUtil.startPerformanceTest()`](upsource:///platform/testFramework/src/com/intellij/testFramework/PlatformTestUtil.java) to assert machine-adjusted metrics.
|
||||
|
||||
### How to dispatch pending UI events?
|
||||
|
||||
Use [`PlatformTestUtil.dispatchAllInvocationEventsInIdeEventQueue()`](upsource:///platform/testFramework/src/com/intellij/testFramework/PlatformTestUtil.java).
|
||||
|
Loading…
x
Reference in New Issue
Block a user