Changeset 151 in josm for test/org


Ignore:
Timestamp:
2006-10-07T00:14:05+02:00 (18 years ago)
Author:
imi
Message:
  • changed move action to move the object under cursor, not the selected one
  • fixed plugins under linux/mac
File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/org/openstreetmap/josm/plugins/PluginLoaderTest.java

    r149 r151  
    22
    33import java.io.File;
    4 import java.lang.reflect.Field;
    54
    65import junit.framework.TestCase;
     
    2423                PluginProxy plugin = loader.loadPlugin(getClass().getName()+"$TestPlugin", new File("foo.jar"));
    2524                assertTrue(plugin.plugin instanceof TestPlugin);
    26                 Field nameField = Plugin.class.getDeclaredField("name");
    27                 nameField.setAccessible(true);
    28                 assertEquals("foo", nameField.get(plugin.plugin));
    2925        }
    3026       
Note: See TracChangeset for help on using the changeset viewer.