- Timestamp:
- 2006-10-07T18:14:07+02:00 (17 years ago)
- Location:
- test/org/openstreetmap/josm/plugins
- Files:
-
- 1 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
test/org/openstreetmap/josm/plugins/PluginExceptionTest.java
r149 r153 7 7 public void testConstructorPassesExceptionParameterAndSetPluginName() { 8 8 RuntimeException barEx = new RuntimeException("bar"); 9 PluginException e = new PluginException(new PluginProxy(new String(), "42"), "42", barEx);9 PluginException e = new PluginException(new PluginProxy(new String(), null), "42", barEx); 10 10 assertEquals(barEx, e.getCause()); 11 11 assertEquals("42", e.getName()); … … 13 13 14 14 public void testMessageContainsThePluginName() { 15 PluginException e = new PluginException(new PluginProxy(new String(), "42"), "42", new RuntimeException());15 PluginException e = new PluginException(new PluginProxy(new String(), null), "42", new RuntimeException()); 16 16 assertTrue(e.getMessage().contains("42")); 17 17 }
Note: See TracChangeset
for help on using the changeset viewer.