Changeset 10121 in josm for trunk/test


Ignore:
Timestamp:
2016-04-08T19:52:27+02:00 (4 years ago)
Author:
Don-vip
Message:

add more debug messages + assertions to debug failing unit test

File:
1 edited

Legend:

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

    r10093 r10121  
    3939        try {
    4040            System.setProperty("josm.plugins", "buildings_tools,plastic_laf");
     41            assertEquals("buildings_tools,plastic_laf", System.getProperty("josm.plugins"));
    4142            SplashProgressMonitor monitor = new SplashProgressMonitor("foo", new ChangeListener() {
    4243                @Override
     
    4647            });
    4748            Collection<PluginInformation> plugins = MainApplication.updateAndLoadEarlyPlugins(null, monitor);
     49            assertEquals("buildings_tools,plastic_laf", System.getProperty("josm.plugins"));
    4850            assertEquals(2, plugins.size());
    4951            assertNotNull(PluginHandler.getPlugin("plastic_laf"));
Note: See TracChangeset for help on using the changeset viewer.