|
|
|
@ -40,6 +40,7 @@ import javax.swing.JRootPane;
|
|
|
|
|
import javax.swing.SwingUtilities; |
|
|
|
|
import javax.swing.UIManager; |
|
|
|
|
|
|
|
|
|
import org.junit.jupiter.api.AfterAll; |
|
|
|
|
import org.junit.jupiter.api.Assertions; |
|
|
|
|
import org.junit.jupiter.api.BeforeAll; |
|
|
|
|
import org.junit.jupiter.api.BeforeEach; |
|
|
|
@ -75,6 +76,11 @@ class CustomTitleBarTest extends AbstractImageTest implements NonThreadSafeTest
|
|
|
|
|
})); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@AfterAll |
|
|
|
|
static void tearDown() { |
|
|
|
|
TestUtils.runOnSwingThreadNotThrowing(() -> LafManager.getUserInitTasks().clear()); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@BeforeEach |
|
|
|
|
void beforeEach() { |
|
|
|
|
LafManager.setDecorationsEnabled(true); |
|
|
|
|