Commit 832307e
committed
[Win32] Remove WebView environment initialization in Edge browser tests
The browser tests contain a setup method that creates and directly
disposes a browser before the first test method when running on Windows.
It was supposed to trigger the Edge environment setup performed when
creating the Edge browser instance. This was originally introduced for
testing purposes because of tests sometimes running into timeouts. On
the contrary, it has a side effect on the first test to be executed, as
there is no proper cleanup like after all other tests is performed after
this initial setup method, e.g., the event loop is not spinned to
process pending events.
This change removes that additional setup/preparation logic. Instead, it
reinitializes the display to establish an isolated, clean state,
independent from previously executed tests in the same JVM.1 parent bd1cdd6 commit 832307e
File tree
1 file changed
+5
-7
lines changed- tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit
1 file changed
+5
-7
lines changedLines changed: 5 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
169 | 167 | | |
170 | 168 | | |
171 | 169 | | |
| |||
0 commit comments