From 9b2e0c85ece4150f3905e3cc4866d29024572f64 Mon Sep 17 00:00:00 2001 From: Heiko Klare Date: Fri, 6 Jun 2025 15:01:10 +0200 Subject: [PATCH] Reduce visibility of test classes in Win32 fragment Some unit test classes in the Win32 fragment are declared as public. This is unnecessary and may lead to them being erroneously being considered in the API baseline. --- .../org/eclipse/swt/widgets/CoordinateSystemMapperTests.java | 2 +- .../win32/org/eclipse/swt/widgets/DisplayWin32Test.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bundles/org.eclipse.swt/Eclipse SWT Tests/win32/org/eclipse/swt/widgets/CoordinateSystemMapperTests.java b/bundles/org.eclipse.swt/Eclipse SWT Tests/win32/org/eclipse/swt/widgets/CoordinateSystemMapperTests.java index 5fc56ba05d1..d2c8068877a 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT Tests/win32/org/eclipse/swt/widgets/CoordinateSystemMapperTests.java +++ b/bundles/org.eclipse.swt/Eclipse SWT Tests/win32/org/eclipse/swt/widgets/CoordinateSystemMapperTests.java @@ -26,7 +26,7 @@ import org.junit.jupiter.params.provider.*; @TestInstance(TestInstance.Lifecycle.PER_CLASS) -public class CoordinateSystemMapperTests { +class CoordinateSystemMapperTests { Supplier getMonitorConsumer; Monitor[] monitors; diff --git a/bundles/org.eclipse.swt/Eclipse SWT Tests/win32/org/eclipse/swt/widgets/DisplayWin32Test.java b/bundles/org.eclipse.swt/Eclipse SWT Tests/win32/org/eclipse/swt/widgets/DisplayWin32Test.java index a4a9605fb5b..043ddd3c748 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT Tests/win32/org/eclipse/swt/widgets/DisplayWin32Test.java +++ b/bundles/org.eclipse.swt/Eclipse SWT Tests/win32/org/eclipse/swt/widgets/DisplayWin32Test.java @@ -9,7 +9,7 @@ @ExtendWith(PlatformSpecificExecutionExtension.class) @ExtendWith(ResetMonitorSpecificScalingExtension.class) -public class DisplayWin32Test { +class DisplayWin32Test { @Test public void monitorSpecificScaling_activate() {