Skip to content

Commit 65ec239

Browse files
committed
Document Display.test_sleep's false positive problem
As this test has been tagged gtk4-todo, the intention is to make the test stop false positive results as part of gtk4-todo work. See #2757 for where the `@Tag`s were added. Part of #2714
1 parent dedd7ae commit 65ec239

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Display.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1337,6 +1337,12 @@ protected void asyncExec (Runnable runnable) {
13371337
}
13381338
}
13391339

1340+
/*
1341+
* this test false passes on GTK4 when not run in isolation. The test probably
1342+
* needs some work to ensure it is a valid test, such as making sure that it is
1343+
* the display.wake that wakes the first display.sleep call. Also checking the
1344+
* first call to display.sleep does return true.
1345+
*/
13401346
@Tag("gtk4-todo")
13411347
@Test
13421348
public void test_sleep() {

0 commit comments

Comments
 (0)