mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2026-02-11 06:27:13 -06:00
fixed unit tests, which fail now on GitHub Actions, but did work a few days ago...
This commit is contained in:
@@ -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 ) );
|
||||
|
||||
Reference in New Issue
Block a user