Ignore:
Timestamp:
2021-04-07T20:43:26+02:00 (4 years ago)
Author:
simon04
Message:

see #19126 - Extract WindowGeometry.PREF_KEY_GUI_GEOMETRY

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/gui/util/WindowGeometryTest.java

    r17275 r17704  
    5555        assertEquals(new WindowGeometry(new Point(300, 250), dim), WindowGeometry.centerOnScreen(dim, null));
    5656
    57         Config.getPref().put("gui.geometry", "x=0,y=0,width=800,height=600");
     57        Config.getPref().put(WindowGeometry.PREF_KEY_GUI_GEOMETRY, "x=0,y=0,width=800,height=600");
    5858        assertEquals(new WindowGeometry(new Point(300, 250), dim), WindowGeometry.centerOnScreen(dim));
    5959    }
Note: See TracChangeset for help on using the changeset viewer.