Changeset 13300 in josm for trunk/test/unit/org/openstreetmap/josm/actions
- Timestamp:
- 2018-01-08T02:45:59+01:00 (6 years ago)
- Location:
- trunk/test/unit/org/openstreetmap/josm/actions/downloadtasks
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/actions/downloadtasks/AbstractDownloadTaskTestParent.java
r12558 r13300 40 40 41 41 /** 42 * Returns the {@code Content-Type} with which to serve the file referenced 43 * by {@link #getRemoteFile()} 44 * @return the {@code Content-Type} string for file {@link #getRemoteFile()} 45 */ 46 protected String getRemoteContentType() { 47 return "text/xml"; 48 } 49 50 /** 42 51 * Returns the http URL to remote test file to download. 43 52 * @return the http URL to remote test file to download … … 54 63 .willReturn(aResponse() 55 64 .withStatus(200) 56 .withHeader("Content-Type", "text/xml")65 .withHeader("Content-Type", getRemoteContentType()) 57 66 .withBodyFile(getRemoteFile()))); 58 67 }
Note:
See TracChangeset
for help on using the changeset viewer.