Changeset 8530 in josm for trunk/test


Ignore:
Timestamp:
2015-06-25T00:05:23+02:00 (4 years ago)
Author:
Don-vip
Message:

see #11255 - checkstyle/findbugs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/data/imagery/TemplatedWMSTileSourceTest.java

    r8526 r8530  
    7777    }
    7878
    79 
    8079    private void verifyMercatorTile(TemplatedWMSTileSource source, int x, int y, int z) {
    8180        TemplatedTMSTileSource verifier = new TemplatedTMSTileSource(testImageryTMS);
     
    9796                    getTileLatLon(source, tileIndex.getXIndex() + 1, tileIndex.getYIndex() + 1, z)
    9897                    );
    99             assertTrue(location.toDisplayString() + " not within " + bbox.toString() + " for tile " + z + "/" + tileIndex.getXIndex() + "/" + tileIndex.getYIndex(),
     98            assertTrue(location.toDisplayString() + " not within " + bbox.toString() +
     99                    " for tile " + z + "/" + tileIndex.getXIndex() + "/" + tileIndex.getYIndex(),
    100100                    bbox.bounds(location));
    101101        }
     
    109109        return new LatLon(source.tileXYToLatLon(new Tile(source, x, y, z)));
    110110    }
     111
    111112    private void verifyTileSquarness(TemplatedWMSTileSource source, int x, int y, int z) {
    112113        Projection proj = Main.getProjection();
     
    116117        double x_size = Math.abs(min.getX() - max.getX());
    117118        assertEquals(x_size, y_size, 1e-05);
    118 
    119119    }
    120 
    121 
    122120
    123121    private TemplatedWMSTileSource getSource() {
Note: See TracChangeset for help on using the changeset viewer.