Browse Source

Skip icon test in headless mode.

pull/188/head
weisj 4 years ago
parent
commit
6c968b494b
  1. 1
      property-loader/src/test/java/com/github/weisj/darklaf/icons/IconUtilTest.java

1
property-loader/src/test/java/com/github/weisj/darklaf/icons/IconUtilTest.java

@ -36,6 +36,7 @@ public class IconUtilTest {
@Test
public void testWeakFrameCache() {
if (GraphicsEnvironment.isHeadless()) return;
Object obj = new Object();
WeakReference<Object> ref = new WeakReference<>(obj);
int count = 100;

Loading…
Cancel
Save