Changeset 10892 in josm for trunk/test


Ignore:
Timestamp:
2016-08-24T23:07:37+02:00 (3 years ago)
Author:
Don-vip
Message:

fix #13443 - Fix JosmUserIdentityManagerTest (patch by michael2402) - gsoc-core

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/gui/JosmUserIdentityManagerTest.groovy

    r9942 r10892  
    2828        assert im != null
    2929
    30         // registered as listener ?
    31         assert Main.pref.@listeners.contains(im)
    32 
    3330        JosmUserIdentityManager im2 = JosmUserIdentityManager.getInstance()
    3431
     
    245242        JosmUserIdentityManager im = JosmUserIdentityManager.getInstance()
    246243
    247         // make sure im is a preference change listener
    248         Main.pref.addPreferenceChangeListener im
    249 
    250244        // reset it
    251245        im.@userName = null
     
    290284        JosmUserIdentityManager im = JosmUserIdentityManager.getInstance()
    291285
    292         // make sure im is a preference change listener
    293         Main.pref.addPreferenceChangeListener im
    294 
    295286        // reset it
    296287        im.@userName = null
Note: See TracChangeset for help on using the changeset viewer.