Skip to content

TestColumnWrapLayout#testHorizontalMargins and #testVerticalMargins fail on Windows #3413

@HeikoKlare

Description

@HeikoKlare

The test cases TestColumnWrapLayout#testHorizontalMargins and TestColumnWrapLayout#testVerticalMargins seem to be failing since 17th October 2025.

First failing run seems to be this: https://github.com/eclipse-platform/eclipse.platform.ui/runs/52992703271

With all subsequent runs for different PRs and master builds also failing, e.g.:

expected:<Rectangle {0, 0, 150, 40}> but was:<Rectangle {178, 178, 150, 40}>
java.lang.AssertionError: expected:<Rectangle {0, 0, 150, 40}> but was:<Rectangle {178, 178, 150, 40}>
	at org.junit.Assert.fail(Assert.java:89)
	at org.junit.Assert.failNotEquals(Assert.java:835)
	at org.junit.Assert.assertEquals(Assert.java:120)
	at org.junit.Assert.assertEquals(Assert.java:146)
	at org.eclipse.ui.tests.forms.layout.TestColumnWrapLayout.testHorizontalMargins(TestColumnWrapLayout.java:156)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)

Probably caused by SWT change:

Which was already fixed via:

So failures should hopefully disappear again tomorrow.

Metadata

Metadata

Assignees

No one assigned

    Labels

    WindowsHappens on Windows OStestjunit test related things

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions