Changeset 11777 in josm for trunk/test/functional


Ignore:
Timestamp:
2017-03-25T22:09:41+01:00 (7 years ago)
Author:
michael2402
Message:

See #14495 - move style source reset to JOSM test rules.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/functional/org/openstreetmap/josm/gui/mappaint/StyleCacheTest.java

    r11776 r11777  
    5353    @Rule
    5454    @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD")
    55     public JOSMTestRules test = new JOSMTestRules().preferences().platform().projection();
     55    public JOSMTestRules test = new JOSMTestRules().preferences().platform().projection().mapStyles();
    5656
    5757    /**
    5858     * Load the test data that is required.
    59      * @throws Exception
     59     * @throws Exception It an error occurred during load.
    6060     */
    6161    @BeforeClass
     
    9696        nc = new MapView(Main.getLayerManager(), null);
    9797        nc.setBounds(0, 0, IMG_WIDTH, IMG_HEIGHT);
    98         MapPaintStyles.readFromPreferences();
    9998    }
    10099
Note: See TracChangeset for help on using the changeset viewer.