fixed unit tests, which fail now on GitHub Actions, but did work a few days ago...

This commit is contained in:
Karl Tauber
2021-11-03 15:21:52 +01:00
parent 5f6013edd4
commit 4dae082cd5

View File

@@ -23,8 +23,6 @@ import java.awt.Font;
import java.awt.Insets;
import javax.swing.UIManager;
import javax.swing.UIDefaults.ActiveValue;
import org.junit.jupiter.api.AfterAll;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Test;
/**
@@ -32,16 +30,6 @@ import org.junit.jupiter.api.Test;
*/
public class TestUIDefaultsLoader
{
@BeforeAll
static void setup() {
System.setProperty( FlatSystemProperties.UI_SCALE_ENABLED, "false" );
}
@AfterAll
static void cleanup() {
System.clearProperty( FlatSystemProperties.UI_SCALE_ENABLED );
}
@Test
void parseValue() {
assertEquals( null, UIDefaultsLoader.parseValue( "dummy", "null", null ) );