Changeset 14179 in josm
- Timestamp:
- 2018-08-22T22:55:16+02:00 (7 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/appveyor.yml
r14168 r14179 15 15 $wc.UploadFile("https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path $_)) 16 16 } 17 # we want to push test result artifact even if the tests fail, so uploading manually 18 - 7z a test-results.zip test\report\TEST*.xml 19 - ps: Push-AppveyorArtifact test-results.zip 17 20 artifacts: 18 21 - path: dist\josm-custom.* … … 20 23 - path: pmd-josm.xml 21 24 - path: spotbugs-josm.xml 22 - path: test\report23 type: zip24 25 - path: hs_err_pid*.log -
trunk/test/unit/org/openstreetmap/josm/testutils/PluginServer.java
r14153 r14179 26 26 import com.github.tomakehurst.wiremock.junit.WireMockRule; 27 27 import com.google.common.collect.ImmutableList; 28 import com.google.common.collect.Streams; 28 29 29 30 public class PluginServer { … … 118 119 119 120 if (jarPath.startsWith(filesRootPath)) { 120 return filesRootPath.relativize(jarPath).toString(); 121 // would just use .toString() but need to force use of *forward slash* path separators on all platforms 122 return Streams.stream(filesRootPath.relativize(jarPath)).map(p -> p.toString()).collect(Collectors.joining("/")); 121 123 } 122 124 }
Note:
See TracChangeset
for help on using the changeset viewer.