mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2026-02-13 07:17: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 java.awt.Insets;
|
||||||
import javax.swing.UIManager;
|
import javax.swing.UIManager;
|
||||||
import javax.swing.UIDefaults.ActiveValue;
|
import javax.swing.UIDefaults.ActiveValue;
|
||||||
import org.junit.jupiter.api.AfterAll;
|
|
||||||
import org.junit.jupiter.api.BeforeAll;
|
|
||||||
import org.junit.jupiter.api.Test;
|
import org.junit.jupiter.api.Test;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -32,16 +30,6 @@ import org.junit.jupiter.api.Test;
|
|||||||
*/
|
*/
|
||||||
public class TestUIDefaultsLoader
|
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
|
@Test
|
||||||
void parseValue() {
|
void parseValue() {
|
||||||
assertEquals( null, UIDefaultsLoader.parseValue( "dummy", "null", null ) );
|
assertEquals( null, UIDefaultsLoader.parseValue( "dummy", "null", null ) );
|
||||||
|
|||||||
Reference in New Issue
Block a user