Changeset 17965 in josm for trunk/test
- Timestamp:
- 2021-07-08T22:44:37+02:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/data/imagery/vectortile/mapbox/style/MapboxVectorStyleTest.java
r17961 r17965 69 69 70 70 /** The base information */ 71 private static final String BASE_STYLE = "'{'\"version\":8,\"name\":\"test 71 private static final String BASE_STYLE = "'{'\"version\":8,\"name\":\"test_style\",\"owner\":\"josm test\",\"id\":\"{0}\",{1}'}'"; 72 72 /** Source 1 */ 73 73 private static final String SOURCE1 = "\"source1\":{\"type\":\"vector\",\"tiles\":[\"https://example.org/{z}/{x}/{y}.mvt\"]}"; … … 177 177 int finalY = y; 178 178 BufferedImage image = (BufferedImage) assertDoesNotThrow( 179 () -> ImageProvider.get(new File("test 179 () -> ImageProvider.get(new File("test_style", MessageFormat.format("({0},{1})", finalX, finalY)).getPath())) 180 180 .getImage(); 181 181 assertEquals(3 * hiDpiScalar, image.getWidth(null));
Note:
See TracChangeset
for help on using the changeset viewer.