Testsuite: org.openstreetmap.josm.gui.preferences.plugin.PluginPreferenceTest
Tests run: 4, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 7.232 sec
------------- Standard Output ---------------
2020-06-12 10:06:08.829 INFO: org.openstreetmap.josm.testutils.mockers.HelpAwareOptionPaneMocker answering 0 to HelpAwareOptionPane with message <html></html>
------------- ---------------- ---------------
------------- Standard Error -----------------
2020-06-12 10:06:09.955 WARNING: Failed to handle zip file 'buildings_tools.jar'. Exception was: java.nio.file.NoSuchFileException: /var/folders/1y/hwgwq23x3jbb7cyj0j998yrh0000gp/T/junit11523497270390534457/junit13494149989330208709/plugins/buildings_tools.jar: java.nio.file.NoSuchFileException: /var/folders/1y/hwgwq23x3jbb7cyj0j998yrh0000gp/T/junit11523497270390534457/junit13494149989330208709/plugins/buildings_tools.jar
2020-06-12 10:06:09.957 SEVERE: Failed to locate image 'images/mapmode/building.png'
------------- ---------------- ---------------

Testcase: testBuildDownloadSummary took 0.476 sec
	FAILED
expected:<The following plug[in has been downloaded <strong>successfully</strong>:<ul><li>dummy_plugin (31772)</li></ul>Downloading the following plug]in has <strong>faile...> but was:<The following plug[-in has been downloaded <strong>successfully</strong>:<ul><li>dummy_plugin (31772)</li></ul>Downloading the following plug-]in has <strong>faile...>
junit.framework.AssertionFailedError: expected:<The following plug[in has been downloaded <strong>successfully</strong>:<ul><li>dummy_plugin (31772)</li></ul>Downloading the following plug]in has <strong>faile...> but was:<The following plug[-in has been downloaded <strong>successfully</strong>:<ul><li>dummy_plugin (31772)</li></ul>Downloading the following plug-]in has <strong>faile...>
	at org.openstreetmap.josm.gui.preferences.plugin.PluginPreferenceTest.testBuildDownloadSummary(PluginPreferenceTest.java:65)
	at org.openstreetmap.josm.testutils.JOSMTestRules$TimeoutThread.run(JOSMTestRules.java:731)

Testcase: testNotifyDownloadResults took 0.64 sec
	FAILED
Unexpected HelpAwareOptionPane message string: <html>Please restart JOSM to activate the downloaded plug-ins.</html>
junit.framework.AssertionFailedError: Unexpected HelpAwareOptionPane message string: <html>Please restart JOSM to activate the downloaded plug-ins.</html>
	at org.openstreetmap.josm.testutils.mockers.HelpAwareOptionPaneMocker.getMockResultForMessage(HelpAwareOptionPaneMocker.java:75)
	at org.openstreetmap.josm.testutils.mockers.HelpAwareOptionPaneMocker.showOptionDialog(HelpAwareOptionPaneMocker.java:147)
	at org.openstreetmap.josm.gui.preferences.plugin.PluginPreference.lambda$notifyDownloadResults$0(PluginPreference.java:158)
	at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
	at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)

Testcase: testPluginPreference took 0.484 sec
Testcase: testAddGui took 0.604 sec
