Changeset 8836 in josm for trunk/test
- Timestamp:
- 2015-10-08T00:22:36+02:00 (9 years ago)
- Location:
- trunk/test
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/performance/org/openstreetmap/josm/gui/mappaint/mapcss/MapCSSStyleSourceFilterTest.java
r8623 r8836 27 27 * @param generator A generator to get the keys from. 28 28 */ 29 publicCssGenerator(KeyValueDataGenerator generator) {29 CssGenerator(KeyValueDataGenerator generator) { 30 30 this.generator = generator; 31 31 } -
trunk/test/unit/org/openstreetmap/josm/actions/mapmode/SelectActionTest.java
r8624 r8836 125 125 126 126 class SelectActionMock extends SelectAction { 127 publicSelectActionMock(MapFrame mapFrame, DataSet dataSet, OsmDataLayer layer) {127 SelectActionMock(MapFrame mapFrame, DataSet dataSet, OsmDataLayer layer) { 128 128 super(mapFrame); 129 129 try { -
trunk/test/unit/org/openstreetmap/josm/data/cache/JCSCachedTileLoaderJobTest.java
r8624 r8836 17 17 private String url; 18 18 19 publicTestCachedTileLoaderJob(String url) throws IOException {19 TestCachedTileLoaderJob(String url) throws IOException { 20 20 super(getCache(), 30000, 30000, null); 21 21 this.url = url; -
trunk/test/unit/org/openstreetmap/josm/data/imagery/WMTSTileSourceTest.java
r8752 r8836 229 229 LatLon expected = new LatLon(verifier.tileXYToLatLon(x, y, z + zoomOffset)); 230 230 //System.out.println(z + "/" + x + "/" + y + " - result: " + result.toDisplayString() + " osmMercator: " + expected.toDisplayString()); 231 assertEquals("Longitude" 231 assertEquals("Longitude", expected.lon(), result.lon(), 1e-04); 232 232 assertEquals("Latitude", expected.lat(), result.lat(), 1e-04); 233 233 } -
trunk/test/unit/org/openstreetmap/josm/data/projection/SwissGridTest.java
r8540 r8836 47 47 public EastNorth en; 48 48 49 publicProjData(String name, double lon, double lat, double h1, double x, double y, double h2) {49 ProjData(String name, double lon, double lat, double h1, double x, double y, double h2) { 50 50 this.name = name; 51 51 ll = new LatLon(lat, lon); -
trunk/test/unit/org/openstreetmap/josm/gui/dialogs/relation/sort/WayConnectionTypeCalculatorTest.java
r8510 r8836 92 92 Relation relation = getRelation("associatedStreet"); 93 93 String actual = getConnections(wayConnectionTypeCalculator.updateLinks(relation.getMembers())); 94 Assert.assertEquals("[NONE, I, I, I, NONE, I]" 94 Assert.assertEquals("[NONE, I, I, I, NONE, I]", actual); 95 95 actual = getConnections(wayConnectionTypeCalculator.updateLinks(sorter.sortMembers(relation.getMembers()))); 96 96 Assert.assertEquals("[FORWARD, FORWARD, I, I, I, I]", actual); … … 106 106 Assert.assertEquals("[BACKWARD, BACKWARD, BACKWARD, FPH FORWARD, FPH FORWARD, FPH FORWARD, FPH FORWARD]", actual); 107 107 } 108 109 110 108 } -
trunk/test/unit/org/openstreetmap/josm/gui/preferences/ToolbarPreferencesTest.java
r8510 r8836 23 23 private static class TestAction extends AbstractAction implements ParameterizedAction { 24 24 25 publicTestAction() {25 TestAction() { 26 26 putValue("toolbar", "action"); 27 27 } -
trunk/test/unit/org/openstreetmap/josm/io/session/SessionWriterTest.java
r8803 r8836 33 33 34 34 private static class OsmHeadlessJosExporter extends OsmDataSessionExporter { 35 publicOsmHeadlessJosExporter(OsmDataLayer layer) {35 OsmHeadlessJosExporter(OsmDataLayer layer) { 36 36 super(layer); 37 37 } … … 44 44 45 45 private static class OsmHeadlessJozExporter extends OsmDataSessionExporter { 46 publicOsmHeadlessJozExporter(OsmDataLayer layer) {46 OsmHeadlessJozExporter(OsmDataLayer layer) { 47 47 super(layer); 48 48 } … … 55 55 56 56 private static class GpxHeadlessJosExporter extends GpxTracksSessionExporter { 57 publicGpxHeadlessJosExporter(GpxLayer layer) {57 GpxHeadlessJosExporter(GpxLayer layer) { 58 58 super(layer); 59 59 } … … 66 66 67 67 private static class GpxHeadlessJozExporter extends GpxTracksSessionExporter { 68 publicGpxHeadlessJozExporter(GpxLayer layer) {68 GpxHeadlessJozExporter(GpxLayer layer) { 69 69 super(layer); 70 70 } -
trunk/test/unit/org/openstreetmap/josm/tools/OsmUrlToBoundsTest.java
r8513 r8836 55 55 public Bounds bounds; 56 56 57 publicParseTestItem(String url, Bounds bounds) {57 ParseTestItem(String url, Bounds bounds) { 58 58 this.url = url; 59 59 this.bounds = bounds; … … 79 79 } 80 80 } 81 82 81 }
Note:
See TracChangeset
for help on using the changeset viewer.