Skip to content

Commit 5e0f389

Browse files
committed
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.
1 parent 94ccbaa commit 5e0f389

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bundles/org.eclipse.swt/Eclipse SWT Tests/win32/org/eclipse/swt/widgets/CoordinateSystemMapperTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
import org.junit.jupiter.params.provider.*;
2727

2828
@TestInstance(TestInstance.Lifecycle.PER_CLASS)
29-
public class CoordinateSystemMapperTests {
29+
class CoordinateSystemMapperTests {
3030

3131
Supplier<Monitor[]> getMonitorConsumer;
3232
Monitor[] monitors;

bundles/org.eclipse.swt/Eclipse SWT Tests/win32/org/eclipse/swt/widgets/DisplayWin32Test.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
@ExtendWith(PlatformSpecificExecutionExtension.class)
1111
@ExtendWith(ResetMonitorSpecificScalingExtension.class)
12-
public class DisplayWin32Test {
12+
class DisplayWin32Test {
1313

1414
@Test
1515
public void monitorSpecificScaling_activate() {

0 commit comments

Comments
 (0)