GP-0 fixed tests related to GP-2995

This commit is contained in:
ghidragon 2023-01-17 12:59:21 -05:00
parent df0274a4d7
commit 942d60eeac

View file

@ -81,7 +81,7 @@ public class ThemeUtilsTest extends AbstractDockingTest {
@Test
public void testImportThemeWithCurrentChangesCancelled() throws IOException {
assertEquals("Nimbus Theme", themeManager.getActiveTheme().getName());
themeManager.setColor("Panel.background", testColor);
themeManager.setColor("laf.color.Panel.background", testColor);
assertTrue(themeManager.hasThemeChanges());
File themeFile = createThemeFile("Bob");
@ -99,7 +99,7 @@ public class ThemeUtilsTest extends AbstractDockingTest {
assertEquals("Nimbus Theme", themeManager.getActiveTheme().getName());
// make a change in the current theme, so you get asked to save
themeManager.setColor("Panel.background", testColor);
themeManager.setColor("laf.color.Panel.background", testColor);
assertTrue(themeManager.hasThemeChanges());
File themeFile = createThemeFile("Bob");
@ -122,7 +122,7 @@ public class ThemeUtilsTest extends AbstractDockingTest {
assertEquals("Nimbus Theme", themeManager.getActiveTheme().getName());
// make a change in the current theme, so you get asked to save
themeManager.setColor("Panel.background", testColor);
themeManager.setColor("laf.color.Panel.background", testColor);
assertTrue(themeManager.hasThemeChanges());
File bobThemeFile = createThemeFile("Bob");