From 8bf615499ba242951696d49da5239dd479fe1c86 Mon Sep 17 00:00:00 2001 From: Aleksandar Kurtakov Date: Thu, 10 Jul 2025 12:33:39 +0300 Subject: [PATCH] Make isLocal disable param really disable It was wrongly bound to enable when the disable param is passed. --- .../org/eclipse/swt/tests/junit/Test_org_eclipse_swt_SWT.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_SWT.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_SWT.java index d6193dcd0a8..5412c6422f9 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_SWT.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_SWT.java @@ -31,7 +31,7 @@ import org.eclipse.swt.SWTError; import org.eclipse.swt.SWTException; import org.junit.jupiter.api.Test; -import org.junit.jupiter.api.condition.EnabledIfSystemProperty; +import org.junit.jupiter.api.condition.DisabledIfSystemProperty; /** * Automated Test Suite for class {@link org.eclipse.swt.SWT}. @@ -114,7 +114,7 @@ private List signersFromClass(Class classValue) { * GitHub Pull Requests. */ @Test - @EnabledIfSystemProperty(named = "org.eclipse.swt.tests.junit.disable.test_isLocal", matches = "true") + @DisabledIfSystemProperty(named = "org.eclipse.swt.tests.junit.disable.test_isLocal", matches = "true") public void test_isLocal() { String swtPath = pathFromClass(SWT.class); String tstPath = pathFromClass(Test_org_eclipse_swt_SWT.class);