Changeset 16635 in josm


Ignore:
Timestamp:
2020-06-14T17:17:16+02:00 (4 weeks ago)
Author:
simon04
Message:

TemplatedWMSTileSourceTest: fix typo

File:
1 edited

Legend:

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

    r14403 r16635  
    5252            for (int y = 0; y < 4; y++) {
    5353                verifyMercatorTile(source, x, y, 3);
    54                 verifyTileSquarness(source, x, y, 3);
     54                verifyTileSquareness(source, x, y, 3);
    5555            }
    5656        }
    57         verifyTileSquarness(source, 150, 20, 18);
    58         verifyTileSquarness(source, 2270, 1323, 12);
     57        verifyTileSquareness(source, 150, 20, 18);
     58        verifyTileSquareness(source, 2270, 1323, 12);
    5959        verifyLocation(source, new LatLon(53.5937132, 19.5652017));
    6060        verifyLocation(source, new LatLon(53.501565692302854, 18.54455233898721));
     
    7272        verifyLocation(source, new LatLon(53.5937132, 19.5652017));
    7373        verifyLocation(source, new LatLon(53.501565692302854, 18.54455233898721));
    74         verifyTileSquarness(source, 2, 2, 2);
    75         verifyTileSquarness(source, 150, 20, 18);
    76         verifyTileSquarness(source, 2270, 1323, 12);
     74        verifyTileSquareness(source, 2, 2, 2);
     75        verifyTileSquareness(source, 150, 20, 18);
     76        verifyTileSquareness(source, 2270, 1323, 12);
    7777    }
    7878
     
    115115        verifyLocation(source, new LatLon(53.501565692302854, 18.54455233898721));
    116116
    117         verifyTileSquarness(source, 2, 2, 2);
    118         verifyTileSquarness(source, 150, 20, 18);
    119         verifyTileSquarness(source, 2270, 1323, 12);
     117        verifyTileSquareness(source, 2, 2, 2);
     118        verifyTileSquareness(source, 150, 20, 18);
     119        verifyTileSquareness(source, 2270, 1323, 12);
    120120    }
    121121
     
    131131        TemplatedWMSTileSource source = getSource(projection);
    132132
    133         verifyTileSquarness(source, 0, 1, 4);
     133        verifyTileSquareness(source, 0, 1, 4);
    134134        verifyLocation(source, new LatLon(60, 18.1), 3);
    135135        verifyLocation(source, new LatLon(60, 18.1));
     
    147147        TemplatedWMSTileSource source = getSource(projection);
    148148
    149         verifyTileSquarness(source, 0, 1, 4);
     149        verifyTileSquareness(source, 0, 1, 4);
    150150        verifyLocation(source, new LatLon(60, 18.1), 3);
    151151        verifyLocation(source, new LatLon(60, 18.1));
     
    238238                " for tile " + z + "/" + tileIndex.getXIndex() + "/" + tileIndex.getYIndex(),
    239239                isWithin(locationEN, x1, x2));
    240         verifyTileSquarness(source, tileIndex.getXIndex(), tileIndex.getYIndex(), z);
     240        verifyTileSquareness(source, tileIndex.getXIndex(), tileIndex.getYIndex(), z);
    241241    }
    242242
     
    260260    }
    261261
    262     private void verifyTileSquarness(TemplatedWMSTileSource source, int x, int y, int z) {
     262    private void verifyTileSquareness(TemplatedWMSTileSource source, int x, int y, int z) {
    263263        /**
    264264         * t1 | t2
Note: See TracChangeset for help on using the changeset viewer.