TestFlatComponentSizes: shortened combobox text because unit tests on GitHub Actions use font size 15

This commit is contained in:
Karl Tauber
2021-07-05 20:06:07 +02:00
parent a22c6c8013
commit c708205593

View File

@@ -114,7 +114,7 @@ public class TestFlatComponentSizes
void comboBox( float factor ) {
TestUtils.scaleFont( factor );
String[] items = { "text" };
String[] items = { "t" };
JComboBox<String> comboBox = new JComboBox<>( items );
JComboBox<String> comboBox2 = new JComboBox<>( items );
JComboBox<String> comboBox3 = new JComboBox<>( items );
@@ -145,7 +145,7 @@ public class TestFlatComponentSizes
void comboBoxEditable( float factor ) {
TestUtils.scaleFont( factor );
String[] items = { "text" };
String[] items = { "t" };
JComboBox<String> comboBox = new JComboBox<>( items );
JComboBox<String> comboBox2 = new JComboBox<>( items );
JComboBox<String> comboBox3 = new JComboBox<>( items );