Changeset 9621 in josm for trunk/test/unit/org/openstreetmap
- Timestamp:
- 2016-01-25T00:36:01+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/gui/preferences/plugin/PluginPreferenceTest.java
r9611 r9621 53 53 new PluginDownloadTask(NullProgressMonitor.INSTANCE, Arrays.asList(dummy), ""))); 54 54 assertEquals("The following plugin has been downloaded <strong>successfully</strong>:<ul><li>dummy_plugin (31772)</li></ul>"+ 55 "Downloading the following plugin has <strong>failed</strong>:<ul><li>dummy_plugin</li></ul>", 55 "Downloading the following plugin has <strong>failed</strong>:<ul><li>dummy_plugin</li></ul>"+ 56 "<br>Error message(untranslated): test", 56 57 PluginPreference.buildDownloadSummary( 57 58 new PluginDownloadTask(NullProgressMonitor.INSTANCE, Arrays.asList(dummy), "") { … … 64 65 public Collection<PluginInformation> getDownloadedPlugins() { 65 66 return Collections.singleton(dummy); 67 } 68 69 @Override 70 public Exception getLastException() { 71 return new Exception("test"); 66 72 } 67 73 }));
Note:
See TracChangeset
for help on using the changeset viewer.