Changeset 17571 in josm for trunk/test/unit/org/openstreetmap
- Timestamp:
- 2021-03-16T21:56:57+01:00 (4 years ago)
- Location:
- trunk/test/unit/org/openstreetmap/josm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/gui/MainApplicationTest.java
r17275 r17571 22 22 import java.util.concurrent.ExecutionException; 23 23 import java.util.concurrent.Future; 24 import java.util.jar.Attributes; 24 25 25 26 import javax.swing.JComponent; … … 205 206 private static PluginInformation newPluginInformation(String plugin) throws PluginListParseException { 206 207 return PluginListParser.createInfo(plugin+".jar", "https://josm.openstreetmap.de/osmsvn/applications/editors/josm/dist/"+plugin+".jar", 207 "");208 new Attributes()); 208 209 } 209 210 -
trunk/test/unit/org/openstreetmap/josm/plugins/PluginHandlerTest.java
r17275 r17571 154 154 void testPluginInformationAction() throws PluginException { 155 155 TestUtils.assumeWorkingJMockit(); 156 final String expectedText = " Ant-Version:Apache Ant 1.9.6\n" +157 "Author: Don-vip\n" +158 "Created-By: 1.7.0_91-b02 (Oracle Corporation)\n" + 159 "Manifest-Version:1.0\n" +160 "Plugin- Canloadatruntime: true\n" +161 "Plugin-Class: org.openstreetmap.josm.plugins.fr.epci.EpciPlugin\n" + 162 "Plugin-D ate: 2015-11-19T08:21:07.645033Z\n" +163 "Plugin-D escription: Handling of French EPCIs (boundary=local_authority)\n" +164 "Plugin-Early: true\n" +165 "Plugin-Link: http://wiki.openstreetmap.org/wiki/FR:JOSM/Fr:Plugin/EPCI-fr\n" + 166 "Plugin- Mainversion: 7001\n" +167 "Plugin- Version: 31772\n";156 final String expectedText = "Manifest-Version: 1.0\n" + 157 "Ant-Version: Apache Ant 1.9.6\n" + 158 "Created-By: 1.7.0_91-b02 (Oracle Corporation)\n" + 159 "Plugin-Mainversion: 7001\n" + 160 "Plugin-Version: 31772\n" + 161 "Plugin-Class: org.openstreetmap.josm.plugins.fr.epci.EpciPlugin\n" + 162 "Plugin-Description: Handling of French EPCIs (boundary=local_authority)\n" + 163 "Plugin-Date: 2015-11-19T08:21:07.645033Z\n" + 164 "Author: Don-vip\n" + 165 "Plugin-Link: http://wiki.openstreetmap.org/wiki/FR:JOSM/Fr:Plugin/EPCI-fr\n" + 166 "Plugin-Early: true\n" + 167 "Plugin-Canloadatruntime: true\n"; 168 168 final JOptionPaneSimpleMocker jopsMocker = new JOptionPaneSimpleMocker() { 169 169 @Override
Note:
See TracChangeset
for help on using the changeset viewer.